[Pkg-wmaker-commits] [wmaker] 20/40: New option for enabling alternative half-maximized window movement.
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 9e7987713f1f3f9309cad7c50963d77055491fb4
Author: Roman Dobosz <gryf73 at gmail.com>
Date: Tue Feb 21 18:56:12 2017 +0100
New option for enabling alternative half-maximized window movement.
Added new option to Window Maker for enabling alternative way for
half-maximized windows movement. Option can be found on Expert section
in WPrefs app.
---
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 aae55ed..78fd7b3 100644
--- a/WPrefs.app/Expert.c
+++ b/WPrefs.app/Expert.c
@@ -103,6 +103,9 @@ static const struct {
{ N_("Allow move half-maximized windows between multiple screens."),
/* default: */ False, OPTION_WMAKER, "MoveHalfMaximizedWindowsBetweenScreens" },
+ { N_("Alternative transitions between states for half maximized windows."),
+ /* default: */ False, OPTION_WMAKER, "AlternativeHalfMaximized" },
+
{ 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 2e727d3..98fa789 100644
--- a/src/WindowMaker.h
+++ b/src/WindowMaker.h
@@ -366,6 +366,7 @@ extern struct WPreferences {
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 alt_half_maximize; /* alternative half-maximize feature behavior */
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 48b941f..f8cfda6 100644
--- a/src/defaults.c
+++ b/src/defaults.c
@@ -484,6 +484,8 @@ WDefaultEntry optionList[] = {
&wPreferences.drag_maximized_window, getEnum, NULL, NULL, NULL},
{"MoveHalfMaximizedWindowsBetweenScreens", "NO", NULL,
&wPreferences.move_half_max_between_heads, getBool, NULL, NULL, NULL},
+ {"AlternativeHalfMaximized", "NO", NULL,
+ &wPreferences.alt_half_maximize, 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