mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
event: Actually modify ev->x and ev->y for banned clients.
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
401b8ce3e9
commit
71bd32bcb1
1 changed files with 2 additions and 2 deletions
4
event.c
4
event.c
|
@ -295,8 +295,8 @@ event_handle_configurerequest(void *data __attribute__ ((unused)),
|
|||
{
|
||||
/* We'll be sending protocol geometry, so don't readd borders and titlebar. */
|
||||
/* We do have to ensure the windows don't end up in the visible screen. */
|
||||
geometry.x = - (geometry.width + 2*c->border);
|
||||
geometry.y = - (geometry.height + 2*c->border);
|
||||
ev->x = geometry.x = - (geometry.width + 2*c->border);
|
||||
ev->y = geometry.y = - (geometry.height + 2*c->border);
|
||||
window_configure(c->win, geometry, c->border);
|
||||
event_handle_configurerequest_configure_window(ev);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue