summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandxdgshell.h
diff options
context:
space:
mode:
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>2016-06-05 11:55:55 +0200
committerPier Luigi Fiorini <pierluigi.fiorini@hawaiios.org>2016-06-23 16:06:51 +0000
commitdb229d2502ae92bb9b483d83d212b2eaa29da622 (patch)
tree607773e3b75c4344d2987a85d75c671a9af74384 /src/compositor/extensions/qwaylandxdgshell.h
parent5c9be7fc18e4b3c7cfa2e5b562dc25ed0006035c (diff)
Emit a signal when QWaylandXdgSurface changes window type
This allows compositors to track when a window changes type and act accordingly (for example do a different show animation). Compositors might also want to keep track of the window type in order to filter out windows when presenting them to the user, think of a spread windows effect that only shows top level windows. Change-Id: I13c0ed3db2bdc6318ff1f4345d065e188b7c2435 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshell.h')
-rw-r--r--src/compositor/extensions/qwaylandxdgshell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshell.h b/src/compositor/extensions/qwaylandxdgshell.h
index 2da7f3d3d..a12d16480 100644
--- a/src/compositor/extensions/qwaylandxdgshell.h
+++ b/src/compositor/extensions/qwaylandxdgshell.h
@@ -177,6 +177,8 @@ Q_SIGNALS:
void showWindowMenu(QWaylandInputDevice *inputDevice, const QPoint &localSurfacePosition);
void startMove(QWaylandInputDevice *inputDevice);
void startResize(QWaylandInputDevice *inputDevice, ResizeEdge edges);
+ void setTopLevel();
+ void setTransient();
void setMaximized();
void unsetMaximized();
void setFullscreen(QWaylandOutput *output);