all: remove traditional i3 titlebars, add corner rounding
This commit is contained in:
parent
e1928863d9
commit
a41dbae899
52 changed files with 1866 additions and 1047 deletions
|
|
@ -2025,6 +2025,16 @@ impl ConfigClient {
|
|||
self.send(&ClientMessage::SetPointerRevertKey { seat, key });
|
||||
}
|
||||
|
||||
pub fn set_corner_radius(&self, radius: f32) {
|
||||
self.send(&ClientMessage::SetCornerRadius { radius });
|
||||
}
|
||||
|
||||
pub fn get_corner_radius(&self) -> f32 {
|
||||
let res = self.send_with_response(&ClientMessage::GetCornerRadius);
|
||||
get_response!(res, 0.0, GetCornerRadius { radius });
|
||||
radius
|
||||
}
|
||||
|
||||
fn handle_msg(&self, msg: &[u8]) {
|
||||
self.handle_msg2(msg);
|
||||
self.dispatch_futures();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue