comparison src/xfns.c @ 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 1ee8ea329b7b
children 91b2daa9479f
comparison
equal deleted inserted replaced
33656:f17374b3bc22 33657:e9cf01c7cda6
10422 { 10422 {
10423 XSetWindowAttributes attrs; 10423 XSetWindowAttributes attrs;
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). */
10431 attrs.override_redirect = True; 10434 attrs.override_redirect = True;
10432 attrs.save_under = True; 10435 attrs.save_under = True;