diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-01-15 12:05:25 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-01-16 11:42:49 +0200 |
commit | 34b34b104cd25c0e36b09ff2c666c3e64719f262 (patch) | |
tree | 217afb83e7cfce5f10e07c5824062c2242a105ee /platform/linuxbsd/x11/display_server_x11.h | |
parent | 0f0b853c988f2c3ff322d8eaf97dd4f8d5de46c8 (diff) | |
download | redot-engine-34b34b104cd25c0e36b09ff2c666c3e64719f262.tar.gz |
Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips. Expose `window_set_mouse_passthrough` to `Window`.
Diffstat (limited to 'platform/linuxbsd/x11/display_server_x11.h')
-rw-r--r-- | platform/linuxbsd/x11/display_server_x11.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linuxbsd/x11/display_server_x11.h b/platform/linuxbsd/x11/display_server_x11.h index 43a66f95b2..437766d953 100644 --- a/platform/linuxbsd/x11/display_server_x11.h +++ b/platform/linuxbsd/x11/display_server_x11.h @@ -149,6 +149,8 @@ class DisplayServerX11 : public DisplayServer { Callable input_text_callback; Callable drop_files_callback; + Vector<Vector2> mpath; + WindowID transient_parent = INVALID_WINDOW_ID; HashSet<WindowID> transient_children; @@ -169,6 +171,7 @@ class DisplayServerX11 : public DisplayServer { bool maximized = false; bool is_popup = false; bool layered_window = false; + bool mpass = false; Rect2i parent_safe_rect; @@ -245,6 +248,7 @@ class DisplayServerX11 : public DisplayServer { Atom _process_selection_request_target(Atom p_target, Window p_requestor, Atom p_property, Atom p_selection) const; void _handle_selection_request_event(XSelectionRequestEvent *p_event) const; + void _update_window_mouse_passthrough(WindowID p_window); String _clipboard_get_impl(Atom p_source, Window x11_window, Atom target) const; String _clipboard_get(Atom p_source, Window x11_window) const; |