-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Use WindowPositioner for panel positions #2109
Conversation
src/ShellClients/PanelWindow.vala
Outdated
|
||
window_positioner = new WindowPositioner (display, window, WindowPositioner.Position.from_anchor (anchor)); | ||
|
||
notify["anchor"].connect (() => { |
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.
Btw the notify here is also useful because we don't want the handler to run the first time it's set (i.e. with the constructor).
I've been running this quite a bit now so it should be ready for review and testing. |
This will also allow to do a bit better architecture in #2103 where instead of changing barriers on setting hide mode we change on changing anchor which is the actual reason we would need to resetup.