diff options
author | okan <okan> | 2011-06-24 05:33:41 +0000 |
---|---|---|
committer | okan <okan> | 2011-06-24 05:33:41 +0000 |
commit | 69cc58555de66b0ff67fd0c3880fcb70eb06f837 (patch) | |
tree | 18df65d33c4456ed8584553e40170529be3e5187 /xevents.c | |
parent | 89d8a14b6d0e32cffa8dab1d9ea929d1d25b30c4 (diff) | |
download | cwm-69cc58555de66b0ff67fd0c3880fcb70eb06f837.tar.gz cwm-69cc58555de66b0ff67fd0c3880fcb70eb06f837.tar.xz cwm-69cc58555de66b0ff67fd0c3880fcb70eb06f837.zip |
Correct extern declaration and while here, rename a variable to be
pedantic. from Thomas Pfaff. ok oga@
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c index 47d2cc8..438b700 100644 --- a/xevents.c +++ b/xevents.c @@ -410,14 +410,14 @@ xev_handle_expose(XEvent *ee) client_draw_border(cc); } -volatile sig_atomic_t _xev_quit = 0; +volatile sig_atomic_t xev_quit = 0; void xev_loop(void) { XEvent e; - while (_xev_quit == 0) { + while (xev_quit == 0) { XNextEvent(X_Dpy, &e); if (e.type - Randr_ev == RRScreenChangeNotify) xev_handle_randr(&e); |