aboutsummaryrefslogtreecommitdiff
path: root/src/source_private.h
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2020-12-01 16:40:33 -0700
committerHarry Jeffery <harry@exec64.co.uk>2020-12-02 00:20:01 +0000
commit91e06fff2d6f15b9d69838e513b9025985f58b57 (patch)
treef97bcea4f69125cb097a883d1d97ea31f1c33d96 /src/source_private.h
parent84a1f7aa83326f1e4aac20e02d81f9c8dc4d5310 (diff)
downloadimv-91e06fff2d6f15b9d69838e513b9025985f58b57.tar.gz
wayland: Fix initial black screen due to size of 0x0
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/master/stable/xdg-shell/xdg-shell.xml#L1037 states regarding xdg_toplevel.configure "The width and height arguments specify a hint to the window". imv was using these dimensions even if they are 0x0, which is valid for the compositor to send. Clearly this is a bad hint and should be ignored. This patch does that, and fixes #293.
Diffstat (limited to 'src/source_private.h')
0 files changed, 0 insertions, 0 deletions