1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

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.
This commit is contained in:
2017-02-21 18:56:14 +01:00
committed by Carlos R. Mafra
parent eadb7f3ab2
commit c9fbcda0b0
3 changed files with 6 additions and 0 deletions

View File

@@ -106,6 +106,9 @@ static const struct {
{ N_("Alternative transitions between states for half maximized windows."), { N_("Alternative transitions between states for half maximized windows."),
/* default: */ False, OPTION_WMAKER, "AlternativeHalfMaximized" }, /* 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."), { N_("Open dialogs in the same workspace as their owners."),
/* default: */ False, OPTION_WMAKER, "OpenTransientOnOwnerWorkspace" } /* default: */ False, OPTION_WMAKER, "OpenTransientOnOwnerWorkspace" }

View File

@@ -367,6 +367,7 @@ extern struct WPreferences {
char drag_maximized_window; /* behavior when a maximized window is dragged */ 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 move_half_max_between_heads; /* move half maximized window between available heads */
char alt_half_maximize; /* alternative half-maximize feature behavior */ 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 highlight_active_app; /* show the focused app by highlighting its icon */
char auto_arrange_icons; /* automagically arrange icons */ char auto_arrange_icons; /* automagically arrange icons */

View File

@@ -486,6 +486,8 @@ WDefaultEntry optionList[] = {
&wPreferences.move_half_max_between_heads, getBool, NULL, NULL, NULL}, &wPreferences.move_half_max_between_heads, getBool, NULL, NULL, NULL},
{"AlternativeHalfMaximized", "NO", NULL, {"AlternativeHalfMaximized", "NO", NULL,
&wPreferences.alt_half_maximize, getBool, NULL, NULL, 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, {"HighlightActiveApp", "YES", NULL,
&wPreferences.highlight_active_app, getBool, NULL, NULL, NULL}, &wPreferences.highlight_active_app, getBool, NULL, NULL, NULL},
{"AutoArrangeIcons", "NO", NULL, {"AutoArrangeIcons", "NO", NULL,