on xenial help sign in
raise the window, when it's in the background
commit4e1778058aade5ff0d068af1a8add22c5d18ec55 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 8 Sep 2016, 18:20 (10 years ago) parent74fdc15
1 file changed+1
qml/Stages/DecoratedWindow.qml+1
qml/Stages/DecoratedWindow.qml+1
@@ -162,6 +162,7 @@ FocusScope {
162162 property bool dragging: false
163163 onPressed: {
164164 if (mouse.button == Qt.LeftButton && mouse.modifiers == Qt.AltModifier) {
165+ root.decorationPressed(); // to raise it
165166 moveHandler.handlePressedChanged(true, Qt.LeftButton, mouse.x, mouse.y);
166167 dragging = true;
167168 mouse.accepted = true;