Update titlebar on configure requests
This commit is contained in:
parent
0795334dd8
commit
e5fbbcb612
4
event.c
4
event.c
|
@ -35,6 +35,7 @@
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "widget.h"
|
#include "widget.h"
|
||||||
#include "rules.h"
|
#include "rules.h"
|
||||||
|
#include "titlebar.h"
|
||||||
#include "layouts/tile.h"
|
#include "layouts/tile.h"
|
||||||
#include "layouts/floating.h"
|
#include "layouts/floating.h"
|
||||||
#include "common/xscreen.h"
|
#include "common/xscreen.h"
|
||||||
|
@ -189,8 +190,11 @@ event_handle_configurerequest(XEvent * e)
|
||||||
globalconf.screens[c->screen].need_arrange = True;
|
globalconf.screens[c->screen].need_arrange = True;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
titlebar_update_geometry_floating(c);
|
||||||
window_configure(c->win, geometry, c->border);
|
window_configure(c->win, geometry, c->border);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wc.x = ev->x;
|
wc.x = ev->x;
|
||||||
|
|
Loading…
Reference in New Issue