diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2008-05-07 23:01:45 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2008-05-07 23:01:45 +0000 |
commit | 15ab0ad706465775ab7b7780862cb5096379967d (patch) | |
tree | 4c2dbc76459bbf0ecb4894ae6f04ca42a28ae255 /AffinityPanel.c | |
parent | 23615d63a80a2c66e6856001c8c75dd1f73422c6 (diff) |
Let mouseclicks tick/untick checkboxes
Diffstat (limited to 'AffinityPanel.c')
-rw-r--r-- | AffinityPanel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AffinityPanel.c b/AffinityPanel.c index bfd10e28..47791ff1 100644 --- a/AffinityPanel.c +++ b/AffinityPanel.c @@ -11,6 +11,7 @@ static HandlerResult AffinityPanel_eventHandler(Panel* this, int ch) { HandlerResult result = IGNORED; CheckItem* selected = (CheckItem*) Panel_getSelected(this); switch(ch) { + case KEY_MOUSE: case ' ': CheckItem_set(selected, ! (CheckItem_get(selected)) ); result = HANDLED; |