From 4642216f70dd98134a79f9299b7ca4bc876649c7 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 28 Aug 2016 00:36:53 -0700 Subject: *: refactor all the things Long overdue house cleaning. The addition of compositing/monitoring overlays in vwm3 pushed vwm well past what is a reasonable size for a simple thousand line file. This is a first step towards restoring sanity in the code, but no behavioral differences are intended, this is mostly just shuffling around and organizing code. I expect some performance regressions initially, follow-on commits will make more improvements to that end as the dust settles. --- src/clickety.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/clickety.h (limited to 'src/clickety.h') diff --git a/src/clickety.h b/src/clickety.h new file mode 100644 index 0000000..b2b51f1 --- /dev/null +++ b/src/clickety.h @@ -0,0 +1,12 @@ +#ifndef _CLICKETY_H +#define _CLICKETY_H + +#include + +#include "vwm.h" + +void vwm_clickety_motion(vwm_t *vwm, Window win, XMotionEvent *motion); +void vwm_clickety_released(vwm_t *vwm, Window win, XButtonPressedEvent *terminus); +int vwm_clickety_pressed(vwm_t *vwm, Window win, XButtonPressedEvent *impetus); + +#endif -- cgit v1.2.3