View: implement borders with scene graph

This commit is contained in:
Isaac Freund
2023-02-01 22:30:17 +01:00
parent f4a8d6dcc9
commit a545a06c5b
4 changed files with 56 additions and 12 deletions

View File

@ -62,6 +62,7 @@ pub fn borderColorFocused(
if (args.len > 2) return Error.TooManyArguments;
server.config.border_color_focused = try parseRgba(args[1]);
server.root.startTransaction();
}
pub fn borderColorUnfocused(
@ -73,6 +74,7 @@ pub fn borderColorUnfocused(
if (args.len > 2) return Error.TooManyArguments;
server.config.border_color_unfocused = try parseRgba(args[1]);
server.root.startTransaction();
}
pub fn borderColorUrgent(
@ -84,6 +86,7 @@ pub fn borderColorUrgent(
if (args.len > 2) return Error.TooManyArguments;
server.config.border_color_urgent = try parseRgba(args[1]);
server.root.startTransaction();
}
pub fn setCursorWarp(