From f6c31eeaf5998649ff6e83738c631c7df4d84a4c Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 27 Aug 2015 18:42:35 -0300 Subject: Handle KEY_RECLICK events generated by ScreenManager --- AffinityPanel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'AffinityPanel.c') diff --git a/AffinityPanel.c b/AffinityPanel.c index b400cadb..41f520b5 100644 --- a/AffinityPanel.c +++ b/AffinityPanel.c @@ -6,6 +6,7 @@ in the source distribution for its full text. */ #include "AffinityPanel.h" +#include "CRT.h" #include "CheckItem.h" @@ -23,6 +24,7 @@ static HandlerResult AffinityPanel_eventHandler(Panel* this, int ch) { CheckItem* selected = (CheckItem*) Panel_getSelected(this); switch(ch) { case KEY_MOUSE: + case KEY_RECLICK: case ' ': CheckItem_set(selected, ! (CheckItem_get(selected)) ); return HANDLED; -- cgit v1.2.3