glazier

the original window manipulator
Log | Files | Refs | Submodules | README | LICENSE

commit f8e6719a031dd5a6dfda329546d4682d3fb1755f
parent d5edef0ae3bf603796ec60aa9195f9a6abfafcb0
Author: Willy Goiffon <dev@z3bra.org>
Date:   Sat, 19 Oct 2019 02:15:38 +0200

Bring up windows and focus them on click

Diffstat:
glazier.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/glazier.c b/glazier.c @@ -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);