aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/platform/XWindowsScreen.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/XWindowsScreen.h
parent68a36b3b67ec82cdd3f77e88e40d1043cbab5000 (diff)
New upstream version 2.3.0+dfsgupstream/2.3.0+dfsg
Diffstat (limited to 'src/lib/platform/XWindowsScreen.h')
-rw-r--r--src/lib/platform/XWindowsScreen.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/platform/XWindowsScreen.h b/src/lib/platform/XWindowsScreen.h
index a2e3495..7134017 100644
--- a/src/lib/platform/XWindowsScreen.h
+++ b/src/lib/platform/XWindowsScreen.h
@@ -22,6 +22,7 @@
#include "barrier/KeyMap.h"
#include "common/stdset.h"
#include "common/stdvector.h"
+#include "XWindowsImpl.h"
#if X_DISPLAY_MISSING
# error X11 is required to build barrier
@@ -36,7 +37,7 @@ class XWindowsScreenSaver;
//! Implementation of IPlatformScreen for X11
class XWindowsScreen : public PlatformScreen {
public:
- XWindowsScreen(const char* displayName, bool isPrimary,
+ XWindowsScreen(IXWindowsImpl* impl, const char* displayName, bool isPrimary,
bool disableXInitThreads, int mouseScrollDelta,
IEventQueue* events);
virtual ~XWindowsScreen();
@@ -174,6 +175,8 @@ private:
typedef std::vector<UInt32> HotKeyIDList;
typedef std::map<HotKeyItem, UInt32> HotKeyToIDMap;
+ IXWindowsImpl* m_impl;
+
// true if screen is being used as a primary screen, false otherwise
bool m_isPrimary;