mirror of
https://github.com/labwc/labwc.git
synced 2026-03-18 05:33:53 -04:00
action: sync action arrays
The previous commit desynchronized the action type arrays causing Move operations to be treated as Raise actions. Fixes: #3398 Reported-By: Domo via IRC
This commit is contained in:
parent
d6dab9139f
commit
8d8654db02
1 changed files with 3 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ struct action_arg_list {
|
|||
struct wl_list value;
|
||||
};
|
||||
|
||||
/* Warning: Any change in this enum needs to be reflected in the action_names[] array below */
|
||||
enum action_type {
|
||||
ACTION_TYPE_INVALID = 0,
|
||||
ACTION_TYPE_NONE,
|
||||
|
|
@ -137,6 +138,7 @@ enum action_type {
|
|||
ACTION_TYPE_HIDE_CURSOR,
|
||||
};
|
||||
|
||||
/* Warning: Any change in this array needs to be reflected in the action_type enum above */
|
||||
const char *action_names[] = {
|
||||
"INVALID",
|
||||
"None",
|
||||
|
|
@ -166,9 +168,9 @@ const char *action_names[] = {
|
|||
"Focus",
|
||||
"Unfocus",
|
||||
"Iconify",
|
||||
"Move",
|
||||
"Raise",
|
||||
"Lower",
|
||||
"Move",
|
||||
"Resize",
|
||||
"ResizeRelative",
|
||||
"MoveTo",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue