aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-09-05 14:32:41 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-09-11 07:56:33 (GMT)
commit5869f391c1fa39a9a9826ee16e11e15c4f10200a (patch)
tree9dda05de0fa7fbdaa680134077e67250fb712bdc
parentcdd6861aff5cd06f84c9d23456b5a92b4202e423 (diff)
downloadfluxbox-5869f391c1fa39a9a9826ee16e11e15c4f10200a.zip
fluxbox-5869f391c1fa39a9a9826ee16e11e15c4f10200a.tar.bz2
support ctrl+a for selecting all
-rw-r--r--src/FbTk/TextBox.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc
index bf46ae3..9cddd7f 100644
--- a/src/FbTk/TextBox.cc
+++ b/src/FbTk/TextBox.cc
@@ -366,7 +366,12 @@ void TextBox::keyPressEvent(XKeyEvent &event) {
366 adjustPos(); 366 adjustPos();
367 } 367 }
368 break; 368 break;
369 case 'a':
370 selectAll();
371 break;
369 } 372 }
373 clear();
374 return;
370 375
371 } else { // no state 376 } else { // no state
372 377