summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2021-04-25 11:40:49 -0500
committerDudemanguy <random342@airmail.cc>2021-04-26 00:54:26 +0000
commit61a387ac952d8334f26dd2d2efe150bcdcbbaafa (patch)
tree1a9aa99a38434a1ac93a37f3f4d7edeafc65d401 /player/lua
parentc1568a3a6c61252d5fc003602f00c0264a196822 (diff)
downloadmpv-61a387ac952d8334f26dd2d2efe150bcdcbbaafa.tar.bz2
mpv-61a387ac952d8334f26dd2d2efe150bcdcbbaafa.tar.xz
wayland: ignore toplevel listener if geometry is 0
It turns out that if a user specifies fullscreen=yes and a width/height in an autoprofile, the compositor can execute its toplevel listener event. This can happen before we have any mpv window rendered at all so we end up performing a bunch of geometry operations and state checks when we shouldn't. It subtly messes up a lot of things like state detection. Just return from this function if the geometry has no width or height yet.
Diffstat (limited to 'player/lua')
0 files changed, 0 insertions, 0 deletions