Skip to content

screencast: Fix format announced with SHM enum format

Merlin Lex requested to merge columbarius/kwin:screencast-fix-shm into master

Kwin announces a format whith alpha when Dma-Bufs are available, even when the texture doesn't contain any. This results in clients segfault when trying to acces the buffer assuming a maxsize wrt. the announced format by ways of dimensions and bpp.

This patch moves the format masking to affect the Dma-Buf transport only.

CC: @apol

Edited by Merlin Lex

Merge request reports

Loading