1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-30 02:43:34 +02:00

WPrefs: add hotplug monitor option in expert panel

This patch is adding a new HotplugMonitor option
to automatically (de)activate monitors on randr hotplug events.
It is disabled by default.
This commit is contained in:
David Maciejak
2026-03-27 18:48:25 -04:00
committed by Carlos R. Mafra
parent 4b4abf4c50
commit 8e84264036
3 changed files with 12 additions and 1 deletions

View File

@@ -132,6 +132,11 @@ static struct expert_option {
{ N_("Allow windows to take focus using mouse wheel."),
/* default: */ False, OPTION_WMAKER, "MouseWheelFocus"},
#ifdef USE_RANDR
{ N_("Automatically (de)activate monitors on hotplug events."),
/* default: */ False, OPTION_WMAKER, "HotplugMonitor"},
#endif
};