From d05db0a90c7bce7e6830e77a16c63a90e9e572c4 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 3 Mar 2012 07:52:13 -0500 Subject: Correct actionable offense for misappropriation of action context. Just use a bool to indicate raw button instead of action code. No bother with plugin version yet again so soon. Change-Id: I4aa075c0c1fb5308c9d49bebb30ac76f671b2335 --- apps/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/misc.c') diff --git a/apps/misc.c b/apps/misc.c index 78ee154c56..ca99a1d9ac 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -887,13 +887,13 @@ void keyclick_set_callback(keyclick_callback cb, void* data) } /* Produce keyclick based upon button and global settings */ -void keyclick_click(int context, int action) +void keyclick_click(bool rawbutton, int action) { int button = action; static long last_button = BUTTON_NONE; bool do_beep = false; - if (!(context & CONTEXT_RAWBUTTON)) + if (!rawbutton) get_action_statuscode(&button); /* Settings filters */ -- cgit v1.2.3