mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
RandR misc.
This patch is replacing XRandR naming to RandR, as XRandR is the name of the tool used in X11 and RandR is the technology WMaker wants to support. I had to update the info panel too, when many features are activated not all of them can be displayed properly.
This commit is contained in:
committed by
Carlos R. Mafra
parent
afc900a7c3
commit
c2e4f62777
@@ -31,7 +31,7 @@
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
#include <X11/XKBlib.h>
|
||||
#endif /* KEEP_XKB_LOCK_STATUS */
|
||||
#ifdef USE_XRANDR
|
||||
#ifdef USE_RANDR
|
||||
#include <X11/extensions/Xrandr.h>
|
||||
#endif
|
||||
|
||||
@@ -540,7 +540,7 @@ WScreen *wScreenInit(int screen_number)
|
||||
}
|
||||
#endif /* KEEP_XKB_LOCK_STATUS */
|
||||
|
||||
#ifdef USE_XRANDR
|
||||
#ifdef USE_RANDR
|
||||
if (w_global.xext.randr.supported)
|
||||
XRRSelectInput(dpy, scr->root_win, RRScreenChangeNotifyMask);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user