Ewmh: Fix net_wm_window_type_{dock, splash} management.
This commit is contained in:
@@ -308,6 +308,8 @@ ewmh_manage_window_type(Client *c)
|
|||||||
if(atom[i] == net_atom[net_wm_window_type_dock]
|
if(atom[i] == net_atom[net_wm_window_type_dock]
|
||||||
|| atom[i] == net_atom[net_wm_window_type_splash])
|
|| atom[i] == net_atom[net_wm_window_type_splash])
|
||||||
{
|
{
|
||||||
|
client_unmap(c);
|
||||||
|
XMapWindow(dpy, c->win);
|
||||||
XReparentWindow(dpy, c->win, ROOT, c->geo.x, c->geo.y);
|
XReparentWindow(dpy, c->win, ROOT, c->geo.x, c->geo.y);
|
||||||
XRaiseWindow(dpy, c->win);
|
XRaiseWindow(dpy, c->win);
|
||||||
c->state_dock = True;
|
c->state_dock = True;
|
||||||
|
|||||||
Reference in New Issue
Block a user