1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-10 18:45:47 +01:00

fixed crash bug with WM_CLASS==NULL

etc
This commit is contained in:
kojima
2001-08-20 18:11:40 +00:00
parent 0e2ac9dd16
commit fa994f627e
17 changed files with 188 additions and 12 deletions

View File

@@ -944,7 +944,7 @@ static void setRowSelected(WMTableView *table, unsigned row, Bool flag)
}
}
if (repaint && row < table->rows) {
//drawFullRow(table, row);
/*drawFullRow(table, row);*/
repaintTable(table);
}
}

View File

@@ -57,6 +57,7 @@ libWINGs_a_SOURCES = \
wfont.c \
wfontpanel.c \
widgets.c \
winputmethod.c \
wlabel.c \
wlist.c \
wmenuitem.c \

View File

@@ -132,6 +132,8 @@ typedef struct W_Screen {
RContext *rcontext;
struct W_IMContext *imctx;
/* application related */
W_FocusInfo *focusInfo;

View File

@@ -617,6 +617,10 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
scrPtr->rootWin = RootWindow(display, screen);
scrPtr->fontCache = WMCreateHashTable(WMStringPointerHashCallbacks);
/* create input method stuff */
W_InitIMStuff(scrPtr);
/* Create missing CUT_BUFFERs */
{

View File

@@ -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);