(x_create_tip_frame): Use CWSaveUnder only if the

screen supports it.
This commit is contained in:
Gerd Moellmann 2000-11-20 22:28:37 +00:00
parent e258eedc76
commit c51d2b5e29
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2000-11-20 Gerd Moellmann <gerd@gnu.org>
* xfns.c (x_create_tip_frame): Use CWSaveUnder only if the
screen supports it.
* s/gnu-linux.h: Don't use `#cpu'.
* buffer.c (MAP_FAILED): Define it as `((void *) -1)' if it's

View file

@ -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). */