summaryrefslogtreecommitdiff
path: root/src/privatewindow.h
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-02-26 00:05:47 +0100
committerDanny Baumann <dannybaumann@web.de>2009-02-26 00:05:47 +0100
commit51aa457b90948dd1900b8d10f10267078d452dfc (patch)
treed2f83adf13417742ae5253d53e9dd7cc1edaa7cd /src/privatewindow.h
parent7c5721737790caa584838db83d47098fb8027a91 (diff)
downloadunity-window-decorator-51aa457b90948dd1900b8d10f10267078d452dfc.tar.gz
unity-window-decorator-51aa457b90948dd1900b8d10f10267078d452dfc.tar.bz2
Added support for _NET_WM_FULLSCREEN_MONITORS property.
Diffstat (limited to 'src/privatewindow.h')
-rw-r--r--src/privatewindow.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/privatewindow.h b/src/privatewindow.h
index 7eb2ec7..8bd38f0 100644
--- a/src/privatewindow.h
+++ b/src/privatewindow.h
@@ -41,6 +41,7 @@
(w)->attrib.x - (w)->output.left >= (int) screen->width () || \
(w)->attrib.y - (w)->output.top >= (int) screen->height () )
+typedef CompWindowExtents CompFullscreenMonitorSet;
class PrivateWindow {
@@ -60,7 +61,6 @@ class PrivateWindow {
bool isGroupTransient (Window clientLeader);
-
static bool stackLayerCheck (CompWindow *w,
Window clientLeader,
CompWindow *below);
@@ -186,6 +186,8 @@ class PrivateWindow {
void processMap ();
+ void setFullscreenMonitors (CompFullscreenMonitorSet *monitors);
+
static unsigned int windowTypeFromString (const char *str);
static int compareWindowActiveness (CompWindow *w1,
@@ -238,6 +240,9 @@ class PrivateWindow {
Time initialTimestamp;
Bool initialTimestampSet;
+ bool fullscreenMonitorsSet;
+ CompRect fullscreenMonitorRect;
+
bool placed;
bool minimized;
bool inShowDesktopMode;