diff options
author | Sarunas Valaskevicius <rakatan@gmail.com> | 2024-01-13 22:28:44 +0000 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-25 11:45:05 +0300 |
commit | 7c080c3b60a48c9b8602f181a1bc436d5df223e8 (patch) | |
tree | a2a1ed00b08f8e8218a6561e3eea2a75c277143e /backend | |
parent | cca2bfbe92205260c75a82ad6b6a7c5bae1599de (diff) |
Fix disappearing menus in QT apps
A motivating example of such problem - Zoom's popups that open on button presses.
Before this fix the popup would flicker and immediately disappear - because the PID is not yet
available for the verification (as the surface has not been associated yet), wlroots would refuse to
focus the popup and instead focus the previous window. This leads QT to interpret this as a sign to
close the popup.
This change moves the PID aqcuisition to an earlier phase - just where the window is created.
Diffstat (limited to 'backend')
0 files changed, 0 insertions, 0 deletions