diff options
author | puppetmaster <puppetmaster> | 2005-07-29 12:25:05 +0000 |
---|---|---|
committer | puppetmaster <puppetmaster> | 2005-07-29 12:25:05 +0000 |
commit | 97cf1d859a51661c17892c29f6c71ee98076278a (patch) | |
tree | 95616236dc64d35b5563f2786cc76fae998e81d0 | |
parent | Added ecore_x_screensaver_add ... (diff) | |
download | elock-97cf1d859a51661c17892c29f6c71ee98076278a.tar.xz |
fix for ecore_x_screensaver_set_attributes usage
-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))) |