tBring up windows and focus them on click - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit f8e6719a031dd5a6dfda329546d4682d3fb1755f
(DIR) parent d5edef0ae3bf603796ec60aa9195f9a6abfafcb0
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Sat, 19 Oct 2019 02:15:38 +0200
Bring up windows and focus them on click
Diffstat:
M glazier.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/glazier.c b/glazier.c
t@@ -88,6 +88,9 @@ cb_mouse_press(xcb_generic_event_t *ev)
exit(1);
}
+ wm_restack(wid, XCB_STACK_MODE_ABOVE);
+ wm_set_focus(wid);
+
switch(button) {
case 1:
p = xcb_cursor_load_cursor(cx, XHAIR_MOVE);