mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Fix unitialized variable
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0b678413f3
commit
6439ab0597
1 changed files with 7 additions and 5 deletions
12
layout.c
12
layout.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue