Skip to content

Commit

Permalink
maxhorvert - Add DECORATION_ACTION_TOGGLE_MAXIMIZE_{VERTICALLY,HORIZO…
Browse files Browse the repository at this point in the history
…NTALLY}

Extend the enum for decoration actions to include
maximizing vertically and/or horizontally.
  • Loading branch information
CarloWood committed Mar 3, 2025
1 parent 8e95f3e commit 665a78d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/decor/deco-layout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ enum decoration_layout_action_t
/* Button actions */
DECORATION_ACTION_CLOSE = 3,
DECORATION_ACTION_TOGGLE_MAXIMIZE = 4,
DECORATION_ACTION_MINIMIZE = 5,
DECORATION_ACTION_TOGGLE_MAXIMIZE_VERTICALLY = 5,
DECORATION_ACTION_TOGGLE_MAXIMIZE_HORIZONTALLY = 6,
DECORATION_ACTION_MINIMIZE = 7,
};

class decoration_theme_t;
Expand Down

0 comments on commit 665a78d

Please sign in to comment.