tewmh: Set fullscreen windows on their current monitor - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6fa47e6c81bbc3426b071691d180e9555ec1934f
(DIR) parent 912db91e8462687863d790a5f7fe313851cc601c
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 16 Jun 2020 09:25:28 +0200
ewmh: Set fullscreen windows on their current monitor
Diffstat:
M ewmh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/ewmh.c b/ewmh.c
t@@ -312,7 +312,7 @@ ewmh_fullscreen(xcb_window_t wid, int state)
/* move window fullscreen */
wm_set_border(0, -1, wid);
- wm_teleport(wid, 0, 0, g.w, g.h);
+ wm_teleport(wid, g.x, g.y, g.w, g.h);
wm_set_atom(wid, ewmh[_NET_WM_STATE].atom, XCB_ATOM_ATOM, 1, &ewmh[_NET_WM_STATE_FULLSCREEN].atom);
break;