render: remove damage tracking
This will be handled by wlr_scene shortly.
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user