summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandinputdevice.cpp
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-01-18 15:53:46 +0200
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-02-11 13:47:12 +0000
commit6dff366179a40abd8327170d926cb535ad0ff14d (patch)
tree64f3c00cd0374b4eab89a7d962e7b969299cc620 /src/client/qwaylandinputdevice.cpp
parentdd69958792021e247da8caa7e9ecd503fd5e2540 (diff)
Fix popup menus with no parent windows
The QMenu API doesn't play well with Wayland. You can do: QMenu menu; menu.popup(someGlobalPos); which is completely broken on wayland. If some popup window doesn't have a transient parent use the current focus window for that. Fixes right-click popups in qdbusviewer and other apps. Change-Id: I3227f4ec27431ca8ec156971cbfdbf1e848a0527 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/client/qwaylandinputdevice.cpp')
0 files changed, 0 insertions, 0 deletions