From bed6f7c5d5cd8f371524176c1fc7a55fe7ecc9bb Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 27 Jun 2025 21:46:24 +1000 Subject: internal: windowinfo pass in client So it can be used for clients other than the active one Also fix text below screencopyview --- modules/windowinfo/WindowInfo.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'modules/windowinfo/WindowInfo.qml') diff --git a/modules/windowinfo/WindowInfo.qml b/modules/windowinfo/WindowInfo.qml index 32b21e4..8ac94ef 100644 --- a/modules/windowinfo/WindowInfo.qml +++ b/modules/windowinfo/WindowInfo.qml @@ -2,6 +2,7 @@ import "root:/widgets" import "root:/services" import "root:/config" import Quickshell +import Quickshell.Hyprland import QtQuick import QtQuick.Layouts @@ -9,6 +10,7 @@ Item { id: root required property ShellScreen screen + required property HyprlandToplevel client implicitWidth: child.implicitWidth implicitHeight: screen.height * Config.winfo.sizes.heightMult @@ -23,6 +25,7 @@ Item { Preview { screen: root.screen + client: root.client } ColumnLayout { @@ -38,7 +41,9 @@ Item { color: Colours.palette.m3surfaceContainer radius: Appearance.rounding.normal - Details {} + Details { + client: root.client + } } StyledRect { @@ -50,6 +55,8 @@ Item { Buttons { id: buttons + + client: root.client } } } -- cgit v1.2.3-freya