-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Automatically pin child windows #12224
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
Conversation
vaxerski
left a comment
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.
tests needed
Could you elaborate on this a bit, |
|
make a client that listens on stdin and opens a child window when you send something to it, pin it beforehand, check if pinned. See the pointer test client, it does a similar thing for snapping |
|
This should be ready to merge now |
|
I've implemented those changes |
|
no worries, it's my job :) |
vaxerski
left a comment
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 think thats it, rest lgtm
|
c-f needed |
|
Your test seems to fail Rebase on main and fix the windowrule syntax :P |
|
also why the rule even? Just pin the first window via dispatch pin? |
don't even know how this happened
|
I have fixed build problems should be ready to merge Sorry for the hassle of this |
|
I have fixed the clang format violation The failed test doesn't show on the local repo and doesn't relate to anything touched by this pr |
|
Merge conflicts fixed |
|
Tests failed at the same place as the 'fix includes' commit. There isn't anything I can do for this |
|
yes thats good that just happens |
vaxerski
left a comment
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.
thanks!
|
crash when opening firefox: |
Can reproduce this. |
|
|
Confirmed patch fixes both firefox and thunderbird crash on launch. |
|
I was crashing when launching Lutris, but the above patch fixed it for me as well. |
Describe your PR, what does it fix/add?
Implements #11674
When a child window is opened, pin it if the parent is already pinned.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Nothing of note.
Is it ready for merging, or does it need work?
Yes it is ready.