Add "machine" criterion to match WM_CLIENT_MACHINE

Closes #3981

Add "%machine" title_format placeholder
Add "machine" to the IPC and layout saving/restoring
This commit is contained in:
Albert Safin
2020-04-08 10:58:18 +00:00
committed by Orestis Floros
parent 921226783f
commit 32c10a19f2
16 changed files with 86 additions and 10 deletions

View File

@ -414,6 +414,9 @@ struct Window {
* for_window. */
char *role;
/** WM_CLIENT_MACHINE of the window */
char *machine;
/** Flag to force re-rendering the decoration upon changes */
bool name_x_changed;
@ -500,6 +503,7 @@ struct Match {
struct regex *mark;
struct regex *window_role;
struct regex *workspace;
struct regex *machine;
xcb_atom_t window_type;
enum {
U_DONTCHECK = -1,