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

The circle is drawn below the drop-down menus (Cinnamon desktop environment) #14

Open
L30n4rd0-4rg3nt1n0 opened this issue Jan 27, 2024 · 4 comments

Comments

@L30n4rd0-4rg3nt1n0
Copy link

I would like to thank you for your 'highlight-pointer' program, I think it will be useful to me.

I have only encountered one small inconvenience. The circle is drawn below the dropdown menus (I'm using the cinnamon desktop environment on Debian Sid).

I do not have enough knowledge to evaluate the source code file, 'highlight-pointer.c', but I suspect the key is in the "redraw" function...

I wonder if a "simple" modification to that file would be possible (to plot the circle on top of anything else, except the mouse pointer). Would you know what I should modify to achieve that goal?

Thank you
Leonardo

@swillner
Copy link
Owner

Hey Leonardo, Sorry for the late reply. Do you encounter the issue on all dropdown menus (regardless of application)? Does the issue also affect "regular" menus?

@L30n4rd0-4rg3nt1n0
Copy link
Author

Hi, I don't know what is a "regular" menu.

I use cinnamon (in Debian sid) and I am referring to every drop-down menu that exists in any application. My workaround has been to add "XRaiseWindow(dpy, win);" at various points in the program. That solves 95% of the cases.

@swillner
Copy link
Owner

Ah, good hint. I meant menus that open from the menu bar or via right-click. With dropdown you mean those from GUI elements where you can choose from a list, right? - do you know if that's for GTK as well as for QT applications?
I'm asking for the details as there seem to be some work arounds (e.g. raising the window every time it is covered), but those could lead into "fights" with other windows trying to stay on top...

@L30n4rd0-4rg3nt1n0
Copy link
Author

"from the menu bar or via right-click" <--- those are what I mean

It happens to me with the gimp menus (gtk)
It happens to me with the konsole menus (qt I guess)
It happens to me with the menus of any application

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

No branches or pull requests

2 participants