mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
osd: add multi-monitor support
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Adds `output` attribute to control which monitor(s) display the window switcher OSD. Supports three modes: - "all": display on all monitors (default) - "pointer": display on monitor with mouse cursor - "keyboard": display on monitor with keyboard focus The configuration structure is also refactored to nest OSD-specific settings (show, style, output, thumbnailLabelFormat) under an <osd> element within <windowSwitcher>, improving logical organization.
This commit is contained in:
parent
79fbb611e0
commit
d65caf8bfd
6 changed files with 105 additions and 25 deletions
|
|
@ -183,6 +183,7 @@ struct rcxml {
|
|||
enum lab_view_criteria criteria;
|
||||
struct wl_list fields; /* struct window_switcher_field.link */
|
||||
enum window_switcher_style style;
|
||||
enum osd_output_criteria output_criteria;
|
||||
char *thumbnail_label_format;
|
||||
} window_switcher;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue