summaryrefslogtreecommitdiff
path: root/include/compiz.h
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-08-13 18:07:33 -0400
committerDavid Reveman <davidr@novell.com>2007-08-13 18:07:33 -0400
commit8e717e02d0b7727f93b833056c1fabf228b2ab8a (patch)
tree56a00e1cb9086abbdcc04c5836e3ad7cd3113ed7 /include/compiz.h
parent1b19b02701dcd3d4a1004cfb0868d0555150b5fc (diff)
downloadcompiz-core-doc-8e717e02d0b7727f93b833056c1fabf228b2ab8a.tar.gz
compiz-core-doc-8e717e02d0b7727f93b833056c1fabf228b2ab8a.tar.bz2
Switch to new action option types for all core options. Most
options have been converted to key actions for now but button, edge and bell options that will trigger the same action can easily be added where it makes sense.
Diffstat (limited to 'include/compiz.h')
-rw-r--r--include/compiz.h121
1 files changed, 61 insertions, 60 deletions
diff --git a/include/compiz.h b/include/compiz.h
index efe5bca..344a2b6 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -566,66 +566,67 @@ typedef int CompTimeoutHandle;
typedef int CompWatchFdHandle;
typedef int CompFileWatchHandle;
-#define COMP_DISPLAY_OPTION_ACTIVE_PLUGINS 0
-#define COMP_DISPLAY_OPTION_TEXTURE_FILTER 1
-#define COMP_DISPLAY_OPTION_CLICK_TO_FOCUS 2
-#define COMP_DISPLAY_OPTION_AUTORAISE 3
-#define COMP_DISPLAY_OPTION_AUTORAISE_DELAY 4
-#define COMP_DISPLAY_OPTION_CLOSE_WINDOW 5
-#define COMP_DISPLAY_OPTION_MAIN_MENU 6
-#define COMP_DISPLAY_OPTION_RUN_DIALOG 7
-#define COMP_DISPLAY_OPTION_COMMAND0 8
-#define COMP_DISPLAY_OPTION_COMMAND1 9
-#define COMP_DISPLAY_OPTION_COMMAND2 10
-#define COMP_DISPLAY_OPTION_COMMAND3 11
-#define COMP_DISPLAY_OPTION_COMMAND4 12
-#define COMP_DISPLAY_OPTION_COMMAND5 13
-#define COMP_DISPLAY_OPTION_COMMAND6 14
-#define COMP_DISPLAY_OPTION_COMMAND7 15
-#define COMP_DISPLAY_OPTION_COMMAND8 16
-#define COMP_DISPLAY_OPTION_COMMAND9 17
-#define COMP_DISPLAY_OPTION_COMMAND10 18
-#define COMP_DISPLAY_OPTION_COMMAND11 19
-#define COMP_DISPLAY_OPTION_RUN_COMMAND0 20
-#define COMP_DISPLAY_OPTION_RUN_COMMAND1 21
-#define COMP_DISPLAY_OPTION_RUN_COMMAND2 22
-#define COMP_DISPLAY_OPTION_RUN_COMMAND3 23
-#define COMP_DISPLAY_OPTION_RUN_COMMAND4 24
-#define COMP_DISPLAY_OPTION_RUN_COMMAND5 25
-#define COMP_DISPLAY_OPTION_RUN_COMMAND6 26
-#define COMP_DISPLAY_OPTION_RUN_COMMAND7 27
-#define COMP_DISPLAY_OPTION_RUN_COMMAND8 28
-#define COMP_DISPLAY_OPTION_RUN_COMMAND9 29
-#define COMP_DISPLAY_OPTION_RUN_COMMAND10 30
-#define COMP_DISPLAY_OPTION_RUN_COMMAND11 31
-#define COMP_DISPLAY_OPTION_SLOW_ANIMATIONS 32
-#define COMP_DISPLAY_OPTION_RAISE_WINDOW 33
-#define COMP_DISPLAY_OPTION_LOWER_WINDOW 34
-#define COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW 35
-#define COMP_DISPLAY_OPTION_MINIMIZE_WINDOW 36
-#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW 37
-#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ 38
-#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT 39
-#define COMP_DISPLAY_OPTION_OPACITY_INCREASE 40
-#define COMP_DISPLAY_OPTION_OPACITY_DECREASE 41
-#define COMP_DISPLAY_OPTION_SCREENSHOT 42
-#define COMP_DISPLAY_OPTION_RUN_SCREENSHOT 43
-#define COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT 44
-#define COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT 45
-#define COMP_DISPLAY_OPTION_WINDOW_MENU 46
-#define COMP_DISPLAY_OPTION_SHOW_DESKTOP 47
-#define COMP_DISPLAY_OPTION_RAISE_ON_CLICK 48
-#define COMP_DISPLAY_OPTION_AUDIBLE_BELL 49
-#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED 50
-#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ 51
-#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT 52
-#define COMP_DISPLAY_OPTION_HIDE_SKIP_TASKBAR_WINDOWS 53
-#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_SHADED 54
-#define COMP_DISPLAY_OPTION_IGNORE_HINTS_WHEN_MAXIMIZED 55
-#define COMP_DISPLAY_OPTION_TERMINAL 56
-#define COMP_DISPLAY_OPTION_RUN_TERMINAL 57
-#define COMP_DISPLAY_OPTION_PING_DELAY 58
-#define COMP_DISPLAY_OPTION_NUM 59
+#define COMP_DISPLAY_OPTION_ACTIVE_PLUGINS 0
+#define COMP_DISPLAY_OPTION_TEXTURE_FILTER 1
+#define COMP_DISPLAY_OPTION_CLICK_TO_FOCUS 2
+#define COMP_DISPLAY_OPTION_AUTORAISE 3
+#define COMP_DISPLAY_OPTION_AUTORAISE_DELAY 4
+#define COMP_DISPLAY_OPTION_CLOSE_WINDOW_KEY 5
+#define COMP_DISPLAY_OPTION_MAIN_MENU_KEY 6
+#define COMP_DISPLAY_OPTION_RUN_DIALOG_KEY 7
+#define COMP_DISPLAY_OPTION_COMMAND0 8
+#define COMP_DISPLAY_OPTION_COMMAND1 9
+#define COMP_DISPLAY_OPTION_COMMAND2 10
+#define COMP_DISPLAY_OPTION_COMMAND3 11
+#define COMP_DISPLAY_OPTION_COMMAND4 12
+#define COMP_DISPLAY_OPTION_COMMAND5 13
+#define COMP_DISPLAY_OPTION_COMMAND6 14
+#define COMP_DISPLAY_OPTION_COMMAND7 15
+#define COMP_DISPLAY_OPTION_COMMAND8 16
+#define COMP_DISPLAY_OPTION_COMMAND9 17
+#define COMP_DISPLAY_OPTION_COMMAND10 18
+#define COMP_DISPLAY_OPTION_COMMAND11 19
+#define COMP_DISPLAY_OPTION_RUN_COMMAND0_KEY 20
+#define COMP_DISPLAY_OPTION_RUN_COMMAND1_KEY 21
+#define COMP_DISPLAY_OPTION_RUN_COMMAND2_KEY 22
+#define COMP_DISPLAY_OPTION_RUN_COMMAND3_KEY 23
+#define COMP_DISPLAY_OPTION_RUN_COMMAND4_KEY 24
+#define COMP_DISPLAY_OPTION_RUN_COMMAND5_KEY 25
+#define COMP_DISPLAY_OPTION_RUN_COMMAND6_KEY 26
+#define COMP_DISPLAY_OPTION_RUN_COMMAND7_KEY 27
+#define COMP_DISPLAY_OPTION_RUN_COMMAND8_KEY 28
+#define COMP_DISPLAY_OPTION_RUN_COMMAND9_KEY 29
+#define COMP_DISPLAY_OPTION_RUN_COMMAND10_KEY 30
+#define COMP_DISPLAY_OPTION_RUN_COMMAND11_KEY 31
+#define COMP_DISPLAY_OPTION_SLOW_ANIMATIONS_KEY 32
+#define COMP_DISPLAY_OPTION_RAISE_WINDOW_BUTTON 33
+#define COMP_DISPLAY_OPTION_LOWER_WINDOW_BUTTON 34
+#define COMP_DISPLAY_OPTION_UNMAXIMIZE_WINDOW_KEY 35
+#define COMP_DISPLAY_OPTION_MINIMIZE_WINDOW_KEY 36
+#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_KEY 37
+#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_HORZ_KEY 38
+#define COMP_DISPLAY_OPTION_MAXIMIZE_WINDOW_VERT_KEY 39
+#define COMP_DISPLAY_OPTION_OPACITY_INCREASE_BUTTON 40
+#define COMP_DISPLAY_OPTION_OPACITY_DECREASE_BUTTON 41
+#define COMP_DISPLAY_OPTION_SCREENSHOT 42
+#define COMP_DISPLAY_OPTION_RUN_SCREENSHOT_KEY 43
+#define COMP_DISPLAY_OPTION_WINDOW_SCREENSHOT 44
+#define COMP_DISPLAY_OPTION_RUN_WINDOW_SCREENSHOT_KEY 45
+#define COMP_DISPLAY_OPTION_WINDOW_MENU_BUTTON 46
+#define COMP_DISPLAY_OPTION_WINDOW_MENU_KEY 47
+#define COMP_DISPLAY_OPTION_SHOW_DESKTOP_KEY 48
+#define COMP_DISPLAY_OPTION_RAISE_ON_CLICK 49
+#define COMP_DISPLAY_OPTION_AUDIBLE_BELL 50
+#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_KEY 51
+#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_HORZ_KEY 52
+#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_MAXIMIZED_VERT_KEY 53
+#define COMP_DISPLAY_OPTION_HIDE_SKIP_TASKBAR_WINDOWS 54
+#define COMP_DISPLAY_OPTION_TOGGLE_WINDOW_SHADED_KEY 55
+#define COMP_DISPLAY_OPTION_IGNORE_HINTS_WHEN_MAXIMIZED 56
+#define COMP_DISPLAY_OPTION_TERMINAL 57
+#define COMP_DISPLAY_OPTION_RUN_TERMINAL_KEY 58
+#define COMP_DISPLAY_OPTION_PING_DELAY 59
+#define COMP_DISPLAY_OPTION_NUM 60
typedef CompOption *(*GetDisplayOptionsProc) (CompDisplay *display,
int *count);