From 71bd32bcb146daf173f6ddcb41675bc6cda12c60 Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Sat, 14 Feb 2009 20:41:53 +0100 Subject: [PATCH] event: Actually modify ev->x and ev->y for banned clients. Signed-off-by: Julien Danjou --- event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event.c b/event.c index 57886c1f7..f4bfd63a5 100644 --- a/event.c +++ b/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); }