AymanLyesri / hyprland-conf

An intensively worked on, and highly customized personal linux config
115 stars 5 forks source link

Moving cursor too fast misses the hover element #29

Closed MacaylaMarvelous81 closed 2 days ago

MacaylaMarvelous81 commented 2 days ago

If you move the cursor too fast, hover effects may not occur. For example, the top bar may not hide or show itself, and the Spotify panel may not hide itself.

AymanLyesri commented 2 days ago

Its fixed now, lemme know if u have any other suggestions

MacaylaMarvelous81 commented 1 day ago

Nice work, the media player works great now! Unfortunately, the bar still doesn't hide itself consistently. I've noticed that it works a lot better when I have no windows nearby it, like when I have no windows or when in a workspace with gapsout. I'm not familiar with GDK or AGS, but I believe the hover-lost isn't getting emitted because my cursor causes another window to focus instead of the AGS window--that's what I gathered from this message.

If I do use leave-notify-event as suggested in that message the bar does hide itself consistently, but unfortunately hovering over any elements of the bar fires the event making the bar useless.