From 5a9563109137628afd93dd90993e95efa1f25b70 Mon Sep 17 00:00:00 2001 From: Tim Taenny Date: Tue, 5 Feb 2019 22:04:51 +0100 Subject: [PATCH] Added expert option for WrapAppiconsInDock property to WPrefs In 2013 Daniel added the functionality to wrap icons, which are attached to the dock, around the screen edges when the dock is being moved vertically. This patch adds an expert option to WPrefs.app for setting the property which enables/disables this feature. Remark: In my opinion, the default value for that property should be changed to NO, as this is also the default behavior in NeXTSTEP. It is handy to be able to move all these icons out of sight when working with maximized application windows. --- WPrefs.app/Expert.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/WPrefs.app/Expert.c b/WPrefs.app/Expert.c index 561f4e3f..f2cbe09c 100644 --- a/WPrefs.app/Expert.c +++ b/WPrefs.app/Expert.c @@ -110,7 +110,10 @@ static const struct { /* default: */ False, OPTION_WMAKER, "PointerWithHalfMaxWindows" }, { N_("Open dialogs in the same workspace as their owners."), - /* default: */ False, OPTION_WMAKER, "OpenTransientOnOwnerWorkspace" } + /* default: */ False, OPTION_WMAKER, "OpenTransientOnOwnerWorkspace" }, + + { N_("Wrap dock-attached icons around the screen edges."), + /* default: */ True, OPTION_WMAKER, "WrapAppiconsInDock" } };