Create a linked list of SSD for each view

This commit is contained in:
Johan Malm 2021-03-21 21:46:16 +00:00
parent f863e1916d
commit 2a48f2801b
8 changed files with 134 additions and 47 deletions

View file

@ -244,7 +244,7 @@ desktop_view_at(struct server *server, double lx, double ly,
if (_view_at(view, lx, ly, surface, sx, sy)) {
return view;
}
if (!view->server_side_deco) {
if (!view->ssd.enabled) {
continue;
}
*view_area = ssd_at(view, lx, ly);