changeset 36258:9a319cd3ee66

Add a debug message on the visual. Print the ID of the matching visual.
author ib
date Thu, 11 Jul 2013 15:20:01 +0000
parents e771388dfd15
children c5b20369f0be
files gui/wm/ws.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Fri Jul 05 18:16:54 2013 +0000
+++ b/gui/wm/ws.c	Thu Jul 11 15:20:01 2013 +0000
@@ -831,6 +831,8 @@
 
     XMatchVisualInfo(wsDisplay, wsScreen, depth, TrueColor, &win->VisualInfo);
 
+    mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[ws] visual: ID %#lx\n", win->VisualInfo.visualid);
+
 /* --- */
     win->AtomLeaderClient = XInternAtom(wsDisplay, "WM_CLIENT_LEADER", False);
     win->AtomDeleteWindow = XInternAtom(wsDisplay, "WM_DELETE_WINDOW", False);