aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/events.c
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-01-25 22:30:36 +0300
committerKirill Primak <vyivel@eclair.cafe>2022-01-25 22:41:30 +0300
commit77951968dc9df7214c04c33f4905a9a7aa92f60c (patch)
treed88a7bd8b37f6194ff56545b7428309d8cc4fed5 /backend/libinput/events.c
parentda2491d4163e1d8e627d00c8ae594c7f8003472e (diff)
subsurface: unlock cached state on commit if desynced
wl_subsurface::set_desync description states: "If cached state exists when wl_surface.commit is called in desynchronized mode, the pending state is added to the cached state, and applied as a whole." This commit reintroduces an implementation of said behavior, previously removed in 7daf6da9ac05be2cb74c0983e3caee0b21db75d4. Strictly speaking, this logic isn't fully correct, as the cached state and the pending state are applied individually instead, if the cached state isn't locked by anything else. However, the end result is still the same. This commit fixes the issue with Firefox permission popups.
Diffstat (limited to 'backend/libinput/events.c')
0 files changed, 0 insertions, 0 deletions