X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmoveresize.c;h=6cab52262dcea9737332d42b88d523bf952a1336;hb=ff43372da760c84e92ca7a7e9648d09fcfba2cf0;hp=6a860c8e9a8d8c3ebf086586fa261ae4f5999ee1;hpb=4d50b21835d7dd00ecc40efd64c5573d7e048500;p=chaz%2Fopenbox diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 6a860c8e..6cab5226 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -73,7 +73,7 @@ void moveresize_shutdown(gboolean reconfig) popup = NULL; } -static void popup_coords(ObClient *c, gchar *format, gint a, gint b) +static void popup_coords(ObClient *c, const gchar *format, gint a, gint b) { gchar *text; @@ -164,14 +164,14 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr) else g_assert_not_reached(); - grab_pointer(TRUE, cur); + grab_pointer(TRUE, FALSE, cur); grab_keyboard(TRUE); } void moveresize_end(gboolean cancel) { grab_keyboard(FALSE); - grab_pointer(FALSE, OB_CURSOR_NONE); + grab_pointer(FALSE, FALSE, OB_CURSOR_NONE); popup_hide(popup);