summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorsparkida <[email protected]>2022-01-15 23:14:19 +0000
committerLuke from DC <[email protected]>2023-01-18 04:15:33 +0000
commitd83cb24a27b1864be035868354a806287dbfaa92 (patch)
tree1e8987cd34887cdde1d31ad59f1dabcf7d57dc85 /src/include
parentdcd5d21e4c53f1670b33cec78c96bdd3da87037d (diff)
downloadmarco-d83cb24a27b1864be035868354a806287dbfaa92.tar.bz2
marco-d83cb24a27b1864be035868354a806287dbfaa92.tar.xz
Add setting to raise windows on alt+tab popup
Diffstat (limited to 'src/include')
-rw-r--r--src/include/common.h1
-rw-r--r--src/include/prefs.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/common.h b/src/include/common.h
index 3c768099..9febd63c 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -351,6 +351,7 @@ typedef enum
#define META_MIN_ALT_TAB_MAX_COLUMNS 1
#define META_MAX_ALT_TAB_MAX_COLUMNS 64
+#define META_DEFAULT_ALT_TAB_RAISE_WINDOWS FALSE
#define META_DEFAULT_ALT_TAB_EXPAND_TO_FIT_TITLE FALSE
#endif
diff --git a/src/include/prefs.h b/src/include/prefs.h
index 3fbb5f57..efb2242b 100644
--- a/src/include/prefs.h
+++ b/src/include/prefs.h
@@ -62,6 +62,7 @@ typedef enum
META_PREF_CURSOR_SIZE,
META_PREF_ICON_SIZE,
META_PREF_ALT_TAB_MAX_COLUMNS,
+ META_PREF_ALT_TAB_RAISE_WINDOWS,
META_PREF_ALT_TAB_EXPAND_TO_FIT_TITLE,
META_PREF_COMPOSITING_MANAGER,
META_PREF_COMPOSITING_FAST_ALT_TAB,
@@ -137,6 +138,7 @@ int meta_prefs_get_cursor_size (void);
int meta_prefs_get_icon_size (void);
int meta_prefs_get_alt_tab_max_columns (void);
gboolean meta_prefs_get_alt_tab_expand_to_fit_title (void);
+gboolean meta_prefs_get_alt_tab_raise_windows (void);
gboolean meta_prefs_get_compositing_manager (void);
gboolean meta_prefs_get_compositing_fast_alt_tab (void);
gboolean meta_prefs_get_center_new_windows (void);