summaryrefslogtreecommitdiffstats
path: root/src/client/client.pro
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-08-05 10:27:06 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-08-10 11:33:29 +0000
commit1bc3b0fdc8d934c1ab69a902054681896b56d672 (patch)
tree1816ddb62f49e0b99999bbeb8c53f276cd4b4752 /src/client/client.pro
parentb3b4778c237c43cfde02c4750017c37112c315c4 (diff)
Client: Fix popup position for xdg shell
Popups used xdg_surface instead of xdg_popup. It's not possible to set a position for an xdg_surface, because it's supposed to be a top level window (in xdg shell v5). Consequently, popups were treated as top level windows and positioned randomly on Weston. Using xdg_popup instead solves the problem. Task-number: QTBUG-55063 Change-Id: I223348677ef8a1ef1eee6a4c389276a6c802bcb5 Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/client/client.pro')
-rw-r--r--src/client/client.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/client.pro b/src/client/client.pro
index d2d12d9fd..88b9ea124 100644
--- a/src/client/client.pro
+++ b/src/client/client.pro
@@ -62,6 +62,7 @@ SOURCES += qwaylandintegration.cpp \
qwaylandwlshellintegration.cpp \
qwaylandxdgshell.cpp \
qwaylandxdgsurface.cpp \
+ qwaylandxdgpopup_p.cpp \
qwaylandxdgshellintegration.cpp \
qwaylandextendedsurface.cpp \
qwaylandsubsurface.cpp \
@@ -97,6 +98,7 @@ HEADERS += qwaylandintegration_p.h \
qwaylandwlshellintegration_p.h \
qwaylandxdgshell_p.h \
qwaylandxdgsurface_p.h \
+ qwaylandxdgpopup_p.h \
qwaylandxdgshellintegration_p.h \
qwaylandextendedsurface_p.h \
qwaylandsubsurface_p.h \