summaryrefslogtreecommitdiff
path: root/app/cwm/xevents.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-12-13 14:45:48 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-12-13 14:45:48 +0000
commita9be968a5bd7bbd0c0dd515c6b5bd7ed111f10ee (patch)
treecba6c9e1dac191d712c7082a5277561cbf840f27 /app/cwm/xevents.c
parentb864308ec6d48f74393b05c05f6a6936b4864b41 (diff)
stray space and sort while here
Diffstat (limited to 'app/cwm/xevents.c')
-rw-r--r--app/cwm/xevents.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index 8459e69ad..20e6aee7d 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/xevents.c
@@ -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.99 2013/12/13 14:40:52 okan Exp $
+ * $OpenBSD: xevents.c,v 1.100 2013/12/13 14:45:47 okan Exp $
*/
/*
@@ -47,15 +47,15 @@ static void xev_handle_buttonpress(XEvent *);
static void xev_handle_buttonrelease(XEvent *);
static void xev_handle_keypress(XEvent *);
static void xev_handle_keyrelease(XEvent *);
-static void xev_handle_expose(XEvent *);
static void xev_handle_clientmessage(XEvent *);
static void xev_handle_randr(XEvent *);
static void xev_handle_mappingnotify(XEvent *);
-
+static void xev_handle_expose(XEvent *);
void (*xev_handlers[LASTEvent])(XEvent *) = {
[MapRequest] = xev_handle_maprequest,
[UnmapNotify] = xev_handle_unmapnotify,
+ [DestroyNotify] = xev_handle_destroynotify,
[ConfigureRequest] = xev_handle_configurerequest,
[PropertyNotify] = xev_handle_propertynotify,
[EnterNotify] = xev_handle_enternotify,
@@ -63,10 +63,9 @@ void (*xev_handlers[LASTEvent])(XEvent *) = {
[ButtonRelease] = xev_handle_buttonrelease,
[KeyPress] = xev_handle_keypress,
[KeyRelease] = xev_handle_keyrelease,
- [Expose] = xev_handle_expose,
- [DestroyNotify] = xev_handle_destroynotify,
[ClientMessage] = xev_handle_clientmessage,
[MappingNotify] = xev_handle_mappingnotify,
+ [Expose] = xev_handle_expose,
};
static KeySym modkeys[] = { XK_Alt_L, XK_Alt_R, XK_Super_L, XK_Super_R,