mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix windows
This commit is contained in:
@@ -44,7 +44,10 @@ enum HitTestResult {
|
||||
|
||||
#[cfg(windows)]
|
||||
mod windows {
|
||||
use super::HitTestResult;
|
||||
use super::{
|
||||
HitTestResult, BORDERLESS_RESIZE_INSET, BOTTOM, BOTTOMLEFT, BOTTOMRIGHT, CLIENT, LEFT, RIGHT,
|
||||
TOP, TOPLEFT, TOPRIGHT,
|
||||
};
|
||||
|
||||
use tao::{
|
||||
dpi::PhysicalSize,
|
||||
@@ -130,9 +133,9 @@ mod windows {
|
||||
}
|
||||
|
||||
// Returns whether handled or not
|
||||
pub fn handle_request<T: super::UserEvent>(
|
||||
context: super::Context<T>,
|
||||
window_id: super::WindowId,
|
||||
pub fn handle_request<T: crate::UserEvent>(
|
||||
context: crate::Context<T>,
|
||||
window_id: crate::WindowId,
|
||||
request: &str,
|
||||
) -> bool {
|
||||
if let Some(args) = request.strip_prefix(MESSAGE_MOUSEMOVE) {
|
||||
|
||||
@@ -72,6 +72,22 @@ Enables the inner_size command without any pre-configured scope.
|
||||
|
||||
Denies the inner_size command without any pre-configured scope.
|
||||
|
||||
## allow-internal-on-mousedown
|
||||
|
||||
Enables the internal_on_mousedown command without any pre-configured scope.
|
||||
|
||||
## deny-internal-on-mousedown
|
||||
|
||||
Denies the internal_on_mousedown command without any pre-configured scope.
|
||||
|
||||
## allow-internal-on-mousemove
|
||||
|
||||
Enables the internal_on_mousemove command without any pre-configured scope.
|
||||
|
||||
## deny-internal-on-mousemove
|
||||
|
||||
Denies the internal_on_mousemove command without any pre-configured scope.
|
||||
|
||||
## allow-internal-toggle-maximize
|
||||
|
||||
Enables the internal_toggle_maximize command without any pre-configured scope.
|
||||
|
||||
Reference in New Issue
Block a user