Merge pull request #25 from pop-os/surface-w

This commit is contained in:
Victoria Brekenfeld 2022-07-15 14:40:48 -06:00 committed by GitHub
commit 4ac6c5838c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -422,7 +422,7 @@ impl State {
let mut wl_outputs = Vec::new();
let mut w = self.common.shell.global_space().size.w;
for (crtc, conn) in outputs {
match device.setup_surface(crtc, conn, (0, w)) {
match device.setup_surface(crtc, conn, (w, 0)) {
Ok(output) => {
w += output
.user_data()
@ -487,7 +487,7 @@ impl State {
}
}
for (crtc, conn) in changes.added {
match device.setup_surface(crtc, conn, (0, w)) {
match device.setup_surface(crtc, conn, (w, 0)) {
Ok(output) => {
w += output
.user_data()