Mercurial > emacs
changeset 33657:e9cf01c7cda6
(x_create_tip_frame): Use CWSaveUnder only if the
screen supports it.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 20 Nov 2000 22:28:03 +0000 |
parents | f17374b3bc22 |
children | ba8486e51f21 |
files | src/xfns.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Mon Nov 20 20:28:41 2000 +0000 +++ b/src/xfns.c Mon Nov 20 22:28:03 2000 +0000 @@ -10424,7 +10424,10 @@ 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). */