summaryrefslogtreecommitdiffstats
path: root/src/lib/platform/XWindowsEventQueueBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/platform/XWindowsEventQueueBuffer.h')
-rw-r--r--src/lib/platform/XWindowsEventQueueBuffer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/platform/XWindowsEventQueueBuffer.h b/src/lib/platform/XWindowsEventQueueBuffer.h
index 07f3b3a..e49b282 100644
--- a/src/lib/platform/XWindowsEventQueueBuffer.h
+++ b/src/lib/platform/XWindowsEventQueueBuffer.h
@@ -21,6 +21,7 @@
#include "mt/Mutex.h"
#include "base/IEventQueueBuffer.h"
#include "common/stdvector.h"
+#include "XWindowsImpl.h"
#if X_DISPLAY_MISSING
# error X11 is required to build barrier
@@ -33,7 +34,8 @@ class IEventQueue;
//! Event queue buffer for X11
class XWindowsEventQueueBuffer : public IEventQueueBuffer {
public:
- XWindowsEventQueueBuffer(Display*, Window, IEventQueue* events);
+ XWindowsEventQueueBuffer(IXWindowsImpl* impl, Display*, Window,
+ IEventQueue* events);
virtual ~XWindowsEventQueueBuffer();
// IEventQueueBuffer overrides
@@ -51,6 +53,7 @@ private:
private:
typedef std::vector<XEvent> EventList;
+ IXWindowsImpl* m_impl;
Mutex m_mutex;
Display* m_display;