This is an automated email from the git hooks/post-receive script. o c h o s i p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 2 in repository xfce/xfce4-settings.
commit 20f9fa26ee7cc2fe2922799b61f0ea7341fbce63 Author: Simon Steinbeiss <[email protected]> Date: Sun Feb 25 12:36:30 2018 +0100 Clean up the motion-notify-event code --- dialogs/accessibility-settings/find-cursor.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dialogs/accessibility-settings/find-cursor.c b/dialogs/accessibility-settings/find-cursor.c index af29968..cd6ef00 100644 --- a/dialogs/accessibility-settings/find-cursor.c +++ b/dialogs/accessibility-settings/find-cursor.c @@ -88,12 +88,7 @@ find_cursor_motion_notify_event (GtkWidget *widget, GdkEventMotion *event, gpointer userdata) { - GdkWindow *window = gtk_widget_get_window (widget); - gint x, y, root_x, root_y; - - gdk_window_get_pointer (window, &x, &y, NULL); - gtk_window_get_position (GTK_WINDOW (widget), &root_x, &root_y); - gtk_window_move (GTK_WINDOW (widget), root_x + x - (circle_size/2), root_y + y - (circle_size/2)); + gtk_window_move (GTK_WINDOW (widget), event->x_root - (circle_size/2), event->y_root - (circle_size/2)); return FALSE; } -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
