diff options
author | lukefromdc <[email protected]> | 2023-07-11 21:28:01 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-07-17 02:47:28 +0200 |
commit | 08bb8398e0d218daaefdfe95c44940e370802508 (patch) | |
tree | 0c567b638dd31d831141a2ca4ef355a406883e08 /geyes/src/geyes.c | |
parent | f94afff3bd198dca2412a75053e122c55b4b48dd (diff) | |
download | mate-applets-08bb8398e0d218daaefdfe95c44940e370802508.tar.bz2 mate-applets-08bb8398e0d218daaefdfe95c44940e370802508.tar.xz |
Allow building all applets in or out of process
*Use --enable-in-process selector for in-process builds
*Accessx-status: mark as incompatable with wayland
*Accessx-status: Fix in-process runtime warning
*Stickynote, Geyes: style fixes
Diffstat (limited to 'geyes/src/geyes.c')
-rw-r--r-- | geyes/src/geyes.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/geyes/src/geyes.c b/geyes/src/geyes.c index 8bf793b3..a8337447 100644 --- a/geyes/src/geyes.c +++ b/geyes/src/geyes.c @@ -140,8 +140,10 @@ timer_cb (EyesApplet *eyes_applet) display = gtk_widget_get_display (GTK_WIDGET (eyes_applet->applet)); seat = gdk_display_get_default_seat (display); - for (i = 0; i < eyes_applet->num_eyes; i++) { - if (gtk_widget_get_realized (eyes_applet->eyes[i])) { + for (i = 0; i < eyes_applet->num_eyes; i++) + { + if (gtk_widget_get_realized (eyes_applet->eyes[i])) + { gdk_window_get_device_position (gtk_widget_get_window (eyes_applet->eyes[i]), gdk_seat_get_pointer (seat), &x, &y, NULL); |