From: Gerd Moellmann Date: Mon, 20 Nov 2000 22:28:37 +0000 (+0000) Subject: (x_create_tip_frame): Use CWSaveUnder only if the X-Git-Tag: emacs-pretest-21.0.92~257 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c51d2b5e2962d547e69791d49a4ef7002422199e;p=emacs.git (x_create_tip_frame): Use CWSaveUnder only if the screen supports it. --- diff --git a/src/ChangeLog b/src/ChangeLog index b4dd1f34fa5..66ed79aedaa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2000-11-20 Gerd Moellmann + * 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 diff --git a/src/xfns.c b/src/xfns.c index 84813c07054..a9750be61f7 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). */