Revision: 76951
http://sourceforge.net/p/brlcad/code/76951
Author: brlcad
Date: 2020-08-25 22:37:45 +0000 (Tue, 25 Aug 2020)
Log Message:
-----------
initialize the window's background color in case it's defaulting to nothing
(i.e., transparent). seems to matter on direct visuals with an alpha with
latest X11.
Modified Paths:
--------------
brlcad/trunk/src/libdm/glx/dm-ogl.c
Modified: brlcad/trunk/src/libdm/glx/dm-ogl.c
===================================================================
--- brlcad/trunk/src/libdm/glx/dm-ogl.c 2020-08-25 20:59:13 UTC (rev 76950)
+++ brlcad/trunk/src/libdm/glx/dm-ogl.c 2020-08-25 22:37:45 UTC (rev 76951)
@@ -887,6 +887,7 @@
bu_vls_printf(&dmp->i->dm_tkName, "%s",
(char *)Tk_Name(pubvars->xtkwin));
+ Tk_SetWindowBackground(pubvars->xtkwin,
BlackPixelOfScreen(Tk_Screen(pubvars->xtkwin)));
if (bu_vls_strlen(&init_proc_vls) > 0) {
bu_vls_printf(&str, "%s %s\n", bu_vls_addr(&init_proc_vls),
bu_vls_addr(&dmp->i->dm_pathName));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits