event: handle border size changes in configurerequest
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
71bd32bcb1
commit
04df061aa0
3
event.c
3
event.c
|
@ -291,6 +291,9 @@ event_handle_configurerequest(void *data __attribute__ ((unused)),
|
||||||
if(ev->value_mask & XCB_CONFIG_WINDOW_HEIGHT)
|
if(ev->value_mask & XCB_CONFIG_WINDOW_HEIGHT)
|
||||||
geometry.height = ev->height;
|
geometry.height = ev->height;
|
||||||
|
|
||||||
|
if (ev->value_mask & XCB_CONFIG_WINDOW_BORDER_WIDTH)
|
||||||
|
client_setborder(c, ev->border_width);
|
||||||
|
|
||||||
if(c->isbanned)
|
if(c->isbanned)
|
||||||
{
|
{
|
||||||
/* We'll be sending protocol geometry, so don't readd borders and titlebar. */
|
/* We'll be sending protocol geometry, so don't readd borders and titlebar. */
|
||||||
|
|
Loading…
Reference in New Issue