summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandwindow_p.h
diff options
context:
space:
mode:
authorDavid Edmundson <davidedmundson@kde.org>2017-05-05 17:29:13 +0200
committerDavid Edmundson <davidedmundson@kde.org>2017-05-18 09:53:05 +0000
commite80979756369a19236a9a90ca0bfb0210670b327 (patch)
treeea11493d7a7f834970d2142d2e25e9c8837b43ab /src/client/qwaylandwindow_p.h
parent6e199d1018cb569e1ffaa6ad4d3203333280650d (diff)
Match WaylandWindow scale to what we set on the buffer, not the screen
Currently if the screen scale changes we report a new devicePixelRatio to rendering but we don't send a new set_buffer_scale nor do we update the buffer sizes. This leaves us in a corrupt state. Change-Id: I5bb2bd5eec440cd1ce9080cd3a3dc65448f68298 Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/client/qwaylandwindow_p.h')
-rw-r--r--src/client/qwaylandwindow_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h
index 8e72b1076..29eb6c596 100644
--- a/src/client/qwaylandwindow_p.h
+++ b/src/client/qwaylandwindow_p.h
@@ -235,6 +235,7 @@ protected:
bool mSentInitialResize;
QPoint mOffset;
+ int mScale;
QIcon mWindowIcon;