glazier

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

commit 4ccefbd711978a3510cd425d144ffc5d2ec3d7e6
parent 6c9922fdef83195da197014b486bd6c6e8a0b4df
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue, 22 Oct 2019 19:59:40 +0200

Update libwm to handle errors in wm_reg_event()

Diffstat:
glazier.c | 2+-
libwm | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/glazier.c b/glazier.c @@ -476,7 +476,7 @@ main (int argc, char *argv[]) mask = XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT; - if (wm_reg_event(scrn->root, mask) < 0) { + if (!wm_reg_event(scrn->root, mask)) { if (verbose) fprintf(stderr, "Cannot redirect root window event.\n"); return -1; diff --git a/libwm b/libwm @@ -1 +1 @@ -Subproject commit 15d174927a115d9ce34b50c5cf9025cdc12f5cc4 +Subproject commit c92ee4ce0527c1983e6fef40fc43a43fde832f24