Commit 262eb57e authored by Eetu's avatar Eetu

[lipstick] Add windiw raising and lowering back

parent f72213f9
From b7d0db08c5c691b139a3eaaee32703db6405a9c9 Mon Sep 17 00:00:00 2001
From: Eetu <eetu.kahelin@necunos.com>
Date: Mon, 15 Apr 2019 16:20:24 +0300
Subject: [PATCH] [lower/raise window] Add window lowering and raising
---
src/compositor/lipstickcompositor.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/compositor/lipstickcompositor.cpp b/src/compositor/lipstickcompositor.cpp
index e4e6b911..2deb081c 100644
--- a/src/compositor/lipstickcompositor.cpp
+++ b/src/compositor/lipstickcompositor.cpp
@@ -188,6 +188,13 @@ void LipstickCompositor::onExtendedSurfaceReady(QtWayland::ExtendedSurface *extS
LipstickCompositorWindow *window = surfaceWindow(surface);
if(window)
window->setExtendedSurface(extSurface);
+
+ connect(extSurface, &QtWayland::ExtendedSurface::raiseRequested, this, [this, window]() {
+ windowRaised(window);
+ });
+ connect(extSurface, &QtWayland::ExtendedSurface::lowerRequested, this, [this, window]() {
+ windowLowered(window);
+ });
}
bool LipstickCompositor::openUrl(QWaylandClient *client, const QUrl &url)
......@@ -4,8 +4,10 @@ LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24"
SRC_URI = "git://github.com/AsteroidOS/lipstick.git;protocol=https \
file://0001-Disables-tests-and-doc.patch \
file://Notifications/"
file://0001-Disables-tests-and-doc.patch \
file://Notifications/ \
file://0001-lower-raise-window-Add-window-lowering-and-raising.patch \
"
SRCREV = "cf9b21228764dc87bbe22c3d187e322c793a4930"
PR = "r1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment