diff options
author | fluxgen <fluxgen> | 2004-07-15 13:48:54 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-07-15 13:48:54 (GMT) |
commit | 4179d518296f8231d8a29359b7c6e4bae03c22fb (patch) | |
tree | 4cbe18c274aee3012daeb11ca4916910d1b16e75 /src | |
parent | 4e243d159987c50d45e03d435cd85e8af01fc4a9 (diff) | |
download | fluxbox_paul-4179d518296f8231d8a29359b7c6e4bae03c22fb.zip fluxbox_paul-4179d518296f8231d8a29359b7c6e4bae03c22fb.tar.bz2 |
delete key
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/TextBox.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc index 50f54fa..460db7e 100644 --- a/src/FbTk/TextBox.cc +++ b/src/FbTk/TextBox.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: TextBox.cc,v 1.9 2004/04/19 18:57:30 fluxgen Exp $ | 22 | // $Id: TextBox.cc,v 1.10 2004/07/15 13:48:54 fluxgen Exp $ |
23 | 23 | ||
24 | #include "TextBox.hh" | 24 | #include "TextBox.hh" |
25 | #include "Font.hh" | 25 | #include "Font.hh" |
@@ -248,6 +248,9 @@ void TextBox::keyPressEvent(XKeyEvent &event) { | |||
248 | case XK_Right: | 248 | case XK_Right: |
249 | cursorForward(); | 249 | cursorForward(); |
250 | break; | 250 | break; |
251 | case XK_Delete: | ||
252 | deleteForward(); | ||
253 | break; | ||
251 | default: | 254 | default: |
252 | if (isprint(keychar[0])) { | 255 | if (isprint(keychar[0])) { |
253 | std::string val; | 256 | std::string val; |