summaryrefslogtreecommitdiff
path: root/src/include/prefs.h
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2025-08-15 07:20:47 -0400
committerLuke from DC <[email protected]>2025-09-09 19:51:09 +0000
commitb5292ba66132104256590631b2d2b7a1c92ad934 (patch)
tree3d83ea535c11942428a57af64263af5f71837205 /src/include/prefs.h
parent4a2eebdd0f20a9ea4f60d63fe03837f9a39350ba (diff)
downloadmarco-b5292ba66132104256590631b2d2b7a1c92ad934.tar.bz2
marco-b5292ba66132104256590631b2d2b7a1c92ad934.tar.xz
window: Add configurable mouse actions for titlebar
Adds support for configurable mouse actions on window titlebars, including middle-click and scroll wheel events. New actions added: - close: Close the window - raise: Raise window to top - toggle_stick: Toggle sticky state (all workspaces) - toggle_above: Toggle always-on-top state Fixes #425 Fixes #787 Note: requries matching mate-control-center changes to work properly
Diffstat (limited to 'src/include/prefs.h')
-rw-r--r--src/include/prefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/prefs.h b/src/include/prefs.h
index efb2242b..e34f1b14 100644
--- a/src/include/prefs.h
+++ b/src/include/prefs.h
@@ -39,6 +39,8 @@ typedef enum
META_PREF_ACTION_DOUBLE_CLICK_TITLEBAR,
META_PREF_ACTION_MIDDLE_CLICK_TITLEBAR,
META_PREF_ACTION_RIGHT_CLICK_TITLEBAR,
+ META_PREF_ACTION_SCROLL_UP_TITLEBAR,
+ META_PREF_ACTION_SCROLL_DOWN_TITLEBAR,
META_PREF_AUTO_RAISE,
META_PREF_AUTO_RAISE_DELAY,
META_PREF_THEME,
@@ -124,6 +126,8 @@ void meta_prefs_get_button_layout (MetaButtonLayout *butt
MetaActionTitlebar meta_prefs_get_action_double_click_titlebar (void);
MetaActionTitlebar meta_prefs_get_action_middle_click_titlebar (void);
MetaActionTitlebar meta_prefs_get_action_right_click_titlebar (void);
+MetaActionTitlebar meta_prefs_get_action_scroll_up_titlebar (void);
+MetaActionTitlebar meta_prefs_get_action_scroll_down_titlebar (void);
MetaPlacementMode meta_prefs_get_placement_mode (void);