]> git.mdlowis.com Git - proto/labwc.git/commit
osd: support percent values for window switcher width
authorDroc <japhack@yahoo.com>
Tue, 26 Mar 2024 10:12:19 +0000 (05:12 -0500)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 8 Apr 2024 13:44:53 +0000 (15:44 +0200)
commiteb5e855b6949c47b007f62562d75eac0a5a6c60f
treee52c3688b819bc4776221edc9bb02971ea59b7c1
parent6e7f1b430fb530ae0266e592647963b20901aa56
osd: support percent values for window switcher width

Add ability to set width with percentage of monitor instead of just pixels.
With this the OSD sizes itself properly on both my 4k and 2k monitors.

example: 50% or 75% instead of 600, max 100%
docs/labwc-theme.5.scd
docs/themerc
include/theme.h
src/osd.c
src/theme.c