mirror of
https://github.com/storytold/winit.git
synced 2026-11-29 01:35:59 +01:00
Add Window::is_maximized method (#1804)
This commit is contained in:
1 parent
05125029c6
commit
3f1e09ec0e
11 files changed
+49
-7
No files matched your search
@@ -373,6 +373,12 @@ impl Window {
|
||||
x11_or_wayland!(match self; Window(w) => w.set_maximized(maximized))
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn is_maximized(&self) -> bool {
|
||||
// TODO: Not implemented
|
||||
false
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn set_minimized(&self, minimized: bool) {
|
||||
x11_or_wayland!(match self; Window(w) => w.set_minimized(minimized))
|
||||
|
||||
Reference in new issue
Block a user