]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/gtkutil/cursor.h
Merge commit '0d5ebb17b29d4263ec4f1634af24a27620ab47a4' into garux-merge
[xonotic/netradiant.git] / libs / gtkutil / cursor.h
index 81767d2e591900fa4b258c3b0d473c363c5ca022..89c6f72b4703911b3a2d9cb1954cc5f02a0d8808 100644 (file)
@@ -110,7 +110,7 @@ class FreezePointer
 {
 unsigned int handle_motion;
 int recorded_x, recorded_y, last_x, last_y, center_x, center_y;
-ui::Widget weedjet{ui::null};
+ui::Widget m_weedjet{ui::null};
 typedef void ( *MotionDeltaFunction )( int x, int y, unsigned int state, void* data );
 MotionDeltaFunction m_function;
 void* m_data;
@@ -121,7 +121,7 @@ static gboolean motion_delta( ui::Window widget, GdkEventMotion *event, FreezePo
 
 void freeze_pointer( ui::Window window, ui::Widget widget, MotionDeltaFunction function, void* data );
 
-void unfreeze_pointer( ui::Window window );
+void unfreeze_pointer( ui::Window window, bool centerize );
 };
 
 #endif