config: add just-mapped window criteria
This commit is contained in:
parent
e36ccd560c
commit
5f1268cada
16 changed files with 95 additions and 4 deletions
|
|
@ -255,6 +255,11 @@ pub enum WindowCriterion<'a> {
|
|||
Focus(Seat),
|
||||
/// Matches if the window is fullscreen.
|
||||
Fullscreen,
|
||||
/// Matches if the window has/hasn't just been mapped.
|
||||
///
|
||||
/// This is true for one iteration of the compositor's main loop immediately after the
|
||||
/// window has been mapped.
|
||||
JustMapped,
|
||||
}
|
||||
|
||||
impl WindowCriterion<'_> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue