fix documentation for exclusive in wayland

This commit is contained in:
elkowar 2021-05-03 22:49:43 +02:00
parent 9ea20cd753
commit c130dbe37b
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F

View file

@ -226,8 +226,8 @@ For Wayland users the `<reserve/>` block is replaced by the exclusive field in `
The previous `<window>` block would look like this. The previous `<window>` block would look like this.
```xml ```xml
<window name="main_window" stacking="fg" focusable="false" screen="1"> <window name="main_window" stacking="fg" focusable="false" screen="1" exclusive="true">
<geometry anchor="top left" x="300px" y="50%" width="25%" height="20px" exclusive="true"/> <geometry anchor="top left" x="300px" y="50%" width="25%" height="20px"/>
<widget> <widget>
<main/> <main/>
</widget> </widget>
@ -248,7 +248,7 @@ There are a couple things you can optionally configure on the window itself:
Possible values: `"true"`, `"false"`. Default: `"false"` Possible values: `"true"`, `"false"`. Default: `"false"`
- `screen`: Specifies on which display to show the window in a multi-monitor setup. - `screen`: Specifies on which display to show the window in a multi-monitor setup.
This can be any number, representing the index of your monitor. This can be any number, representing the index of your monitor.
- `exclusive`: Specifies whether or not a surface can be occupied by another. - `exclusive`: Specifies whether or not a surface can be occupied by another.
A surface can be a window, an Eww widget or any layershell surface. A surface can be a window, an Eww widget or any layershell surface.
The details on how it is actually implemented are left to the compositor. The details on how it is actually implemented are left to the compositor.
This option is only valid on Wayland. This option is only valid on Wayland.