You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My task is using this library for rendering stack of notifications. Firstly I tried the example about layer surface and I liked it. So I add some code for creating more than one layer surfaces. For stacking I use the LayerSurface::set_margin to avoid collision. But I ended up with one annoying problem - the set_margin doesn't affect the pointer. When I move the layer by the set_margin method and don't move the pointer, the clicks will be delivered to the moved layer which is nonsense.
What do I do?
The text was updated successfully, but these errors were encountered:
Assuming the margin is visibly applied, and you've set a margin on anchored edges, I think this is most likely a compositor issue. Have you tested your application in sway or another compositor that supports layer shell?
Description
My task is using this library for rendering stack of notifications. Firstly I tried the example about layer surface and I liked it. So I add some code for creating more than one layer surfaces. For stacking I use the
LayerSurface::set_margin
to avoid collision. But I ended up with one annoying problem - theset_margin
doesn't affect the pointer. When I move the layer by theset_margin
method and don't move the pointer, the clicks will be delivered to the moved layer which is nonsense.What do I do?
The text was updated successfully, but these errors were encountered: