mirror of
https://github.com/labwc/labwc.git
synced 2026-02-05 04:06:33 -05:00
window-switcher: add order parameter to allow stable window list ordering
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Add a new configuration option to control the window switcher traversal order. `order="focus"` cycling is convenient for quick toggling, but some users - me as well - prefer a stable taskbar-like order which can now be achieved with `order="age"`.
This commit is contained in:
parent
eecb5d0947
commit
8fdf375af3
9 changed files with 45 additions and 2 deletions
|
|
@ -186,6 +186,7 @@ struct rcxml {
|
|||
enum cycle_osd_style style;
|
||||
enum cycle_osd_output_criteria output_criteria;
|
||||
char *thumbnail_label_format;
|
||||
enum window_switcher_order order;
|
||||
} window_switcher;
|
||||
|
||||
struct wl_list window_rules; /* struct window_rule.link */
|
||||
|
|
|
|||
|
|
@ -107,6 +107,11 @@ enum lab_window_type {
|
|||
LAB_WINDOW_TYPE_LEN
|
||||
};
|
||||
|
||||
enum window_switcher_order {
|
||||
WINDOW_SWITCHER_ORDER_FOCUS,
|
||||
WINDOW_SWITCHER_ORDER_AGE,
|
||||
};
|
||||
|
||||
enum cycle_osd_style {
|
||||
CYCLE_OSD_STYLE_CLASSIC,
|
||||
CYCLE_OSD_STYLE_THUMBNAIL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue