# HG changeset patch # User ib # Date 1358444504 0 # Node ID 2261c68180a7ea0853eb3c21b63a60fb9b7dec24 # Parent 539f3d45dcf526f2075763dc2417d1e324eb4c22 Make variable wsScreenDepth static. The information dropped from interface.c is already being printed in wsXInit(). diff -r 539f3d45dcf5 -r 2261c68180a7 gui/interface.c --- a/gui/interface.c Thu Jan 17 17:36:16 2013 +0000 +++ b/gui/interface.c Thu Jan 17 17:41:44 2013 +0000 @@ -189,7 +189,6 @@ wsSetShape(&guiApp.mainWindow, guiApp.main.Mask.Image); wsXDNDMakeAwareness(&guiApp.mainWindow); - mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] screen depth: %d\n", wsScreenDepth); mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] mainWindow ID: 0x%x\n", (int)guiApp.mainWindow.WindowID); mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] videoWindow ID: 0x%x\n", (int)guiApp.videoWindow.WindowID); diff -r 539f3d45dcf5 -r 2261c68180a7 gui/wm/ws.c --- a/gui/wm/ws.c Thu Jan 17 17:36:16 2013 +0000 +++ b/gui/wm/ws.c Thu Jan 17 17:41:44 2013 +0000 @@ -87,7 +87,7 @@ static int wsScreen; static Window wsRootWin; -int wsScreenDepth; +static int wsScreenDepth; static int wsRedMask; static int wsGreenMask; static int wsBlueMask; diff -r 539f3d45dcf5 -r 2261c68180a7 gui/wm/ws.h --- a/gui/wm/ws.h Thu Jan 17 17:36:16 2013 +0000 +++ b/gui/wm/ws.h Thu Jan 17 17:41:44 2013 +0000 @@ -171,8 +171,6 @@ extern Display *wsDisplay; -extern int wsScreenDepth; - // ---------------------------------------------------------------------------------------------- void wsXDone(void); void wsXInit(Display *display);