-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Add support for wlr_output's atomic API"
This reverts commit 6e0565e. This is required for the revert on swaywm/wlroots#1781
- Loading branch information
Showing
1 changed file
with
27 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
724926e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting a compile error when I try to rebuild sway-git:
https://pastebin.com/TkNuhet1
724926e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to latest wlroots.
Your package manager tries to update sway before wlroots, this needs to be the other way around.
724926e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do that, ty. May I ask what's the future of atomic modesetting in sway?
724926e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sway and wlroots already use atomic modesetting on supported hardware. The corresponding commit in wlroots made changes to outputs,transforms, etc atomic as in they are only applied on commit. This however conflicts with the current buffer flipping implementation, since the buffers are also committed in the same function.
So now the sequence on how the different changes inside the commit are applied would need to be done in the correct sequence relative to the changes itself.
Long term wlroots wants to support more of the atomic features, but this will probably be done in a new backend.
For reference see swaywm/wlroots#1688
724926e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ty for this insightful reply.