XQuartz: Update window levels when changing rootless state

(cherry picked from commit 1359ded5bfc14a80fb998b01a54ecacb96c4ff88)
This commit is contained in:
Jeremy Huddleston
2009-04-09 18:51:22 -07:00
parent d5ef88d754
commit dfb0d7aefb
3 changed files with 24 additions and 12 deletions

View File

@@ -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

View File

@@ -478,6 +478,7 @@ RootlessEnsureFrame(WindowPtr pWin)
winRec->is_reorder_pending = FALSE;
winRec->pixmap = NULL;
winRec->wid = NULL;
winRec->level = 0;
SETWINREC(pWin, winRec);