-
Notifications
You must be signed in to change notification settings - Fork 276
change scene's popup layer after reparent #324
Conversation
@fauxmight please can you try this?, it should fix the issue about layer popups appearing it the wrong monitor you mention in #279 |
No change. |
Mmm, which layer is the layer surface on? |
@sevz17: Good point. I would not have thought to check for a difference with this. Tested with "bottom" (default) and "top" settings for layer: |
8aa0ae5
to
c8e78be
Compare
Ok, this confirm my guesses, this happens because we reparent the scene node to LyrTop to avoid rendering the popup below normal clients. Can you check again please? |
No change in behavior. Pop-up layer on correct monitor if Waybar's "layer" setting is "top." Pop-up layer ALWAYS on 0, 0 coordinate monitor if "layer" setting is "bottom" or allowed to remain default ("bottom"). |
Hm, can you give me the output of |
|
Can you try again please? This new patch is larger than I'd like, but it also may help with popup repositioning (at this moment only available in wlroots-next) |
@sevz17: This is perfect now. The popup shows in the correct position on the correct monitor regardless of waybar's Thank you for your work all over dwl and on this issue in particular. |
this tree should be always above the top layer Fixes: djpohly#328
Thanks! |
TODO: find a better commit message