Commit Graph

56 Commits (a78c7164757f211f44f939cf5c784e1f40f20b05)
 

Author SHA1 Message Date
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 4 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
gandalf3 a7caf1ac7c Make window follow cursor on every redraw 7 years ago
Martin Tournoij 623cb38bdd
Fix 7 years ago
Martin Tournoij ed9043168a
Add Travis 7 years ago
Martin Tournoij e3bb8d2d11
Use shaped window to pass through mouse events
Fixes #2.
7 years ago
Martin Tournoij 2e7d2d725f
Update README; gitify 7 years ago