diff options
-rw-r--r-- | ecore/src/lib/ecore_x/ecore_x_screensaver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ecore/src/lib/ecore_x/ecore_x_screensaver.c b/ecore/src/lib/ecore_x/ecore_x_screensaver.c index 9a44d54..23f19a4 100644 --- a/ecore/src/lib/ecore_x/ecore_x_screensaver.c +++ b/ecore/src/lib/ecore_x/ecore_x_screensaver.c @@ -65,6 +65,7 @@ ecore_x_screensaver_add (void) XEvent event; Ecore_X_Window root; XScreenSaverNotifyEvent *se; + XSetWindowAttributes attributes; root = DefaultRootWindow (_ecore_x_disp); screen = DefaultScreen (_ecore_x_disp); @@ -74,7 +75,7 @@ ecore_x_screensaver_add (void) (_ecore_x_disp, root, ScreenSaverNotifyMask | ScreenSaverCycleMask)) return 1; - if (!ecore_x_screensaver_set_attributes ()) + if (!ecore_x_screensaver_set_attributes (attributes)) return 1; if (!XSetForeground (_ecore_x_disp, gc, WhitePixel (_ecore_x_disp, screen))) |