!21 Fixed the issue of QTDialog window not having a maximize minimize button
From: @chenhchenh Reviewed-by: @xu-think-about-it Signed-off-by: @xu-think-about-it
This commit is contained in:
commit
77cccfccb6
26
0003-fix-qtdialog-no-minimize-and-maximize.patch
Normal file
26
0003-fix-qtdialog-no-minimize-and-maximize.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From cfe205c70e282c6264544ca003b03ee1ae6b0d14 Mon Sep 17 00:00:00 2001
|
||||
From: Chen Hao <dev11201@linx-info.com>
|
||||
Date: Tue, 17 Dec 2024 17:04:29 +0800
|
||||
Subject: [PATCH] fix-qtdialog-minimize-maximize
|
||||
|
||||
---
|
||||
src/core/window.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/core/window.c b/src/core/window.c
|
||||
index bc10e27..66e566a 100644
|
||||
--- a/src/core/window.c
|
||||
+++ b/src/core/window.c
|
||||
@@ -6637,7 +6637,8 @@ recalc_window_features (MetaWindow *window)
|
||||
window->has_resize_func = FALSE;
|
||||
}
|
||||
|
||||
- if (window->type != META_WINDOW_NORMAL)
|
||||
+ if (window->type != META_WINDOW_NORMAL &&
|
||||
+ window->type != META_WINDOW_DIALOG)
|
||||
{
|
||||
window->has_minimize_func = FALSE;
|
||||
window->has_maximize_func = FALSE;
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
Name: marco
|
||||
Version: %{branch}.3
|
||||
%if 0%{?rel_build}
|
||||
Release: 4
|
||||
Release: 5
|
||||
%else
|
||||
Release: 0.12%{?git_rel}
|
||||
%endif
|
||||
@ -32,6 +32,7 @@ URL: http://mate-desktop.org
|
||||
Patch0: 0000-change-workspace-titlebar-and-font-and-composite-49944cb7.patch
|
||||
Patch1: 0001-fix-disabled-Alt-F1-to-popop-mate-menu-b638cc7c.patch
|
||||
Patch2: 0002-feature-menu-pop-up-start-menu-when-press-super-key-bf212ac7.patch
|
||||
Patch3: 0003-fix-qtdialog-no-minimize-and-maximize.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gtk3-devel
|
||||
@ -149,6 +150,9 @@ desktop-file-install \
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 17 2024 chenhao <dev11201@linx-info.com> - 1.22.3-5
|
||||
- Fixed the QTDialog window not having a maximize minimize button
|
||||
|
||||
* Wed Jul 06 2022 longcheng <longcheng@kylinos.com.cn> - 1.22.3-4
|
||||
- KYOS-F: changed number of workspace to 2; set marco compositor to 0; changed title-bar font to 'Noto Sans CJK SC Regular'
|
||||
- KYOS-F: fix: disabled Alt+F1 to popop mate menu Related #28275
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user