summaryrefslogtreecommitdiff
path: root/clients/clickdot.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-25window: rename enum pointer_type to cursor_typeAnder Conselvan de Oliveira1-1/+1
This avoids confusion with the pointer devices (struct wl_pointer).
2012-05-25window: track changes in libwayland-cursor apiAnder Conselvan de Oliveira1-2/+1
libwayland-cursor does not provide enum wl_cursor_type anymore so this brings back enum pointer_type. This partially revers commit 1042dc15e0ca69a4d8d4d23b862f1e3d3c8e054f.
2012-05-22window: use libwayland-cursor instead of libXcursorAnder Conselvan de Oliveira1-1/+2
2012-05-11Update to new libxkbcommon APIKristian Høgsberg1-3/+1
We no longer depend on xproto, we use xkbcommon keycodes now. Yay!
2012-05-10clients: Add motion event trails to clickdotJonas Ådahl1-5/+138
Useful for testing pointer device. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-05-07Change button from int to uint32_tDaniel Stone1-1/+1
Since you can't really have a negative button number. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-05-07Change key/button grab bindings to take unsigned stateDaniel Stone1-1/+1
'state' here meaning 'is it up or down?', obviously. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-03-12Add an option parserKristian Høgsberg1-1/+1
On one hand, getopt (in particular the -o suboption syntax) sucks on the server side, and on the client side we would like to avoid the glib dependency. We can roll out own option parser and solve both problems and save a few lines of code total.
2012-01-31window: Dont take width and height in window constructorKristian Høgsberg1-1/+1
Always set this by scheduling an initial resize.
2012-01-27clickdot: implement the purposePekka Paalanen1-101/+23
Remove all unneeded resizor features, and add the feature why clickdot exists: put a visible marker to exactly where mouse was clicked. This app can be used to check input coordinate transformations in a compositor. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-01-27clickdot: a copy of resizorPekka Paalanen1-0/+259
Start a new application clickdot as a copy of resizor, with the name changed. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>