-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window: move size reporting to animation begin callback #9298
Conversation
sure |
fixed both issues but has minor visual glitches |
wanna post a vid of the gitches? |
just disregard that, most instant window resizing in hyprland does have visual glitches. For instance have a browser open alone (very sad) in one workspace and then open a terminal. The browser will have weird behaviour when adjusting. this is probably normal |
Remove the size argument from sendWindowSize, since it is now a member of the Window class and we don't want any mismatches between m_vRealSize and what we report. Remove sendWindowSize from mapWindow, since we shouldn't need it.
what happened? |
I am trying out jujutsu and pushed the wrong bookmark after a rebase. Leaving my main to be in sync with Hyprland main and that seems to autoclose a PR ^^ |
this is finished right? |
Ok so in the latest commit i moved most of the sendWindowSize calls to the animation begin update. (Also gets called when animations are disabled) I think that makes sense because
Caveats:
sendWindowSize is still manually called in the following places:
|
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.
39
Describe your PR, what does it fix/add?
Made so many mistakes in the animation PR...
I removed this from
tick
when playing around with damage:Had the intention to move that to a update callback for the window size, except - well - I didn't.
Worst thing about this is that some xwayland changes probably were only made because this was missing. Sorry for that.
I will go though other size/position related changes since and check if they are redundant tomorrow.
Closes #9269
Closes #9256
Closes #9279
CC @nnyyxxxx wanna verify that it fixes #9256?✔️Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
atlauncher import window still works ^^
Is it ready for merging, or does it need work?
Ready.