summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Xinput.c
diff options
context:
space:
mode:
authorOlivier Fourdan <ofourdan@redhat.com>2018-06-08 16:23:44 +0200
committerMichel Dänzer <michel.daenzer@amd.com>2018-06-11 18:27:33 +0200
commit1993f147d08170f07a72e43f0a0f27687e16967b (patch)
treeed53f704f4ee15233a1ca23627fe7307765d2353 /hw/xfree86/common/xf86Xinput.c
parent10eec2ccb11701fe29ab246acd6c0bdc2991b775 (diff)
xwayland: use pixmap size on present flip
If the pixmap size does not match the present box size, flickering occurs. This can happen when the client changes its size (e.g. switching to fullscreen), and since the buffer is kept as long as the pixmap is valid, once the buffer is created, it remains at the wrong (old) size and causes continuous flickering. Use the actual pixmap's drawable size instead of the present box to create the buffer so that it's sized appropriately. Bugzilla: https://bugs.freedesktop.org/106841 Fixes: 0fb2cca193e6 "xwayland: Preliminary support for Present's new window flip mode" Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Roman Gilg <subdiff@gmail.com>
Diffstat (limited to 'hw/xfree86/common/xf86Xinput.c')
0 files changed, 0 insertions, 0 deletions