mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-23 16:06:55 +01:00
fixed crash bug with WM_CLASS==NULL
etc
This commit is contained in:
1 parent
0e2ac9dd16
commit
fa994f627e
17 files changed
+188
-12
No files matched your search
+1
-1
@@ -1259,7 +1259,7 @@ handleTextFieldKeyPress(TextField *tPtr, XEvent *event)
|
||||
normal_key:
|
||||
default:
|
||||
if (!controled) {
|
||||
if (count > 0 && isprint(buffer[0])) {
|
||||
if (count > 0 && !iscntrl(buffer[0])) {
|
||||
if (tPtr->selection.count)
|
||||
WMDeleteTextFieldRange(tPtr, tPtr->selection);
|
||||
WMInsertTextFieldText(tPtr, buffer, tPtr->cursorPosition);
|
||||
|
||||
Reference in new issue
Block a user