summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpuppetmaster <puppetmaster>2005-07-29 19:14:17 +0000
committerpuppetmaster <puppetmaster>2005-07-29 19:14:17 +0000
commitb26a25aee84f68cee7bb521cc278ff386cb78d24 (patch)
tree328b9e094dbde3f95f331da9aad969ed5c56c2f7
parentUpdate use Ecore types (diff)
downloadelock-b26a25aee84f68cee7bb521cc278ff386cb78d24.tar.gz
Using Xpending insted while (1)
-rw-r--r--ecore/src/lib/ecore_x/ecore_x_screensaver.c2
1 files changed, 1 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 f72c512..ed04f4d 100644
--- a/ecore/src/lib/ecore_x/ecore_x_screensaver.c
+++ b/ecore/src/lib/ecore_x/ecore_x_screensaver.c
@@ -80,7 +80,7 @@ ecore_x_screensaver_add(void)
if (!XSetForeground(_ecore_x_disp, gc, WhitePixel(_ecore_x_disp, screen)))
return 1;
- while (1)
+ while (Xpending(_ecore_x_disp))
{
if (!XNextEvent(_ecore_x_disp, &event))
return 1;