swallow mouse events only when bindings on Frame mouse contexts are triggered

This commit is contained in:
bi4k8 2021-12-01 02:44:55 +00:00 committed by Johan Malm
parent d84103d669
commit 347e6115e3
2 changed files with 53 additions and 62 deletions

View file

@ -317,6 +317,7 @@ desktop_surface_and_view_at(struct server *server, double lx, double ly,
continue;
}
if (_view_at(view, lx, ly, surface, sx, sy)) {
*view_area = LAB_SSD_CLIENT;
return view;
}
if (!view->ssd.enabled) {