xwayland: prevent shaded views from getting mouse events

Fixes: #1753
This commit is contained in:
Consolatis 2024-05-04 23:10:45 +02:00 committed by Johan Malm
parent 95dc4ac4b5
commit c4d12bf5d9
3 changed files with 30 additions and 0 deletions

View file

@ -2207,6 +2207,10 @@ view_set_shade(struct view *view, bool shaded)
view->shaded = shaded;
ssd_enable_shade(view->ssd, view->shaded);
wlr_scene_node_set_enabled(view->scene_node, !view->shaded);
if (view->impl->shade) {
view->impl->shade(view, shaded);
}
}
void