mirror of
https://github.com/labwc/labwc.git
synced 2026-02-07 04:07:42 -05:00
action: support NextWindow option window="root|all"
This enables all windows, not just topmost (root) ones, to be included in the window-switcher. This is helpful when cycling through Gtk applications with open dialogs because although these child windows will always be shown on top of their parents, they do not get keyboard focus with the default configuration. This also applices to `PreviousWindow`. Fixes: #3332 Suggested-by: @airtower-luna
This commit is contained in:
parent
645a7b56ce
commit
ff94591578
5 changed files with 29 additions and 4 deletions
|
|
@ -133,4 +133,9 @@ enum cycle_app_id_filter {
|
|||
CYCLE_APP_ID_CURRENT,
|
||||
};
|
||||
|
||||
enum cycle_window_filter {
|
||||
CYCLE_WINDOW_ROOT,
|
||||
CYCLE_WINDOW_ALL,
|
||||
};
|
||||
|
||||
#endif /* LABWC_CONFIG_TYPES_H */
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ struct cycle_filter {
|
|||
enum cycle_workspace_filter workspace;
|
||||
enum cycle_output_filter output;
|
||||
enum cycle_app_id_filter app_id;
|
||||
enum cycle_window_filter window;
|
||||
};
|
||||
|
||||
struct cycle_state {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue