config: add fallback output mode
This commit is contained in:
parent
a975e3b25a
commit
dd3f8bad40
16 changed files with 215 additions and 19 deletions
|
|
@ -15,8 +15,9 @@ use {
|
|||
client::{Client, ClientCapabilities, ClientCriterion, ClientMatcher, MatchedClient},
|
||||
exec::Command,
|
||||
input::{
|
||||
FocusFollowsMouseMode, InputDevice, LayerDirection, Seat, SwitchEvent, Timeline,
|
||||
acceleration::AccelProfile, capability::Capability, clickmethod::ClickMethod,
|
||||
FallbackOutputMode, FocusFollowsMouseMode, InputDevice, LayerDirection, Seat,
|
||||
SwitchEvent, Timeline, acceleration::AccelProfile, capability::Capability,
|
||||
clickmethod::ClickMethod,
|
||||
},
|
||||
keyboard::{
|
||||
Group, Keymap,
|
||||
|
|
@ -1364,6 +1365,10 @@ impl ConfigClient {
|
|||
self.send(&ClientMessage::SetFocusFollowsMouseMode { seat, mode })
|
||||
}
|
||||
|
||||
pub fn set_fallback_output_mode(&self, seat: Seat, mode: FallbackOutputMode) {
|
||||
self.send(&ClientMessage::SetFallbackOutputMode { seat, mode })
|
||||
}
|
||||
|
||||
pub fn set_window_management_enabled(&self, seat: Seat, enabled: bool) {
|
||||
self.send(&ClientMessage::SetWindowManagementEnabled { seat, enabled })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue