diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-16 12:48:45 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-16 12:48:45 +0100 |
commit | 47689c7d51465641ea045080d4414b40209cdc96 (patch) | |
tree | e0e28b74bcbcda7efe2bc13e144f2e1d9ba44098 /platform/linuxbsd/x11/display_server_x11.h | |
parent | 673d9c58fde6bb732b9b4c14946cc2e468525bf1 (diff) | |
parent | 34b34b104cd25c0e36b09ff2c666c3e64719f262 (diff) |
Merge pull request #71502 from bruvzg/tooltip_clickthrough
Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips.
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; |