mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 22:28:02 +01:00
Code refactoring: replaced macro 'HAVE_XRANDR' by 'USE_XRANDR' for consistency
The usual way to define a macro in is to name macro with 'USE_xxx' when they are used to enable a feature 'xxx'. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
2a7a4d77d7
commit
73c00fac27
@@ -1292,7 +1292,7 @@ void wShowInfoPanel(WScreen *scr)
|
||||
strbuf = wstrappend(strbuf, _("\nAdditional support for: "));
|
||||
strbuf = wstrappend(strbuf, "WMSPEC");
|
||||
|
||||
#ifdef HAVE_XRANDR
|
||||
#ifdef USE_XRANDR
|
||||
strbuf = wstrappend(strbuf, ", XRandR ");
|
||||
if (w_global.xext.randr.supported)
|
||||
strbuf = wstrappend(strbuf, _("(Supported)"));
|
||||
|
||||
Reference in New Issue
Block a user