[bobmarley] Save x,y pointer coords on arrange()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
6ee23de391
commit
0b678413f3
3
layout.c
3
layout.c
|
@ -81,6 +81,9 @@ arrange(int screen)
|
||||||
&& (rootwin == None || childwin == None || childwin == rootwin))
|
&& (rootwin == None || childwin == None || childwin == rootwin))
|
||||||
window_root_grabbuttons(phys_screen);
|
window_root_grabbuttons(phys_screen);
|
||||||
|
|
||||||
|
globalconf.pointer_x = x;
|
||||||
|
globalconf.pointer_y = y;
|
||||||
|
|
||||||
/* reset status */
|
/* reset status */
|
||||||
globalconf.screens[screen].need_arrange = False;
|
globalconf.screens[screen].need_arrange = False;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue