summaryrefslogtreecommitdiffstats
path: root/AffinityPanel.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-08-27 18:42:35 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-08-27 18:43:22 -0300
commitf6c31eeaf5998649ff6e83738c631c7df4d84a4c (patch)
tree7f6e427f7d6af218208af1d88eb9e1fc7c48a73c /AffinityPanel.c
parentf585fc98257dbe1dc92aad6bc46c97d2a24b77d8 (diff)
Handle KEY_RECLICK events generated by ScreenManager
Diffstat (limited to 'AffinityPanel.c')
-rw-r--r--AffinityPanel.c2
1 files changed, 2 insertions, 0 deletions
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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy