forked from enlightenment/enlightenment
rrrrr use right client inset offsets for calculating ConfigureRequests
T288
This commit is contained in:
parent
e23879f08f
commit
041b148631
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue