feat: implement scratchpad window toggling
This commit is contained in:
parent
5c2f631fdb
commit
d756c8a6a2
17 changed files with 515 additions and 3 deletions
|
|
@ -640,6 +640,18 @@ impl ConfigClient {
|
|||
self.send(&ClientMessage::SetWindowWorkspace { window, workspace });
|
||||
}
|
||||
|
||||
pub fn seat_send_to_scratchpad(&self, seat: Seat, name: &str) {
|
||||
self.send(&ClientMessage::SeatSendToScratchpad { seat, name });
|
||||
}
|
||||
|
||||
pub fn seat_toggle_scratchpad(&self, seat: Seat, name: &str) {
|
||||
self.send(&ClientMessage::SeatToggleScratchpad { seat, name });
|
||||
}
|
||||
|
||||
pub fn window_send_to_scratchpad(&self, window: Window, name: &str) {
|
||||
self.send(&ClientMessage::WindowSendToScratchpad { window, name });
|
||||
}
|
||||
|
||||
pub fn seat_split(&self, seat: Seat) -> Axis {
|
||||
let res = self.send_with_response(&ClientMessage::GetSeatSplit { seat });
|
||||
get_response!(res, Axis::Horizontal, GetSplit { axis });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue