[Bf-blender-cvs] [bf699f26992] decoration: cleanup

Christian Rauch noreply at git.blender.org
Sun May 24 01:15:28 CEST 2020


Commit: bf699f26992eca68ef81185196f6a9ec90a6ae4e
Author: Christian Rauch
Date:   Thu May 21 00:26:06 2020 +0100
Branches: decoration
https://developer.blender.org/rBbf699f26992eca68ef81185196f6a9ec90a6ae4e

cleanup

===================================================================

M	intern/ghost/intern/GHOST_WindowWayland.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp
index b837093d740..cf56279a47a 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.cpp
+++ b/intern/ghost/intern/GHOST_WindowWayland.cpp
@@ -36,7 +36,6 @@ struct window_t {
   wl_surface *surface;
   struct libdecor_frame *frame;
   wl_egl_window *egl_window;
-  int32_t pending_width, pending_height;
   bool is_maximised;
   bool is_fullscreen;
   bool is_active;
@@ -179,7 +178,7 @@ frame_configure(struct libdecor_frame *frame,
 }
 
 static void
-frame_close(struct libdecor_frame *frame, void *data)
+frame_close(struct libdecor_frame */*frame*/, void *data)
 {
   static_cast<window_t *>(data)->w->close();
 }
@@ -197,7 +196,7 @@ static struct libdecor_frame_interface libdecor_frame_iface = {
 };
 
 static void
-handle_error(struct libdecor *context, enum libdecor_error error, const char *message)
+handle_error(struct libdecor */*context*/, enum libdecor_error error, const char *message)
 {
   GHOST_PRINT("decoration error ("<<  error <<"): " << message << std::endl);
   exit(EXIT_FAILURE);



More information about the Bf-blender-cvs mailing list