View: implement borders with scene graph
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user