[Pkg-wmaker-commits] [wmaker] 22/40: New option for moving mouse pointer along with half-maximized windows.

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 c9fbcda0b01e90ede219146f8b47b695d530154a
Author: Roman Dobosz <gryf73 at gmail.com>
Date:   Tue Feb 21 18:56:14 2017 +0100

    New option for moving mouse pointer along with half-maximized windows.
    
    This option might be usable for using keyboard for moving windows
    around. This option will enable moving mouse pointer for such windows.
---
 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 78fd7b3..561f4e3 100644
--- a/WPrefs.app/Expert.c
+++ b/WPrefs.app/Expert.c
@@ -106,6 +106,9 @@ static const struct {
 	{ N_("Alternative transitions between states for half maximized windows."),
 	  /* default: */ False, OPTION_WMAKER, "AlternativeHalfMaximized" },
 
+	{ N_("Move mouse pointer with half maximized windows."),
+	  /* default: */ False, OPTION_WMAKER, "PointerWithHalfMaxWindows" },
+
 	{ 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 98fa789..90f1d2b 100644
--- a/src/WindowMaker.h
+++ b/src/WindowMaker.h
@@ -367,6 +367,7 @@ extern struct WPreferences {
 	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 pointer_with_half_max_windows;
 
 	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 f8cfda6..0ccb82a 100644
--- a/src/defaults.c
+++ b/src/defaults.c
@@ -486,6 +486,8 @@ WDefaultEntry optionList[] = {
 	    &wPreferences.move_half_max_between_heads, getBool, NULL, NULL, NULL},
 	{"AlternativeHalfMaximized", "NO", NULL,
 	    &wPreferences.alt_half_maximize, getBool, NULL, NULL, NULL},
+	{"PointerWithHalfMaxWindows", "NO", NULL,
+	    &wPreferences.pointer_with_half_max_windows, 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