-
Notifications
You must be signed in to change notification settings - Fork 614
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
Add cursor property #1313
Add cursor property #1313
Conversation
63b2fa8
to
40cd101
Compare
Codecov Report
@@ Coverage Diff @@
## next #1313 +/- ##
==========================================
+ Coverage 32.98% 33.05% +0.07%
==========================================
Files 42 42
Lines 11934 12018 +84
==========================================
+ Hits 3936 3973 +37
- Misses 7998 8045 +47
Continue to review full report at Codecov.
|
Currently only listview element and editbox are supported.
40cd101
to
4d0afd2
Compare
Nice. |
Huh, interesting.. Could you please share your config?
Yeah, I guess that would be ideal and I would personally prefer it that way, although I feel like that would take more effort to implement and I'm not sure how useful it would end up being really. |
Actually, it doesn't look that difficult to do, I'm going to give it a shot. |
I ran it with -no-config. |
Yep, the sidebar buttons do not work. However the input box seems fine on my system. I think the issue might be that the cursor name for the I-beam on yours is not in the names array. I'll try searching for some more alternative names, they seem to vary from theme to theme so it's a bit difficult to get them right. |
I never set cursor themes anymore.. (long long long ago I did write a small ui to select them, gcursor, but that got absorbed into gnome settings at some point (and removed again)). |
I think it's not cursor themes specifically, but rather GTK themes in general. I've mostly got widget properties working, though there's a small problem with the recently added |
no direct feeling.. don't use mouse with rofi myself. Will give it some thoughts. |
Nevermind.. We can just check the setting inside the handler, no need to remove it. |
00ed47b
to
9e9dd6d
Compare
@DaveDavenport I've implemented the new property and it seems to work okay, please let me know if there's anything I've missed. The textbox issue should also probably be fixed now. |
9e9dd6d
to
c87a714
Compare
Looks good. Seems to fully work for me. |
thanks.` |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This pull request adds a new theme property
cursor
that allows specifying the type of mouse cursor that is set when the widget is hovered. It can be set to eitherdefault
,pointer
, ortext
:default
is the default arrow cursorpointer
could be used for clickable areas:text
could be used for input fields: