config: add just-mapped window criteria
This commit is contained in:
parent
e36ccd560c
commit
5f1268cada
16 changed files with 95 additions and 4 deletions
|
|
@ -1815,6 +1815,10 @@
|
|||
"fullscreen": {
|
||||
"type": "boolean",
|
||||
"description": "Matches if the window is/isn't fullscreen."
|
||||
},
|
||||
"just-mapped": {
|
||||
"type": "boolean",
|
||||
"description": "Matches if the window has/hasn't just been mapped.\n\nThis is true for one iteration of the compositor's main loop immediately after the\nwindow has been mapped.\n"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
|
|||
|
|
@ -4064,6 +4064,15 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `just-mapped` (optional):
|
||||
|
||||
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.
|
||||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
|
||||
<a name="types-WindowMatchExactly"></a>
|
||||
### `WindowMatchExactly`
|
||||
|
|
|
|||
|
|
@ -3503,6 +3503,14 @@ WindowMatch:
|
|||
kind: boolean
|
||||
required: false
|
||||
description: Matches if the window is/isn't fullscreen.
|
||||
just-mapped:
|
||||
kind: boolean
|
||||
required: false
|
||||
description: |
|
||||
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.
|
||||
|
||||
|
||||
WindowMatchExactly:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue