fix: some config option miss hot reload

This commit is contained in:
DreamMaoMao 2025-02-20 12:27:49 +08:00
parent 3d0d9d76c7
commit 1d8f226ca3
2 changed files with 2 additions and 2 deletions

View file

@ -19,6 +19,7 @@ scroller_proportion_preset=0.5,0.8,1.0
new_is_master=1
default_mfact=0.55
default_nmaster=1
smartgaps=0
# Overview Setting
hotarea_size=10
@ -36,7 +37,6 @@ sloppyfocus=1
warpcursor=1
# Appearance
smartgaps=0
gappih=5
gappiv=5
gappoh=10

View file

@ -876,7 +876,7 @@ void client_apply_clip(Client *c) {
animationScale scale_data;
scale_data.width = clip_box.width - 2 * c->bw;
scale_data.height = clip_box.height -2 * c->bw;
scale_data.height = clip_box.height - 2* c->bw;
wlr_scene_subsurface_tree_set_clip(&c->scene_surface->node, &clip_box);
apply_border(c, clip_box, offset);
if(c->animation.running) {