mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 21:00:04 -04:00
Allow serialization for WindowType (#762)
* Allow serialization for WindowType * Update CHANGELOG.md * Update CHANGELOG.md Co-Authored-By: saschagrunert <sgrunert@suse.com>
This commit is contained in:
committed by
Francesca Plebani
parent
ddf133dd66
commit
26e37590e8
@@ -24,6 +24,7 @@ impl From<bool> for StateOperation {
|
||||
/// X window type. Maps directly to
|
||||
/// [`_NET_WM_WINDOW_TYPE`](https://specifications.freedesktop.org/wm-spec/wm-spec-1.5.html).
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
pub enum WindowType {
|
||||
/// A desktop feature. This can include a single window containing desktop icons with the same dimensions as the
|
||||
/// screen, allowing the desktop environment to have full control of the desktop, without the need for proxying
|
||||
|
||||
Reference in New Issue
Block a user