Open
Conversation
3d6e64d to
54da17b
Compare
Author
|
I found out how to constrain the cursor, as well as other things instead of just top-level resizing EDIT: One more update to make the cursor constraint a lot less jittery |
Member
|
I think this would be a lot easier to implement and more robust with this wlroots change: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/4019 |
Author
|
Ok, but for now, this might be an OK enough stop-gap at least in when it's added to wlroots, and the wlr_viewport seems like it has to wait for protocol approval based on what I see, right? |
Author
|
Let me know if I need to change anything? Or does this have to wait for wlr_viewport? |
The main window will be restricted to the smallest dimensions of all possible screens
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The main window will be restricted to the smallest dimensions of all possible screens
This is assuming #466 is merged as I didn't test
-m lastmode