input: apply map-to-output on output activation
Currently a map-to-output input config setting loses effect when an output is disabled and re-enabled for example. (cherry picked from commit de3035563ccd5ea9f4fe0b843618e4265c880e30)
This commit is contained in:
parent
36cdbbc087
commit
99b31c39f3
@ -416,6 +416,9 @@ pub fn activateOutput(root: *Root, output: *Output) void {
|
|||||||
}
|
}
|
||||||
assert(root.fallback_pending.focus_stack.empty());
|
assert(root.fallback_pending.focus_stack.empty());
|
||||||
assert(root.fallback_pending.wm_stack.empty());
|
assert(root.fallback_pending.wm_stack.empty());
|
||||||
|
|
||||||
|
// Enforce map-to-output configuration for the newly active output.
|
||||||
|
server.input_manager.reconfigureDevices();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Trigger asynchronous application of pending state for all outputs and views.
|
/// Trigger asynchronous application of pending state for all outputs and views.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user