diff options
author | okan | 2011-06-24 05:33:41 +0000 |
---|---|---|
committer | okan | 2011-06-24 05:33:41 +0000 |
commit | 9cc5f84c650971dd1e6791e22c983221ba4aaf43 (patch) | |
tree | f474b0844f3edca3845c654ae7d266dd7eec2074 /xevents.c | |
parent | a98b243d4fb92b2586ee46f8b757af568324b927 (diff) | |
download | cwm-9cc5f84c650971dd1e6791e22c983221ba4aaf43.tar.gz |
Correct extern declaration and while here, rename a variable to be
pedantic.
from Thomas Pfaff.
ok oga@
Diffstat (limited to '')
-rw-r--r-- | xevents.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xevents.c,v 1.53 2011/05/11 13:53:51 okan Exp $ + * $OpenBSD: xevents.c,v 1.54 2011/06/24 05:33:41 okan Exp $ */ /* @@ -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); |