1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

fixed bug with improper setting of root/titlebar cursor (definable cursors)

This commit is contained in:
dan
2001-12-20 22:31:13 +00:00
parent 41996df786
commit e1ed96951b
3 changed files with 7 additions and 6 deletions

View File

@@ -45,6 +45,7 @@ Changes since version 0.70.0:
and further changes in the global domain file for those merged values was
ignored making a system admin unable to set global defaults for all users
using the global domains.
- Fixed bug with improper setting of root/titlebar cursor (definable cursors).
Changes since version 0.65.1:

View File

@@ -791,18 +791,18 @@ WDefaultEntry optionList[] = {
},
{"ScreenSwitchKey", "None", (void*)WKBD_SWITCH_SCREEN,
NULL, getKeybind, setKeyGrab
}
},
#ifdef KEEP_XKB_LOCK_STATUS
,{"ToggleKbdModeKey", "None", (void*)WKBD_TOGGLE,
{"ToggleKbdModeKey", "None", (void*)WKBD_TOGGLE,
NULL, getKeybind, setKeyGrab
},
{"KbdModeLock", "NO", NULL,
&wPreferences.modelock, getBool, NULL
}
},
#endif /* KEEP_XKB_LOCK_STATUS */
,{"NormalCursor", "(builtin, left_ptr)", (void*)WCUR_ROOT,
{"NormalCursor", "(builtin, left_ptr)", (void*)WCUR_ROOT,
NULL, getCursor, setCursor
},
{"ArrowCursor", "(builtin, top_left_arrow)", (void*)WCUR_ARROW,

View File

@@ -805,8 +805,8 @@ StartUp(Bool defaultScreenOnly)
/* cursors */
/*wCursor[WCUR_NORMAL] = None;*/
wCursor[WCUR_NORMAL] = XCreateFontCursor(dpy, XC_left_ptr);
wCursor[WCUR_NORMAL] = None;
/*wCursor[WCUR_NORMAL] = XCreateFontCursor(dpy, XC_left_ptr);*/
wCursor[WCUR_ROOT] = XCreateFontCursor(dpy, XC_left_ptr);
wCursor[WCUR_ARROW] = XCreateFontCursor(dpy, XC_top_left_arrow);
wCursor[WCUR_MOVE] = XCreateFontCursor(dpy, XC_fleur);