tewmh: Move fullscreen windows on top - glazier - window management experiments
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit c44c36f74277da16a244fce332986df3696f66b8
 (DIR) parent c209984eaca2b68050a40c0cdccb3626b0c9112f
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Thu,  1 Jul 2021 09:24:34 +0200
       
       ewmh: Move fullscreen windows on top
       
       Diffstat:
         M ewmh.c                              |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/ewmh.c b/ewmh.c
       t@@ -318,6 +318,7 @@ ewmh_fullscreen(xcb_window_t wid, int state)
                        /* move window fullscreen */
                        wm_set_border(0, -1, wid);
                        wm_teleport(wid, m->x, m->y, m->width, m->height);
       +                wm_restack(wid, XCB_STACK_MODE_ABOVE);
                        wm_set_atom(wid, ewmh[_NET_WM_STATE].atom, XCB_ATOM_ATOM, 1, &ewmh[_NET_WM_STATE_FULLSCREEN].atom);
                        free(m);
                        break;