feat(x11): Add Window::drag_resize_window (#2515)
This commit is contained in:
parent
08ce3af3e1
commit
9225b2812e
14 changed files with 280 additions and 15 deletions
|
|
@ -24,7 +24,7 @@ use crate::{
|
|||
error,
|
||||
event::{self, StartCause, VirtualKeyCode},
|
||||
event_loop::{self, ControlFlow, EventLoopWindowTarget as RootELW},
|
||||
window::{self, CursorGrabMode, Theme, WindowButtons, WindowLevel},
|
||||
window::{self, CursorGrabMode, ResizeDirection, Theme, WindowButtons, WindowLevel},
|
||||
};
|
||||
|
||||
fn ndk_keycode_to_virtualkeycode(keycode: Keycode) -> Option<event::VirtualKeyCode> {
|
||||
|
|
@ -1021,6 +1021,15 @@ impl Window {
|
|||
))
|
||||
}
|
||||
|
||||
pub fn drag_resize_window(
|
||||
&self,
|
||||
_direction: ResizeDirection,
|
||||
) -> Result<(), error::ExternalError> {
|
||||
Err(error::ExternalError::NotSupported(
|
||||
error::NotSupportedError::new(),
|
||||
))
|
||||
}
|
||||
|
||||
pub fn set_cursor_hittest(&self, _hittest: bool) -> Result<(), error::ExternalError> {
|
||||
Err(error::ExternalError::NotSupported(
|
||||
error::NotSupportedError::new(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue