aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorBonicgamer <44382222+Bonicgamer@users.noreply.github.com>2020-09-08 14:53:34 -0400
committerGuido Cella <guido@guidocella.xyz>2020-12-19 18:35:25 +0100
commit679f6493c97df30cf6604778ac1ce6014dec952b (patch)
tree00795794b706a782a0ce2c5736de77c70d058f7e /config.def.h
parent9c2524b06a486cd01bfc06b73d10e2b903e3d82d (diff)
Made scalebox the way sway does it
Scaling a wlr_box without rounding can sometimes make the borders not connected and nice. I noticed this when setting scale in monrules to 1.2 So I've went and copied what Sway did in desktop/output.c but without having a second function and now using a random rounding macro I found on the internet so as to not use round from math.h.
Diffstat (limited to 'config.def.h')
0 files changed, 0 insertions, 0 deletions