From 5760e536f95b08b987807e7625fb4f5af4531f83 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 10 Oct 2015 16:03:16 +0200 Subject: [PATCH] Revert "Apply left/top titlebars in event_handle_configurerequest" This reverts commit ecddee44cb72c2211e188b97886f0a2ca6925ab5. The commit broke window gravities as can be reproduced with metacity's test-gravity.c. --- event.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/event.c b/event.c index 1246772d..28a9b6a0 100644 --- a/event.c +++ b/event.c @@ -317,14 +317,12 @@ event_handle_configurerequest(xcb_configure_request_event_t *ev) { geometry.x = ev->x; /* The ConfigureRequest specifies the position of the outer corner of the client window, we want the frame */ - geometry.x -= c->titlebar[CLIENT_TITLEBAR_LEFT].size; geometry.x -= c->border_width; } if(ev->value_mask & XCB_CONFIG_WINDOW_Y) { geometry.y = ev->y; /* The ConfigureRequest specifies the position of the outer corner of the client window, we want the frame */ - geometry.y -= c->titlebar[CLIENT_TITLEBAR_TOP].size; geometry.y -= c->border_width; } if(ev->value_mask & XCB_CONFIG_WINDOW_WIDTH)