mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Don't use wlr_output properties
These properties are before rotation.
This commit is contained in:
parent
7586f150c0
commit
acc2628c79
10 changed files with 47 additions and 39 deletions
|
|
@ -167,10 +167,10 @@ void view_autoconfigure(struct sway_view *view) {
|
|||
struct sway_output *output = view->container->workspace->output;
|
||||
|
||||
if (view->container->is_fullscreen) {
|
||||
view->x = output->wlr_output->lx;
|
||||
view->y = output->wlr_output->ly;
|
||||
view->width = output->wlr_output->width;
|
||||
view->height = output->wlr_output->height;
|
||||
view->x = output->lx;
|
||||
view->y = output->ly;
|
||||
view->width = output->width;
|
||||
view->height = output->height;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue