Skip to content

compositor: verify Present extension's capability before using

Icenowy Zheng requested to merge Icenowy/xfwm4:verify-present-capability into master

Current X servers expose Present extension regardless of the DDX supporting it or not, because the Present extension defines a interface to verify its capability, and the capability returned could be None.

Verify the capability being not None before using Present for vblank.

Signed-off-by: Icenowy Zheng uwu@icenowy.me

Merge request reports

Loading