1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 22:28:02 +01:00

wmaker: Moved variables for the XRandR extension into the global namespace

This commit is contained in:
Christophe CURIS
2013-10-10 20:38:25 +02:00
committed by Carlos R. Mafra
parent 3995130b79
commit 6dcfdd072b
6 changed files with 11 additions and 14 deletions

View File

@@ -71,11 +71,6 @@
/**** Global variables ****/
#ifdef HAVE_XRANDR
Bool has_randr;
int randr_event_base;
#endif
extern WDDomain *WDWindowMaker;
/**** Local ****/
@@ -550,7 +545,7 @@ WScreen *wScreenInit(int screen_number)
#endif /* KEEP_XKB_LOCK_STATUS */
#ifdef HAVE_XRANDR
if (has_randr)
if (w_global.xext.randr.supported)
XRRSelectInput(dpy, scr->root_win, RRScreenChangeNotifyMask);
#endif