render: remove damage tracking

This will be handled by wlr_scene shortly.
This commit is contained in:
Isaac Freund
2023-01-27 19:51:56 +01:00
parent b7ac5becfb
commit 168756cbe8
14 changed files with 7 additions and 503 deletions

View File

@ -46,9 +46,6 @@ pub fn backgroundColor(
if (args.len > 2) return Error.TooManyArguments;
server.config.background_color = try parseRgba(args[1]);
var it = server.root.outputs.first;
while (it) |node| : (it = node.next) node.data.damage.?.addWhole();
}
pub fn borderColorFocused(
@ -60,9 +57,6 @@ pub fn borderColorFocused(
if (args.len > 2) return Error.TooManyArguments;
server.config.border_color_focused = try parseRgba(args[1]);
var it = server.root.outputs.first;
while (it) |node| : (it = node.next) node.data.damage.?.addWhole();
}
pub fn borderColorUnfocused(
@ -74,9 +68,6 @@ pub fn borderColorUnfocused(
if (args.len > 2) return Error.TooManyArguments;
server.config.border_color_unfocused = try parseRgba(args[1]);
var it = server.root.outputs.first;
while (it) |node| : (it = node.next) node.data.damage.?.addWhole();
}
pub fn borderColorUrgent(
@ -88,9 +79,6 @@ pub fn borderColorUrgent(
if (args.len > 2) return Error.TooManyArguments;
server.config.border_color_urgent = try parseRgba(args[1]);
var it = server.root.outputs.first;
while (it) |node| : (it = node.next) node.data.damage.?.addWhole();
}
pub fn setCursorWarp(