Commit Graph

43 Commits

Author SHA1 Message Date
Martin Tournoij
a22d1d1f0d
Fix typo in manpage 2020-03-30 19:31:41 +08:00
Martin Tournoij
87d9e18155
-r needs an argument
Fixes #16
2020-03-13 03:06:41 +08:00
Martin Tournoij
79f2a2f504
Update README 2019-12-05 16:16:34 +08:00
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().
2019-12-05 16:09:32 +08:00
Martin Tournoij
49edf0b825
Update manpage 2019-12-05 04:22:27 +08:00
Martin Tournoij
49ce340e87
Make --repeat accept an argument 2019-12-05 04:15:35 +08:00
Kirill Bulygin
ff7be1dad0
Implement --repeat 2019-12-05 03:47:26 +08:00
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.
2019-11-20 23:41:49 +08:00
Martin Tournoij
032ccd0256
Add funding file 2019-11-05 14:18:37 +08:00
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
2019-07-10 22:37:30 +01:00
Markus Rinne
19c99b46b3 Remove unneeded statement (#14)
Variable 'argc' is never used after this statement.
2019-07-10 22:31:24 +01:00
Markus Rinne
db50bc256d
Don't print null display name (#11)
Variable 'display_name' is always null here.
2019-07-04 14:19:53 +01:00
Martin Tournoij
fcc5cb2534
Update README, add manpage 2019-03-05 11:02:51 +13:00
Martin Tournoij
222db0fb4d
Merge pull request #9 from 0mp/patch-1
Support LDFLAGS
2019-03-05 10:00:12 +13:00
Mateusz Piotrowski
19add1b666
Support LDFLAGS
This way it is easier to specify the path to libraries with -L.
2019-03-04 13:09:50 +01:00
Martin Tournoij
4a92f61bdf
Improve README 2018-09-20 12:16:10 +01:00
Martin Tournoij
eea197fbe1
Merge pull request #8 from maxice8/fix-makefile
Makefile: Fix installation and stripping
2018-09-20 12:12:13 +01:00
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
2018-09-18 17:16:54 -03:00
Martin Tournoij
aaefd2efe7
Merge pull request #6 from schuellerf/master
Add inverted color functionality
2018-03-21 04:10:31 +00:00
Martin Tournoij
274e07fbaa
Rename to outline 2018-03-21 04:06:57 +00:00
Florian Schüller
dc35cfe7ca Add inverted color functionality 2018-02-18 15:35:23 +01:00
Martin Tournoij
9078b5a6d2
Fix warning 2017-12-15 18:21:22 +00:00
Martin Tournoij
24962c4200
Allow configuring CC 2017-09-06 06:52:35 +01:00
Martin Tournoij
71e60d504e
Add -g/--grow to reverse the animation direction
--grow was previously the default; now it will "shrink" the animation.
2017-08-01 05:56:42 +01:00
Martin Tournoij
05cfe4dbbe
Make -h fit on 80-column terminals 2017-07-14 21:12:49 +01:00
Martin Tournoij
5a27101bf1
Add -f and -t options
For --follow and --transparent. Enabling this may not always work, so
make them optional.
2017-04-03 23:33:17 +01:00
gandalf3
ddc70eb040 Merge branch 'master' of https://github.com/gandalf3/find-cursor 2017-03-24 00:15:17 -07:00
gandalf3
f6d9b2fea9 Merge branch 'master' of https://github.com/Carpetsmoker/find-cursor 2017-03-24 00:04:44 -07:00
Martin Tournoij
b2cca11f6e Merge branch 'master' into master 2017-03-24 06:41:18 +00:00
Martin Tournoij
7ad971098f
Rename some options
step is now distance, and speed is now wait. This more accurately
describes what they do.
2017-03-24 06:37:02 +00:00
Martin Tournoij
673fb3377f
Add note about compton in the README 2017-03-24 06:12:29 +00:00
gandalf3
191faec43b repaint transparency, otherwise window 'drags' a bit of whatever was under it originally with it wherever it goes 2017-03-23 22:27:19 -07:00
gandalf3
a7caf1ac7c Make window follow cursor on every redraw 2017-03-23 21:59:02 -07:00
Martin Tournoij
623cb38bdd
Fix 2017-03-23 05:22:35 +00:00
Martin Tournoij
ed9043168a
Add Travis 2017-03-23 05:14:29 +00:00
Martin Tournoij
e3bb8d2d11
Use shaped window to pass through mouse events
Fixes #2.
2017-03-23 05:02:56 +00:00
Martin Tournoij
2e7d2d725f
Update README; gitify 2017-03-23 03:27:07 +00:00
Martin Tournoij
4347263738 Update README 2016-04-24 14:56:44 +02:00
Martin Tournoij
9e721c0916 Add command-line arguments 2016-03-07 21:19:25 +01:00
Martin Tournoij
ca79a272a8 Set WM_NAME, WM_CLASS 2015-09-18 16:42:06 +02:00
Martin Tournoij
e29554e8c2 Oops, actually commit the source file 2015-09-16 18:23:38 +02:00
Martin Tournoij
dad231445a Update screenshot 2015-09-10 00:04:35 +02:00
Martin Tournoij
e84de832d3 Hello, world 2015-09-09 23:59:43 +02:00