rrrrr use right client inset offsets for calculating ConfigureRequests

T288
This commit is contained in:
discomfitor 2013-09-20 22:21:28 +01:00
parent e23879f08f
commit 041b148631
1 changed files with 2 additions and 2 deletions

View File

@ -5191,9 +5191,9 @@ _e_border_cb_window_configure_request(void *data __UNUSED__,
x = bd->x;
y = bd->y;
if (e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_X)
x = e->x - e_border_inset_width_get(bd);
x = e->x - bd->client_inset.l;
if (e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_Y)
y = e->y - e_border_inset_height_get(bd);
y = e->y - bd->client_inset.t;
if ((e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_W) ||
(e->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H))
{