mirror of
https://github.com/swaywm/sway.git
synced 2026-02-05 04:06:25 -05:00
parent
b54d1205d8
commit
842ea06773
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ void view_autoconfigure(struct sway_view *view) {
|
||||||
}
|
}
|
||||||
struct sway_output *output = ws ? ws->output : NULL;
|
struct sway_output *output = ws ? ws->output : NULL;
|
||||||
|
|
||||||
if (con->pending.fullscreen_mode == FULLSCREEN_WORKSPACE) {
|
if (output && con->pending.fullscreen_mode == FULLSCREEN_WORKSPACE) {
|
||||||
con->pending.content_x = output->lx;
|
con->pending.content_x = output->lx;
|
||||||
con->pending.content_y = output->ly;
|
con->pending.content_y = output->ly;
|
||||||
con->pending.content_width = output->width;
|
con->pending.content_width = output->width;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue