summaryrefslogtreecommitdiffstats
path: root/player/lua
diff options
context:
space:
mode:
authordudemanguy <random342@airmail.cc>2019-12-02 09:28:52 -0600
committerDudemanguy <random342@airmail.cc>2019-12-04 00:47:05 +0000
commit7f300a00e929bd728c6cbff27b68bbbf28e85d0f (patch)
treea6d8d254e758b40d1f0367a401982139c74ccbad /player/lua
parent65a317436df05000366af2738bdbb834e95e33db (diff)
downloadmpv-7f300a00e929bd728c6cbff27b68bbbf28e85d0f.tar.bz2
mpv-7f300a00e929bd728c6cbff27b68bbbf28e85d0f.tar.xz
wayland: fix cursor behavior on an edge case
This small regression was introduced by #7216. Previously, the wayland backend used a trick which kept track of the previous fullscreen state and used that logic for showing the cursor. Since vo_opts now keeps track of the current fullscreen state, most of this stopped being neccessary. However, there was one edge case where the cursor didn't behave the same: passing a fullscreen flag for the inital window. The cursor would initially be visible here which is not desirable. This can be remedied pretty easily by just setting the cursor visiblity to false if the pointer entry event occurs on fullscreen. The only thing we need to do is to make sure that the autohide delay isn't completely disabled (i.e. the cursor is always visible). Hence the need for the previous commit.
Diffstat (limited to 'player/lua')
0 files changed, 0 insertions, 0 deletions