Add is_resizable and is_decorated on Wayland
This commit brings `is_resizable` and `is_decorated`. Since the client is responsible for both of them, they could be tracked without deep syncing with server.
This commit is contained in:
parent
ab1f636960
commit
e8d910ffd3
2 changed files with 14 additions and 4 deletions
|
|
@ -686,7 +686,7 @@ impl Window {
|
|||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - **Wayland / X11:** Not implemented.
|
||||
/// - **X11:** Not implemented.
|
||||
/// - **iOS / Android / Web:** Unsupported.
|
||||
#[inline]
|
||||
pub fn is_resizable(&self) -> bool {
|
||||
|
|
@ -777,7 +777,7 @@ impl Window {
|
|||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - **Wayland / X11:** Not implemented.
|
||||
/// - **X11:** Not implemented.
|
||||
/// - **iOS / Android / Web:** Unsupported.
|
||||
#[inline]
|
||||
pub fn is_decorated(&self) -> bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue