config: add workspace window criteria
This commit is contained in:
parent
5ad6ca4dd3
commit
51e752992f
13 changed files with 88 additions and 3 deletions
|
|
@ -5,6 +5,7 @@ pub(crate) mod string_error;
|
|||
|
||||
use {
|
||||
crate::{
|
||||
Workspace,
|
||||
client::ClientMatcher,
|
||||
input::Seat,
|
||||
video::Mode,
|
||||
|
|
@ -117,6 +118,7 @@ pub enum WindowCriterionIpc {
|
|||
SeatFocus(Seat),
|
||||
Fullscreen,
|
||||
JustMapped,
|
||||
Workspace(Workspace),
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Debug, Hash, Eq, PartialEq)]
|
||||
|
|
@ -127,4 +129,5 @@ pub enum WindowCriterionStringField {
|
|||
XClass,
|
||||
XInstance,
|
||||
XRole,
|
||||
Workspace,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue