X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=libs%2Fgtkutil%2Fcursor.h;h=89c6f72b4703911b3a2d9cb1954cc5f02a0d8808;hp=81767d2e591900fa4b258c3b0d473c363c5ca022;hb=020d0244e4239b21dc804d630edff926386ea34f;hpb=70b21eafbe10c90172922d8a7af4f06b9a3b242d diff --git a/libs/gtkutil/cursor.h b/libs/gtkutil/cursor.h index 81767d2e..89c6f72b 100644 --- a/libs/gtkutil/cursor.h +++ b/libs/gtkutil/cursor.h @@ -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