summaryrefslogtreecommitdiff
path: root/src/xevent.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2016-09-09 14:20:28 -0700
committerGitHub <noreply@github.com>2016-09-09 14:20:28 -0700
commita1aba8e0fe5c94ebf04258b609666c92b756954f (patch)
treefe9792b77766e31728b1d2d04d2461858ef45443 /src/xevent.h
parente99f5ac1293a0ae1f498bc4c73c4c04e4edb8665 (diff)
parent8ef5fccc1ad2f5acb5530a438de631153e4ad945 (diff)
Merge pull request #6 from vcaputo/clean_house
House cleaning
Diffstat (limited to 'src/xevent.h')
-rw-r--r--src/xevent.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/xevent.h b/src/xevent.h
new file mode 100644
index 0000000..dc710fd
--- /dev/null
+++ b/src/xevent.h
@@ -0,0 +1,18 @@
+#include "X11/Xlib.h"
+
+typedef struct _vwm_t vwm_t;
+
+void vwm_xevent_handle_key_press(vwm_t *vwm, XKeyPressedEvent *ev);
+void vwm_xevent_handle_key_release(vwm_t *vwm, XKeyReleasedEvent *ev);
+void vwm_xevent_handle_button_press(vwm_t *vwm, XButtonPressedEvent *ev);
+void vwm_xevent_handle_motion_notify(vwm_t *vwm, XMotionEvent *ev);
+void vwm_xevent_handle_button_release(vwm_t *vwm, XButtonReleasedEvent *ev);
+void vwm_xevent_handle_create_notify(vwm_t *vwm, XCreateWindowEvent *ev);
+void vwm_xevent_handle_destroy_notify(vwm_t *vwm, XDestroyWindowEvent *ev);
+void vwm_xevent_handle_configure_request(vwm_t *vwm, XConfigureRequestEvent *ev);
+void vwm_xevent_handle_configure_notify(vwm_t *vwm, XConfigureEvent *ev);
+void vwm_xevent_handle_unmap_notify(vwm_t *vwm, XUnmapEvent *ev);
+void vwm_xevent_handle_map_notify(vwm_t *vwm, XMapEvent *ev);
+void vwm_xevent_handle_map_request(vwm_t *vwm, XMapRequestEvent *ev);
+void vwm_xevent_handle_property_notify(vwm_t *vwm, XPropertyEvent *ev);
+void vwm_xevent_handle_mapping_notify(vwm_t *vwm, XMappingEvent *ev);
© All Rights Reserved