mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
osd: allow window switcher to temporary unshade windows
This can be configured with a new unshade="yes|no" argument for windowSwitcher in rc.xml Fixes: #3111
This commit is contained in:
parent
babd7af8f8
commit
364a1d5207
7 changed files with 29 additions and 5 deletions
|
|
@ -179,6 +179,7 @@ struct rcxml {
|
|||
bool show;
|
||||
bool preview;
|
||||
bool outlines;
|
||||
bool unshade;
|
||||
enum lab_view_criteria criteria;
|
||||
struct wl_list fields; /* struct window_switcher_field.link */
|
||||
enum window_switcher_style style;
|
||||
|
|
|
|||
|
|
@ -303,6 +303,7 @@ struct server {
|
|||
/* Set when in cycle (alt-tab) mode */
|
||||
struct osd_state {
|
||||
struct view *cycle_view;
|
||||
bool preview_was_shaded;
|
||||
bool preview_was_enabled;
|
||||
struct wlr_scene_node *preview_node;
|
||||
struct wlr_scene_tree *preview_parent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue