mirror of
https://github.com/labwc/labwc.git
synced 2026-02-21 01:40:26 -05:00
window-rules: add skipTaskbar and skipWindowSwitcher
This commit is contained in:
parent
15cd093f2e
commit
a6f0fc9c62
7 changed files with 51 additions and 7 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include "node.h"
|
||||
#include "ssd.h"
|
||||
#include "view.h"
|
||||
#include "window-rules.h"
|
||||
#include "workspaces.h"
|
||||
#include "xwayland.h"
|
||||
|
||||
|
|
@ -191,7 +192,9 @@ desktop_cycle_view(struct server *server, struct view *start_view,
|
|||
continue;
|
||||
}
|
||||
view = node_view_from_node(node);
|
||||
if (isfocusable(view)) {
|
||||
|
||||
enum property skip = window_rules_get_property(view, "skipWindowSwitcher");
|
||||
if (isfocusable(view) && skip != LAB_PROP_TRUE) {
|
||||
return view;
|
||||
}
|
||||
} while (view != start_view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue