mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
wmaker: Add new options for dragging maximized windows.
You can now configure the behavior when dragging a maximized window by setting DragMaximizedWindow in ~/GNUstep/Defaults/WindowMaker. The options are: - Move: Move the window and retain its maximized status and geometry (the current behavior and the default). - RestoreGeometry: Move the window and unmaximize it, restoring its original geometry. - Unmaximize: Move the window and unmaximize it, retaining its maximized geometry. - NoMove: Don't move the window. Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
committed by
Carlos R. Mafra
parent
81e2b42746
commit
9937566ec4
@@ -233,6 +233,13 @@ typedef enum {
|
||||
#define WB_TOPBOTTOM 2
|
||||
#define WB_ALLDIRS (WB_LEFTRIGHT|WB_TOPBOTTOM)
|
||||
|
||||
/* drag maximized window behaviors */
|
||||
enum {
|
||||
DRAGMAX_MOVE,
|
||||
DRAGMAX_RESTORE,
|
||||
DRAGMAX_UNMAXIMIZE,
|
||||
DRAGMAX_NOMOVE
|
||||
};
|
||||
|
||||
/* program states */
|
||||
typedef enum {
|
||||
@@ -353,7 +360,7 @@ extern struct WPreferences {
|
||||
char no_animations; /* enable/disable animations */
|
||||
char no_autowrap; /* wrap workspace when window is moved to the edge */
|
||||
char window_snapping; /* enable window snapping */
|
||||
char unmaximize_on_move; /* unmaximize a maximized window when it is moved */
|
||||
char drag_maximized_window; /* behavior when a maximized window is dragged */
|
||||
|
||||
char highlight_active_app; /* show the focused app by highlighting its icon */
|
||||
char auto_arrange_icons; /* automagically arrange icons */
|
||||
|
||||
Reference in New Issue
Block a user