config: allow disabling the primary selection
This commit is contained in:
parent
e70be28e22
commit
9c165ab56c
13 changed files with 63 additions and 2 deletions
|
|
@ -983,6 +983,10 @@ impl ConfigClient {
|
|||
show
|
||||
}
|
||||
|
||||
pub fn set_middle_click_paste_enabled(&self, enabled: bool) {
|
||||
self.send(&ClientMessage::SetMiddleClickPasteEnabled { enabled });
|
||||
}
|
||||
|
||||
pub fn set_show_float_pin_icon(&self, show: bool) {
|
||||
self.send(&ClientMessage::SetShowFloatPinIcon { show });
|
||||
}
|
||||
|
|
|
|||
|
|
@ -744,6 +744,9 @@ pub enum ClientMessage<'a> {
|
|||
SeatFocusTiles {
|
||||
seat: Seat,
|
||||
},
|
||||
SetMiddleClickPasteEnabled {
|
||||
enabled: bool,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue