diff options
Diffstat (limited to 'greeter/greet.c')
-rw-r--r-- | greeter/greet.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/greeter/greet.c b/greeter/greet.c index 8728b65..fc97ca3 100644 --- a/greeter/greet.c +++ b/greeter/greet.c @@ -183,10 +183,8 @@ InitGreet (struct display *d) arglist, i); XtRealizeWidget (toplevel); - if ( - XineramaIsActive(dpy) && - (screens = XineramaQueryScreens(dpy, &s_num)) != NULL - ) + if (XineramaIsActive(dpy) && + (screens = XineramaQueryScreens(dpy, &s_num)) != NULL) { XWarpPointer(dpy, None, XRootWindowOfScreen (scrn), 0, 0, 0, 0, @@ -196,10 +194,10 @@ InitGreet (struct display *d) XFree(screens); } else - XWarpPointer(dpy, None, XRootWindowOfScreen (scrn), - 0, 0, 0, 0, - XWidthOfScreen(scrn) / 2, - XHeightOfScreen(scrn) / 2); + XWarpPointer(dpy, None, XRootWindowOfScreen (scrn), + 0, 0, 0, 0, + XWidthOfScreen(scrn) / 2, + XHeightOfScreen(scrn) / 2); return dpy; } |