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

Add new "KeepDockOnPrimaryHead" option

Once implemented, this will keep the dock on the primary head (when
there are multiple heads) when YES.  The default value is NO, the
current behavior, i.e., treat all monitors together as one large screen.
This commit is contained in:
Torrance, Douglas
2023-01-14 22:22:38 +00:00
committed by Carlos R. Mafra
parent c089c6aea4
commit 326a67e18f
2 changed files with 3 additions and 0 deletions

View File

@@ -405,6 +405,7 @@ extern struct WPreferences {
char ignore_gtk_decoration_hints;
char dont_blink; /* do not blink icon selection */
char keep_dock_on_primary_head; /* keep dock on primary head */
/* Appearance options */
char new_style; /* Use newstyle buttons */

View File

@@ -521,6 +521,8 @@ WDefaultEntry optionList[] = {
&wPreferences.minipreview_size, getInt, NULL, NULL, NULL},
{"IgnoreGtkHints", "NO", NULL,
&wPreferences.ignore_gtk_decoration_hints, getBool, NULL, NULL, NULL},
{"KeepDockOnPrimaryHead", "NO", NULL,
&wPreferences.keep_dock_on_primary_head, getBool, NULL, NULL, NULL},
/* style options */