config: workspace display order
This commit is contained in:
parent
40328d7c4a
commit
e570152dde
17 changed files with 237 additions and 11 deletions
|
|
@ -36,6 +36,7 @@ use {
|
|||
ContentType, MatchedWindow, TileState, Window, WindowCriterion, WindowMatcher,
|
||||
WindowType,
|
||||
},
|
||||
workspace::WorkspaceDisplayOrder,
|
||||
xwayland::XScalingMode,
|
||||
},
|
||||
bincode::Options,
|
||||
|
|
@ -987,6 +988,10 @@ impl ConfigClient {
|
|||
self.send(&ClientMessage::SetMiddleClickPasteEnabled { enabled });
|
||||
}
|
||||
|
||||
pub fn set_workspace_display_order(&self, order: WorkspaceDisplayOrder) {
|
||||
self.send(&ClientMessage::SetWorkspaceDisplayOrder { order });
|
||||
}
|
||||
|
||||
pub fn seat_create_mark(&self, seat: Seat, kc: Option<u32>) {
|
||||
self.send(&ClientMessage::SeatCreateMark { seat, kc });
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ use {
|
|||
Transform, VrrMode, connector_type::ConnectorType,
|
||||
},
|
||||
window::{ContentType, TileState, Window, WindowMatcher, WindowType},
|
||||
workspace::WorkspaceDisplayOrder,
|
||||
xwayland::XScalingMode,
|
||||
},
|
||||
serde::{Deserialize, Serialize},
|
||||
|
|
@ -760,6 +761,9 @@ pub enum ClientMessage<'a> {
|
|||
src: u32,
|
||||
dst: u32,
|
||||
},
|
||||
SetWorkspaceDisplayOrder {
|
||||
order: WorkspaceDisplayOrder,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue