1 Star 0 Fork 23

zhangxingrong/mutter

forked from src-openEuler/mutter 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Add-IS_ALIVE-to-get_property.patch 990 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangxingrong 提交于 2024-07-31 17:51 . add some upstream patchs
From 558b799998957a31a7c364e1bf0c30903f68c44a Mon Sep 17 00:00:00 2001
From: Sebastian Keller <skeller@gnome.org>
Date: Tue, 7 Nov 2023 01:02:55 +0100
Subject: [PATCH] window: Add IS_ALIVE to get_property
This was causing looking glass to wrongly claim that is_alive = false
for all windows.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3367>
(cherry picked from commit 0807579cdd06186c119603836c828e93778e3009)
---
src/core/window.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/core/window.c b/src/core/window.c
index 09e911ae53..91adc03e98 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -426,6 +426,9 @@ meta_window_get_property(GObject *object,
case PROP_ON_ALL_WORKSPACES:
g_value_set_boolean (value, win->on_all_workspaces);
break;
+ case PROP_IS_ALIVE:
+ g_value_set_boolean (value, win->is_alive);
+ break;
case PROP_DISPLAY:
g_value_set_object (value, win->display);
break;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangxingrong/mutter.git
git@gitee.com:zhangxingrong/mutter.git
zhangxingrong
mutter
mutter
master

搜索帮助