aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-11-20 22:28:37 +0000
committerGerd Moellmann2000-11-20 22:28:37 +0000
commitc51d2b5e2962d547e69791d49a4ef7002422199e (patch)
treee403d7172c27a1678b840f6abb893f041ddfb090 /src
parente258eedc76c7259036ac956a0a73f0b0caa2da63 (diff)
downloademacs-c51d2b5e2962d547e69791d49a4ef7002422199e.tar.gz
emacs-c51d2b5e2962d547e69791d49a4ef7002422199e.zip
(x_create_tip_frame): Use CWSaveUnder only if the
screen supports it.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/xfns.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b4dd1f34fa5..66ed79aedaa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12000-11-20 Gerd Moellmann <gerd@gnu.org> 12000-11-20 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xfns.c (x_create_tip_frame): Use CWSaveUnder only if the
4 screen supports it.
5
3 * s/gnu-linux.h: Don't use `#cpu'. 6 * s/gnu-linux.h: Don't use `#cpu'.
4 7
5 * buffer.c (MAP_FAILED): Define it as `((void *) -1)' if it's 8 * 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)
10424 unsigned long mask; 10424 unsigned long mask;
10425 10425
10426 BLOCK_INPUT; 10426 BLOCK_INPUT;
10427 mask = CWBackPixel | CWOverrideRedirect | CWSaveUnder | CWEventMask; 10427 mask = CWBackPixel | CWOverrideRedirect | CWEventMask;
10428 if (DoesSaveUnders (dpyinfo->screen))
10429 mask |= CWSaveUnder;
10430
10428 /* Window managers look at the override-redirect flag to determine 10431 /* Window managers look at the override-redirect flag to determine
10429 whether or net to give windows a decoration (Xlib spec, chapter 10432 whether or net to give windows a decoration (Xlib spec, chapter
10430 3.2.8). */ 10433 3.2.8). */