Added new criteria 'tiling' / 'floating'. (#2481)

These criteria allow selecting only windows in a specific mode, i.e.,
tiling and floating, respectively.

fixes #2406
This commit is contained in:
Ingo Bürk
2016-09-28 04:04:00 +02:00
committed by Michael Stapelberg
parent 0e73a6e9e7
commit 6a8fb69eff
6 changed files with 68 additions and 4 deletions

View File

@ -474,9 +474,9 @@ struct Match {
M_DOCK_BOTTOM = 3
} dock;
xcb_window_t id;
enum { M_ANY = 0,
M_TILING,
M_FLOATING } floating;
enum { WM_ANY = 0,
WM_TILING,
WM_FLOATING } window_mode;
Con *con_id;
/* Where the window looking for a match should be inserted: