Fix unitialized variable

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Arnaud Fontaine 2008-03-30 12:18:06 +02:00 committed by Julien Danjou
parent 0b678413f3
commit 6439ab0597
1 changed files with 7 additions and 5 deletions

View File

@ -77,12 +77,14 @@ arrange(int screen)
/* check that the mouse is on a window or not */
if(XQueryPointer(globalconf.display,
RootWindow(globalconf.display, phys_screen),
&rootwin, &childwin, &x, &y, &di, &di, &dui)
&& (rootwin == None || childwin == None || childwin == rootwin))
window_root_grabbuttons(phys_screen);
&rootwin, &childwin, &x, &y, &di, &di, &dui))
{
if(rootwin == None || childwin == None || childwin == rootwin)
window_root_grabbuttons(phys_screen);
globalconf.pointer_x = x;
globalconf.pointer_y = y;
globalconf.pointer_x = x;
globalconf.pointer_y = y;
}
/* reset status */
globalconf.screens[screen].need_arrange = False;