summaryrefslogtreecommitdiff
path: root/clients/resizor.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/resizor.c
parent7ceeb7dd43728eb41a0ab5db2e725da1be143b94 (diff)
downloadweston-da5b93c8d7d093aa9fcaa80c8f577d6f3fdbb9da.tar.gz
weston-da5b93c8d7d093aa9fcaa80c8f577d6f3fdbb9da.tar.bz2
weston-da5b93c8d7d093aa9fcaa80c8f577d6f3fdbb9da.zip
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/resizor.c')
-rw-r--r--clients/resizor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/resizor.c b/clients/resizor.c
index 67d4899d..37c400be 100644
--- a/clients/resizor.c
+++ b/clients/resizor.c
@@ -178,7 +178,7 @@ show_menu(struct resizor *resizor, struct input *input, uint32_t time)
static void
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 resizor *resizor = data;