mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Update documentation to make combining window types clearer
This commit is contained in:
@@ -23,6 +23,7 @@ impl From<bool> for StateOperation {
|
||||
bitflags! {
|
||||
/// X window type. Maps directly to
|
||||
/// [`_NET_WM_WINDOW_TYPE`](https://specifications.freedesktop.org/wm-spec/wm-spec-1.5.html).
|
||||
/// Combining window types is possible with the `|` operator.
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
pub struct WindowType: u32 {
|
||||
/// A desktop feature. This can include a single window containing desktop icons with the same dimensions as the
|
||||
|
||||
Reference in New Issue
Block a user