river: remove wlroots 0.14 workarounds

Since updating to wlroots 0.15 we can remove several workarounds we had
in place due to wlroots improvements.
This commit is contained in:
Isaac Freund
2021-12-22 20:15:57 +00:00
parent 90aee02b70
commit 6a093fecee
6 changed files with 6 additions and 35 deletions

View File

@ -677,8 +677,6 @@ fn xwaylandUnmanagedSurfaceAt(lx: f64, ly: f64) ?SurfaceAtResult {
}
fn surfaceAtFilter(view: *View, filter_tags: u32) bool {
// TODO(wlroots): we can remove this view.surface != null check as surfaceAt
// will start filtering by mapped views by default in 0.15.0
return view.surface != null and view.current.tags & filter_tags != 0;
}