diff options
author | Gerd Moellmann <[email protected]> | 2000-11-20 22:28:37 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2000-11-20 22:28:37 +0000 |
commit | c51d2b5e2962d547e69791d49a4ef7002422199e (patch) | |
tree | e403d7172c27a1678b840f6abb893f041ddfb090 /src/xfns.c | |
parent | e258eedc76c7259036ac956a0a73f0b0caa2da63 (diff) |
(x_create_tip_frame): Use CWSaveUnder only if the
screen supports it.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 84813c0705..a9750be61f 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -10424,7 +10424,10 @@ x_create_tip_frame (dpyinfo, parms) unsigned long mask; BLOCK_INPUT; - mask = CWBackPixel | CWOverrideRedirect | CWSaveUnder | CWEventMask; + mask = CWBackPixel | CWOverrideRedirect | CWEventMask; + if (DoesSaveUnders (dpyinfo->screen)) + mask |= CWSaveUnder; + /* Window managers look at the override-redirect flag to determine whether or net to give windows a decoration (Xlib spec, chapter 3.2.8). */ |