render: remove damage tracking
This will be handled by wlr_scene shortly.
This commit is contained in:
@ -462,13 +462,6 @@ pub fn fromWlrSurface(surface: *wlr.Surface) ?*Self {
|
||||
const xwayland_surface = wlr.XwaylandSurface.fromWlrSurface(surface) orelse return null;
|
||||
return @intToPtr(?*Self, xwayland_surface.data);
|
||||
}
|
||||
if (surface.isSubsurface()) {
|
||||
if (wlr.Subsurface.fromWlrSurface(surface)) |ss| {
|
||||
if (ss.parent) |s| {
|
||||
return fromWlrSurface(s);
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user