With shell_surface.set_maximised the caller can provide an output to maximise to or the default output will be used. With the corresponding configure we should use the dimensions from the chosen output not the output the surface was currently on. Similarly when calculating the position for the window in the map() function we should use the desired output again. There is no need to assign shsurf->output to es->output since that happens in the map() function later.
parent
8f24156926
commit
31b6862eeb
Loading…
Reference in new issue