From 69cc58555de66b0ff67fd0c3880fcb70eb06f837 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 24 Jun 2011 05:33:41 +0000 Subject: Correct extern declaration and while here, rename a variable to be pedantic. from Thomas Pfaff. ok oga@ --- xevents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xevents.c') 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); -- cgit 1.4.1