Projects
Eulaceura:Factory
kiran-menu
_service:obs_scm:1012-fix-menu-applet-window-Fi...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:1012-fix-menu-applet-window-Fix-xnest-connection-crash.patch of Package kiran-menu
From 0e0899576d7a03b53ef7189d641b54850c9f0fca Mon Sep 17 00:00:00 2001 From: yangfeng <yangfeng@kylinsec.com.cn> Date: Wed, 20 Mar 2024 12:06:29 +0800 Subject: [PATCH 1012/1014] fix(menu-applet-window):Fix xnest connection crash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复xnest连接崩溃问题 --- src/menu/menu-applet-window.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/menu/menu-applet-window.cpp b/src/menu/menu-applet-window.cpp index fdaea92..5266fe8 100644 --- a/src/menu/menu-applet-window.cpp +++ b/src/menu/menu-applet-window.cpp @@ -387,7 +387,10 @@ void MenuAppletWindow::init_window_visual() /*设置窗口的Visual为RGBA visual,确保窗口背景透明度可以正常绘制 */ rgba_visual = get_screen()->get_rgba_visual(); - gtk_widget_set_visual(widget, rgba_visual->gobj()); + if (rgba_visual && rgba_visual->gobj()) + { + gtk_widget_set_visual(widget, rgba_visual->gobj()); + } } /* app列表页Stack */ -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2