glazier

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

commit 207e5984f91c7bc971ad7b303d2fd236427226db
parent 87cff64d07f4fc4bcf5737fd026b6d43e12dd6da
Author: Willy Goiffon <dev@z3bra.org>
Date:   Wed, 23 Oct 2019 08:36:09 +0200

Improve logs/error messages

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

diff --git a/glazier.c b/glazier.c @@ -191,7 +191,7 @@ cb_mapreq(xcb_generic_event_t *ev) return 0; if (verbose) - fprintf(stderr, "%s: 0x%08x\n", XEV(e), e->window); + fprintf(stderr, "%s 0x%08x\n", XEV(e), e->window); frame = frame_window(e->window); @@ -507,8 +507,7 @@ main (int argc, char *argv[]) | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT; if (!wm_reg_event(scrn->root, mask)) { - if (verbose) - fprintf(stderr, "Cannot redirect root window event.\n"); + fprintf(stderr, "Cannot redirect root window event.\n"); return -1; }