summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandxdgshell.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-09-04 10:33:27 +0200
committerJohan Helsing <johan.helsing@qt.io>2018-09-05 11:22:56 +0000
commit5e429553f6a192745c4fcd98ae5cf2be4c6cb082 (patch)
treee8ae126bc9a4bf5ca43530d40d4427cf9766626c /src/compositor/extensions/qwaylandxdgshell.h
parentdb2dc465606f455718200641974493b499876dbd (diff)
Compositor: Remove XdgToplevel.DefaultDecorationMode
It can't be set or read through public API. Change-Id: Ieebec0d8678a023ea39b3964f92716eda3a51ac0 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshell.h')
-rw-r--r--src/compositor/extensions/qwaylandxdgshell.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshell.h b/src/compositor/extensions/qwaylandxdgshell.h
index aec6193a7..71454f929 100644
--- a/src/compositor/extensions/qwaylandxdgshell.h
+++ b/src/compositor/extensions/qwaylandxdgshell.h
@@ -163,9 +163,8 @@ public:
Q_ENUM(State)
enum DecorationMode {
- DefaultDecorationMode,
- ClientSideDecoration,
- ServerSideDecoration,
+ ClientSideDecoration = 1,
+ ServerSideDecoration = 2,
};
Q_ENUM(DecorationMode)