summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-04-09 18:51:22 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-04-10 00:47:40 -0700
commitdfb0d7aefbbdfc0db966e3a84d52f638135d9138 (patch)
tree3e204917d732c0a10ccf7bba3ed4735fed2ec2d4 /miext
parentd5ef88d7543ed787093099ab18db766c446b47d1 (diff)
XQuartz: Update window levels when changing rootless state
(cherry picked from commit 1359ded5bfc14a80fb998b01a54ecacb96c4ff88)
Diffstat (limited to 'miext')
-rw-r--r--miext/rootless/rootless.h1
-rw-r--r--miext/rootless/rootlessWindow.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/miext/rootless/rootless.h b/miext/rootless/rootless.h
index 5224dca2b..bde4cff52 100644
--- a/miext/rootless/rootless.h
+++ b/miext/rootless/rootless.h
@@ -57,6 +57,7 @@ typedef struct _RootlessWindowRec {
int x, y;
unsigned int width, height;
unsigned int borderWidth;
+ int level;
RootlessFrameID wid; // implementation specific frame id
WindowPtr win; // underlying X window
diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c
index 7bd7f18bb..b173cef70 100644
--- a/miext/rootless/rootlessWindow.c
+++ b/miext/rootless/rootlessWindow.c
@@ -478,6 +478,7 @@ RootlessEnsureFrame(WindowPtr pWin)
winRec->is_reorder_pending = FALSE;
winRec->pixmap = NULL;
winRec->wid = NULL;
+ winRec->level = 0;
SETWINREC(pWin, winRec);