summaryrefslogtreecommitdiff
path: root/clients/dnd.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-05-04 11:21:54 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-05-07 12:54:14 -0400
commitda5b93c8d7d093aa9fcaa80c8f577d6f3fdbb9da (patch)
tree9fe2331f1d02aa8566134020af021f1cafb314e7 /clients/dnd.c
parent7ceeb7dd43728eb41a0ab5db2e725da1be143b94 (diff)
Change key/button grab bindings to take unsigned state
'state' here meaning 'is it up or down?', obviously. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'clients/dnd.c')
-rw-r--r--clients/dnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/dnd.c b/clients/dnd.c
index a7ac66fa..1d1f592d 100644
--- a/clients/dnd.c
+++ b/clients/dnd.c
@@ -361,7 +361,7 @@ create_drag_cursor(struct dnd_drag *dnd_drag,
static void
dnd_button_handler(struct widget *widget,
struct input *input, uint32_t time,
- int button, int state, void *data)
+ int button, uint32_t state, void *data)
{
struct dnd *dnd = data;
int32_t x, y;