Martin Tournoij
4a67d023ef
Use correct colormap with -t
...
Using the default colormap on a drawable w/ specific (ARGB) colormap for
rendering the arcs will lead to random colors being picked (typically
"white", but it can actually be anything) for the arcs. You have to use
the colormap specific to the drawawble (window)
Patch by luebking
Fixes #26
1 month ago
Martin Tournoij
925afa184f
Merge pull request #25 from qw3r3wq/patch-1
...
Added packages to install for Fedora 36
2 years ago
Ruslanas Gžibovskis
1d99800f94
Added packages to install for Fedora 36
2 years ago
Martin Tournoij
32f9e7f1d3
Merge pull request #24 from MikeWalrus/master
...
Specify the libraries after source files
2 years ago
Liao Junxuan
11ad767bd4
specify the libraries after source files
2 years ago
Martin Tournoij
a78c716475
Minor cleanup
2 years ago
Martin Tournoij
398e540c44
Merge pull request #23 from edsantiago/find_pointer_screen
...
Identify the correct screen
2 years ago
Eduardo Santiago
5fdb707a25
Identify the correct screen
...
On multiscreen systems, identify which screen the cursor is on.
Code copied shamelessly from xdotool.
Signed-off-by: Eduardo Santiago <ed@edsantiago.com>
2 years ago
Martin Tournoij
73fcc7d419
Accept argument in -o for outline width, add --outline-color
...
Fixes #21
3 years ago
Martin Tournoij
49f0ef9270
Don't really need a manpage
3 years ago
Martin Tournoij
9ed9ec581c
Mention how to toggle it on/off when repeating forever
...
Fixes #20
4 years ago
Martin Tournoij
1f32dd7238
Mention the Docker container
...
See #19
4 years ago
Martin Tournoij
cd2a08a96c
Mention -dev packages
...
Fixes #18
4 years ago
Martin Tournoij
45e937a7a3
Revert "Smoother experience when drawing a solid circle with --repeat 0 --follow"
...
This reverts commit 241ae5c0d4
.
4 years ago
Martin Tournoij
241ae5c0d4
Smoother experience when drawing a solid circle with --repeat 0 --follow
...
Just move the window, instead of constantly creating and destroying new
ones.
4 years ago
Martin Tournoij
27f1a9699b
Fix some memory leaks
...
Not really noticeable when using it once since it's such a short-lived
program, but with "-r0" it can add up over time.
There may be other leaks, need to check/test to be sure (but valgrind
doesn't report any).
See: #17
4 years ago
Martin Tournoij
e2b8ae35da
Update funding
4 years ago
Martin Tournoij
21d69a8223
Centre on the mouse hotspot better
...
Use xhot and yhot to better get the "mouse hotspot". This should fix #15
4 years ago
Martin Tournoij
a22d1d1f0d
Fix typo in manpage
4 years ago
Martin Tournoij
87d9e18155
-r needs an argument
...
Fixes #16
4 years ago
Martin Tournoij
79f2a2f504
Update README
5 years ago
Martin Tournoij
e222a32479
Account for the cursor size
...
Should give a more accurate position most of the time. Also
XFixesGetCursorImage() is a lot simpler to use than XQueryPointer().
5 years ago
Martin Tournoij
49edf0b825
Update manpage
5 years ago
Martin Tournoij
49ce340e87
Make --repeat accept an argument
5 years ago
Kirill Bulygin
ff7be1dad0
Implement `--repeat`
5 years ago
Martin Tournoij
4951ce6718
Remove .travis.yml
...
Fails with:
find-cursor.c:19:10: fatal error: 'X11/extensions/Xdamage.h' file not found
Travis just tests if it compiles anyway ... there's not much value here
and don't want to spend time fixing it.
5 years ago
Martin Tournoij
032ccd0256
Add funding file
5 years ago
Martin Tournoij
ba889debe4
Fix error message
...
Display correct error message;
$ unset DISPLAY
$ find-cursor
find-cursor: DISPLAY not set
And no longer segfault
$ DISPLAY=asdf find-cursor
find-cursor: cannot open display 'asd'
Fixes #13
5 years ago
Markus Rinne
19c99b46b3
Remove unneeded statement ( #14 )
...
Variable 'argc' is never used after this statement.
5 years ago
Markus Rinne
db50bc256d
Don't print null display name ( #11 )
...
Variable 'display_name' is always null here.
5 years ago
Martin Tournoij
fcc5cb2534
Update README, add manpage
5 years ago
Martin Tournoij
222db0fb4d
Merge pull request #9 from 0mp/patch-1
...
Support LDFLAGS
5 years ago
Mateusz Piotrowski
19add1b666
Support LDFLAGS
...
This way it is easier to specify the path to libraries with -L.
5 years ago
Martin Tournoij
4a92f61bdf
Improve README
6 years ago
Martin Tournoij
eea197fbe1
Merge pull request #8 from maxice8/fix-makefile
...
Makefile: Fix installation and stripping
6 years ago
maxice8
3d5735acee
Makefile: Fix installation and stripping
...
- Separate stripping into another step of the package
- Conditionalize stripping the binary, distros don't like when packages do
it because they want the debug symbols included and do their own
stripping after extracting them
- use -Dm755 to create the directory (-D) and set the correct executable
mode
- respect PREFIX which can be set to /usr /usr/local and even /
- respect DESTDIR which is set by distros when they are packaging
6 years ago
Martin Tournoij
aaefd2efe7
Merge pull request #6 from schuellerf/master
...
Add inverted color functionality
6 years ago
Martin Tournoij
274e07fbaa
Rename to outline
6 years ago
Florian Schüller
dc35cfe7ca
Add inverted color functionality
6 years ago
Martin Tournoij
9078b5a6d2
Fix warning
7 years ago
Martin Tournoij
24962c4200
Allow configuring CC
7 years ago
Martin Tournoij
71e60d504e
Add -g/--grow to reverse the animation direction
...
--grow was previously the default; now it will "shrink" the animation.
7 years ago
Martin Tournoij
05cfe4dbbe
Make -h fit on 80-column terminals
7 years ago
Martin Tournoij
5a27101bf1
Add -f and -t options
...
For --follow and --transparent. Enabling this may not always work, so
make them optional.
7 years ago
gandalf3
ddc70eb040
Merge branch 'master' of https://github.com/gandalf3/find-cursor
7 years ago
gandalf3
f6d9b2fea9
Merge branch 'master' of https://github.com/Carpetsmoker/find-cursor
7 years ago
Martin Tournoij
b2cca11f6e
Merge branch 'master' into master
7 years ago
Martin Tournoij
7ad971098f
Rename some options
...
step is now distance, and speed is now wait. This more accurately
describes what they do.
7 years ago
Martin Tournoij
673fb3377f
Add note about compton in the README
7 years ago
gandalf3
191faec43b
repaint transparency, otherwise window 'drags' a bit of whatever was under it originally with it wherever it goes
7 years ago