[Pkg-wmaker-commits] [wmaker] 16/40: Added option for ability to move half-maximized between heads.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Mar 11 13:08:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository wmaker.

commit 17a47af160fee0cecf4af55cb13d0b5c54bafeee
Author: gryf <gryf73 at gmail.com>
Date:   Tue Feb 7 21:05:16 2017 +0100

    Added option for ability to move half-maximized between heads.
    
    Added new option to Window Maker preferences to enable half-maximized
    windows movement on all available heads. Option can be found in WPrefs
    app on Expert section.
---
 WPrefs.app/Expert.c | 3 +++
 src/WindowMaker.h   | 1 +
 src/defaults.c      | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/WPrefs.app/Expert.c b/WPrefs.app/Expert.c
index 84c2eb5..e4c922a 100644
--- a/WPrefs.app/Expert.c
+++ b/WPrefs.app/Expert.c
@@ -100,6 +100,9 @@ static const struct {
 	{ N_("Snapping a window to the top maximizes it to the full screen."),
 	  /* default: */ False, OPTION_WMAKER, "SnapToTopMaximizesFullscreen" },
 
+	{ N_("Allow move half-maximized windows betweem multiple screens."),
+	  /* default: */ False, OPTION_WMAKER, "MoveHalfMaximizedWindowsBetweenScreens" },
+
 	{ N_("Open dialogs in the same workspace as their owners."),
 	  /* default: */ False, OPTION_WMAKER, "OpenTransientOnOwnerWorkspace" }
 
diff --git a/src/WindowMaker.h b/src/WindowMaker.h
index ce07d82..2e727d3 100644
--- a/src/WindowMaker.h
+++ b/src/WindowMaker.h
@@ -365,6 +365,7 @@ extern struct WPreferences {
 	int snap_corner_detect;            /* how far from corner to begin snap */
 	char snap_to_top_maximizes_fullscreen;
 	char drag_maximized_window;        /* behavior when a maximized window is dragged */
+	char move_half_max_between_heads;  /* move half maximized window between available heads */
 
 	char highlight_active_app;         /* show the focused app by highlighting its icon */
 	char auto_arrange_icons;           /* automagically arrange icons */
diff --git a/src/defaults.c b/src/defaults.c
index 2346817..48b941f 100644
--- a/src/defaults.c
+++ b/src/defaults.c
@@ -482,6 +482,8 @@ WDefaultEntry optionList[] = {
 	    &wPreferences.snap_to_top_maximizes_fullscreen, getBool, NULL, NULL, NULL},
 	{"DragMaximizedWindow", "Move", seDragMaximizedWindow,
 	    &wPreferences.drag_maximized_window, getEnum, NULL, NULL, NULL},
+	{"MoveHalfMaximizedWindowsBetweenScreens", "NO", NULL,
+	    &wPreferences.move_half_max_between_heads, getBool, NULL, NULL, NULL},
 	{"HighlightActiveApp", "YES", NULL,
 	    &wPreferences.highlight_active_app, getBool, NULL, NULL, NULL},
 	{"AutoArrangeIcons", "NO", NULL,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmaker.git



More information about the Pkg-wmaker-commits mailing list