summaryrefslogtreecommitdiffstats
path: root/src/lib/platform/XWindowsScreenSaver.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-07-18 01:31:43 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-07-18 01:31:43 -0400
commita916009d4b29995ea8ad61ad47a51c2ee1fa80bc (patch)
treef53f459caa6868bda7c3f6dae0d8f30f19325af3 /src/lib/platform/XWindowsScreenSaver.h
parent68a36b3b67ec82cdd3f77e88e40d1043cbab5000 (diff)
New upstream version 2.3.0+dfsgupstream/2.3.0+dfsg
Diffstat (limited to 'src/lib/platform/XWindowsScreenSaver.h')
-rw-r--r--src/lib/platform/XWindowsScreenSaver.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/platform/XWindowsScreenSaver.h b/src/lib/platform/XWindowsScreenSaver.h
index db85f41..1761db2 100644
--- a/src/lib/platform/XWindowsScreenSaver.h
+++ b/src/lib/platform/XWindowsScreenSaver.h
@@ -21,6 +21,7 @@
#include "barrier/IScreenSaver.h"
#include "base/IEventQueue.h"
#include "common/stdmap.h"
+#include "XWindowsImpl.h"
#if X_DISPLAY_MISSING
# error X11 is required to build barrier
@@ -34,7 +35,8 @@ class EventQueueTimer;
//! X11 screen saver implementation
class XWindowsScreenSaver : public IScreenSaver {
public:
- XWindowsScreenSaver(Display*, Window, void* eventTarget, IEventQueue* events);
+ XWindowsScreenSaver(IXWindowsImpl* impl, Display*, Window,
+ void* eventTarget, IEventQueue* events);
virtual ~XWindowsScreenSaver();
//! @name manipulators
@@ -112,6 +114,8 @@ private:
private:
typedef std::map<Window, long> WatchList;
+ IXWindowsImpl* m_impl;
+
// the X display
Display* m_display;