diff --git a/config.conf b/config.conf index d9e7557..ebb7b30 100644 --- a/config.conf +++ b/config.conf @@ -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 diff --git a/maomao.c b/maomao.c index 3ec4277..7e7d87d 100644 --- a/maomao.c +++ b/maomao.c @@ -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) {