revert: "fix: follow the focus after alt+tab to another output"
This reverts commit 56f84fba2d.
This commit is contained in:
parent
f5e0ba1594
commit
9d52653d5c
1 changed files with 4 additions and 2 deletions
|
|
@ -111,8 +111,10 @@ impl ToplevelManagementHandler for State {
|
||||||
std::mem::drop(shell);
|
std::mem::drop(shell);
|
||||||
|
|
||||||
// move pointer to window if it’s on a different monitor/output
|
// move pointer to window if it’s on a different monitor/output
|
||||||
let switching_output = seat.active_output() != *output;
|
if seat.active_output() != *output
|
||||||
if switching_output && let Some(new_pos) = new_pos {
|
&& self.common.config.cosmic_conf.cursor_follows_focus
|
||||||
|
&& let Some(new_pos) = new_pos
|
||||||
|
{
|
||||||
seat.set_active_output(output);
|
seat.set_active_output(output);
|
||||||
if let Some(ptr) = seat.get_pointer() {
|
if let Some(ptr) = seat.get_pointer() {
|
||||||
let serial = SERIAL_COUNTER.next_serial();
|
let serial = SERIAL_COUNTER.next_serial();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue