diff options
author | Mikolaj Boc <[email protected]> | 2022-12-20 15:56:49 +0100 |
---|---|---|
committer | Mikolaj Boc <[email protected]> | 2022-12-22 19:39:00 +0100 |
commit | c15a8750bcce3d4dabeebcc8bb4c15db31c7f637 (patch) | |
tree | 6e9eccefbe350488b4c2d51fbd142a0b19e86d19 /src/plugins/platforms/wasm/qwasmcssstyle.cpp | |
parent | cf2651ae80a34b388a6bbb41b5e62c7b352e8a80 (diff) |
Handle the mouse events in the window itself
It is now not the screen that handles all of the events and relays
them to individual windows, but the window elements themselves.
This allows us to get rid of manual window targeting logic and let
the browser do its job.
Fixes: QTBUG-107217
Pick-to: 6.5
Change-Id: I4dc5a74b1343f027f72c1da4623b99cd28bfbb38
Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmcssstyle.cpp')
-rw-r--r-- | src/plugins/platforms/wasm/qwasmcssstyle.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/platforms/wasm/qwasmcssstyle.cpp b/src/plugins/platforms/wasm/qwasmcssstyle.cpp index 2fc25271299..a1c6b6a365a 100644 --- a/src/plugins/platforms/wasm/qwasmcssstyle.cpp +++ b/src/plugins/platforms/wasm/qwasmcssstyle.cpp @@ -29,7 +29,6 @@ const char *Style = R"css( .qt-window { box-shadow: rgb(0 0 0 / 20%) 0px 10px 16px 0px, rgb(0 0 0 / 19%) 0px 6px 20px 0px; - pointer-events: none; position: absolute; background-color: lightgray; } @@ -41,7 +40,6 @@ const char *Style = R"css( .resize-outline { position: absolute; - pointer-events: all; display: none; } @@ -119,7 +117,6 @@ const char *Style = R"css( overflow: hidden; height: 18px; padding-bottom: 4px; - pointer-events: all; } .qt-window.has-title-bar .title-bar { @@ -184,7 +181,6 @@ const char *Style = R"css( } .title-bar .action-button { pointer-events: all; - align-self: end; } .qt-window.blocked div { |