mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Implement window_type criteria token
This commit is contained in:
parent
1f1b1b34d6
commit
f4ec308376
4 changed files with 42 additions and 7 deletions
|
|
@ -31,7 +31,7 @@ struct criteria {
|
|||
uint32_t id; // X11 window ID
|
||||
#endif
|
||||
pcre *window_role;
|
||||
uint32_t window_type;
|
||||
enum atom_name window_type;
|
||||
bool floating;
|
||||
bool tiling;
|
||||
char urgent; // 'l' for latest or 'o' for oldest
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#include <xcb/xproto.h>
|
||||
|
||||
enum atom_name {
|
||||
NET_WM_WINDOW_TYPE_NORMAL,
|
||||
NET_WM_WINDOW_TYPE_DIALOG,
|
||||
NET_WM_WINDOW_TYPE_UTILITY,
|
||||
NET_WM_WINDOW_TYPE_TOOLBAR,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue