diff --git a/src/WindowMaker.h b/src/WindowMaker.h index fa04093b..e1b49295 100644 --- a/src/WindowMaker.h +++ b/src/WindowMaker.h @@ -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 */ diff --git a/src/defaults.c b/src/defaults.c index 64ce2404..00c05d2c 100644 --- a/src/defaults.c +++ b/src/defaults.c @@ -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 */