Skip to content

clients/stacking: Fix widget user_data cast type

The user data for widget is the window. Widgets callback handlers cast this incorrectly. This causes right clicking the window to trigger a segfault.

This used to not be a problem as both struct stacking and struct window start with a pointer to struct display.

Signed-off-by: Colin Kinloch colin.kinloch@collabora.com

Edited by Colin Kinloch

Merge request reports

Loading