Skip to content

Commit d452a3d

Browse files
committed
feat(gnome-wayland): 添加自动关闭Xwayland功能
新增 autoclose-xwayland 选项,当所有相关的X11客户端消失时自动终止Xwayland, 以优化资源使用和系统性能。
1 parent 4914ce7 commit d452a3d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

home/linux/gui/gnome-wayland/values/gnome.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ in
3636
"scale-monitor-framebuffer" # Enables fractional scaling (125% 150% 175%)
3737
"variable-refresh-rate" # Enables Variable Refresh Rate (VRR) on compatible displays
3838
"xwayland-native-scaling" # Scales Xwayland applications to look crisp on HiDPI screens
39+
"autoclose-xwayland" # automatically terminates Xwayland if all relevant X11 clients are gone
3940
];
4041
};
4142
# 挂起恢复有问题

0 commit comments

Comments
 (0)