Formatting
This commit is contained in:
parent
c1de9b2f1a
commit
dca157ba16
1 changed files with 3 additions and 1 deletions
|
|
@ -111,7 +111,9 @@ 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
|
||||||
if seat.active_output() != *output && self.common.config.cosmic_conf.cursor_follows_focus {
|
if seat.active_output() != *output
|
||||||
|
&& self.common.config.cosmic_conf.cursor_follows_focus
|
||||||
|
{
|
||||||
if let Some(new_pos) = new_pos {
|
if 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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue