summaryrefslogtreecommitdiff
path: root/geyes/src/geyes.c
diff options
context:
space:
mode:
Diffstat (limited to 'geyes/src/geyes.c')
-rw-r--r--geyes/src/geyes.c6
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);