aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/platform/XWindowsScreenSaver.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-07-18 01:31:55 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-07-18 01:31:55 -0400
commit0f98c212db6e4cfd750dc1a52a31ddf9396a5e07 (patch)
treebd0bd43b383bccc43d1950fd356472d69f9cd0f1 /src/lib/platform/XWindowsScreenSaver.h
parentd8c416864c505aea70c70fd0d5f7991aa50d2ff9 (diff)
parenta916009d4b29995ea8ad61ad47a51c2ee1fa80bc (diff)
Update upstream source from tag 'upstream/2.3.0+dfsg'
Update to upstream version '2.3.0+dfsg' with Debian dir f701d582fe3b6bb5189dbf035102670db9c2516b
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;