Skip to content
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

get_active_window gives back None sometimes #5

Open
wants to merge 1 commit into
base: pygi-python3
Choose a base branch
from

Conversation

kgabor545
Copy link

especially with mouse wheel set to prev/next window on group.
This caused group has active window false, making the group active, inactive and active again, caused flickering
Better have prev window as active than none, so the flickering is gone.
As I tested everything works well with this patch, I hope I didn't break anything else with this.

…ons especially with mouse wheel prev/next window. Better have prev window active than none, so the flickering is gone
@xuzhen
Copy link
Owner

xuzhen commented Oct 25, 2022

What's your desktop environment or window manager? I can't reproduce the flickering bug.

@kgabor545
Copy link
Author

I am on arch xfce.
Have you tried to set the mouse wheel switch between windows in the group? (this how unity worked)
About once in every 10 switch, the button marker switch to inactive mode for a very short period of time, than switches back to active. Maybe if your marker is small and your machine is fast, you can't notice. If so, maybe try a theme with bigger marker.

I am currently using the xfce4 panel version of dockx, but the flickering was always here for me with native dockx too.
I have no issue since I added this modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants