Merge pull request #25 from pop-os/surface-w
This commit is contained in:
commit
4ac6c5838c
1 changed files with 2 additions and 2 deletions
|
|
@ -422,7 +422,7 @@ impl State {
|
||||||
let mut wl_outputs = Vec::new();
|
let mut wl_outputs = Vec::new();
|
||||||
let mut w = self.common.shell.global_space().size.w;
|
let mut w = self.common.shell.global_space().size.w;
|
||||||
for (crtc, conn) in outputs {
|
for (crtc, conn) in outputs {
|
||||||
match device.setup_surface(crtc, conn, (0, w)) {
|
match device.setup_surface(crtc, conn, (w, 0)) {
|
||||||
Ok(output) => {
|
Ok(output) => {
|
||||||
w += output
|
w += output
|
||||||
.user_data()
|
.user_data()
|
||||||
|
|
@ -487,7 +487,7 @@ impl State {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (crtc, conn) in changes.added {
|
for (crtc, conn) in changes.added {
|
||||||
match device.setup_surface(crtc, conn, (0, w)) {
|
match device.setup_surface(crtc, conn, (w, 0)) {
|
||||||
Ok(output) => {
|
Ok(output) => {
|
||||||
w += output
|
w += output
|
||||||
.user_data()
|
.user_data()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue