summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpuppetmaster <puppetmaster>2005-07-28 22:53:54 +0000
committerpuppetmaster <puppetmaster>2005-07-28 22:53:54 +0000
commit9194499fdb7c7b863315aed858d2bdb7754f421b (patch)
tree9e9f801d4435b6399200a1457a7916aadfc933f7
parentfix for att (diff)
downloadelock-9194499fdb7c7b863315aed858d2bdb7754f421b.tar.xz
attr is now a parameter for ecore_x_xscreensaver_set_attribute
-rw-r--r--ecore/src/lib/ecore_x/ecore_x_screensaver.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/ecore/src/lib/ecore_x/ecore_x_screensaver.c b/ecore/src/lib/ecore_x/ecore_x_screensaver.c
index c3ad6ef..125b896 100644
--- a/ecore/src/lib/ecore_x/ecore_x_screensaver.c
+++ b/ecore/src/lib/ecore_x/ecore_x_screensaver.c
@@ -35,12 +35,11 @@ ecore_x_screensaver_free_alloc_info(XScreenSaverQueryInfo * info)
return;
}
-XSetWindowAttributes *
-ecore_x_screensaver_set_attributes()
+int
+ecore_x_screensaver_set_attributes (XSetWindowAttributes attr)
{
Ecore_X_Window root;
int screen;
- XSetWindowAttributes attr;
root = DefaultRootWindow(_ecore_x_disp);
@@ -52,9 +51,9 @@ ecore_x_screensaver_set_attributes()
0,
CopyFromParent,
CopyFromParent, CopyFromParent, mask, &attr))
- return NULL;
+ return 1;
else
- return attr;
+ return 0;
}
int