marco/0000-change-workspace-titlebar-and-font-and-composite-49944cb7.patch
2022-08-08 15:14:52 +08:00

47 lines
2.0 KiB
Diff

From 49944cb7e9cda0a56e4e0c367e73d025b1e20983 Mon Sep 17 00:00:00 2001
From: longcheng <longcheng@kylinos.com.cn>
Date: Thu, 24 Mar 2022 18:53:11 +0800
Subject: [PATCH 0/5] change workspace titlebar and font and composite
---
configure | 2 +-
src/org.mate.marco.gschema.xml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index f89f5be..3135a6e 100755
--- a/configure
+++ b/configure
@@ -14897,7 +14897,7 @@ fi
if test x$have_xcomposite = xyes; then
MARCO_PC_MODULES="$MARCO_PC_MODULES xcomposite >= $XCOMPOSITE_VERSION xfixes xrender xdamage"
-$as_echo "#define HAVE_COMPOSITE_EXTENSIONS 1" >>confdefs.h
+$as_echo "#define HAVE_COMPOSITE_EXTENSIONS 0" >>confdefs.h
echo "Building with compositing manager"
diff --git a/src/org.mate.marco.gschema.xml b/src/org.mate.marco.gschema.xml
index 6632e6b..afd64b8 100644
--- a/src/org.mate.marco.gschema.xml
+++ b/src/org.mate.marco.gschema.xml
@@ -116,13 +116,13 @@
<description>If true, ignore the titlebar_font option, and use the standard application font for window titles.</description>
</key>
<key name="titlebar-font" type="s">
- <default>'Sans Bold 10'</default>
+ <default>'Noto Sans CJK SC Regular 9'</default>
<summary>Window title font</summary>
<description>A font description string describing a font for window titlebars. The size from the description will only be used if the titlebar_font_size option is set to 0. Also, this option is disabled if the titlebar_uses_desktop_font option is set to true.</description>
</key>
<key name="num-workspaces" type="i">
<range min="1" max="36"/>
- <default>4</default>
+ <default>2</default>
<summary>Number of workspaces</summary>
<description>Number of workspaces. Must be more than zero, and has a fixed maximum to prevent making the desktop unusable by accidentally asking for too many workspaces.</description>
</key>
--
2.27.0