aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland-server.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-03 21:16:25 +0200
committerSimon Ser <contact@emersion.fr>2023-05-09 09:33:06 +0000
commit0e0ae7e290f28f4ee4ad807acb955d6b276d9e58 (patch)
tree41b78402bf7b96e90045bed8df0fbbaefc43c0d8 /src/wayland-server.c
parentevent-loop: optimize timer check logic (diff)
downloadwayland-0e0ae7e290f28f4ee4ad807acb955d6b276d9e58.tar
wayland-0e0ae7e290f28f4ee4ad807acb955d6b276d9e58.tar.gz
wayland-0e0ae7e290f28f4ee4ad807acb955d6b276d9e58.tar.bz2
wayland-0e0ae7e290f28f4ee4ad807acb955d6b276d9e58.tar.lz
wayland-0e0ae7e290f28f4ee4ad807acb955d6b276d9e58.tar.xz
wayland-0e0ae7e290f28f4ee4ad807acb955d6b276d9e58.tar.zst
wayland-0e0ae7e290f28f4ee4ad807acb955d6b276d9e58.zip
util: simplify wl_fixed_to_double()
We can just use a simple division instead of bit operations with magic numbers. Readability matters more than performance here. References: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/296 Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'src/wayland-server.c')
0 files changed, 0 insertions, 0 deletions