diff options
| author | Morteza Jamshidi <morteza.jamshidi@qt.io> | 2025-11-14 11:21:39 +0100 |
|---|---|---|
| committer | Morteza Jamshidi <morteza.jamshidi@qt.io> | 2025-12-18 20:08:46 +0100 |
| commit | 08596563298f8bb9e4433f1c0810235bda69ee2f (patch) | |
| tree | 23efb2bbc049d1ad5f647381ed124bc02fddf5fe /tests/auto/gui/kernel/qhighdpi/tst_qhighdpi.cpp | |
| parent | 511967b2c60fe01b723324e424f58c575eca81bc (diff) | |
When WS_EX_LAYERED and WS_EX_TRANSPARENT style are both used when
creating window in CreateWindowEx then for some reason
UpdateLayeredWindowIndirect api fails, but adding WS_EX_LAYERED
separately with SetWindowLongPtr is safe, so I removed it from
WindowCreationData::fromWindow and now its later added via
setWindowOpacity function call if needed.
Fixes: QTBUG-135333
Change-Id: I030bd3c17061b387424eeaa2a6fc89f6f157d793
Reviewed-by: Nodir Temirkhodjaev <nodir.temir@gmail.com>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tests/auto/gui/kernel/qhighdpi/tst_qhighdpi.cpp')
0 files changed, 0 insertions, 0 deletions
