Set correct output position for Wayland
Browse files at this commit0411fd8d90f4e80990ca511f7ea65ea680aef185Parent: 42b859a1 changed file +1 -0
- src/niri.rs +1 -0
src/niri.rsmodified+1 -0
| @@ -785,6 +785,7 @@ impl Niri { | |||
| 785 | ); | 785 | ); |
| 786 | self.global_space.map_output(&output, position); | 786 | self.global_space.map_output(&output, position); |
| 787 | self.layout.add_output(output.clone()); | 787 | self.layout.add_output(output.clone()); |
| 788 | + output.change_current_state(None, None, None, Some(position)); | ||
| 788 | 789 | ||
| 789 | let state = OutputState { | 790 | let state = OutputState { |
| 790 | global, | 791 | global, |