mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
fixed font bug in WINGs
font panel problems po file problems misc bugs
This commit is contained in:
@@ -585,7 +585,7 @@ wClientCheckProperty(WWindow *wwin, XPropertyEvent *event)
|
||||
|
||||
if (wwin->frame)
|
||||
wWindowUpdateButtonImages(wwin);
|
||||
|
||||
|
||||
} else if (event->atom==_XA_WM_COLORMAP_WINDOWS) {
|
||||
|
||||
GetColormapWindows(wwin);
|
||||
|
||||
12
src/misc.c
12
src/misc.c
@@ -153,11 +153,13 @@ MakeCPPArgs(char *path)
|
||||
|
||||
/* put the dir where the menu is being read from to the
|
||||
* search path */
|
||||
tmp = wstrdup(path);
|
||||
buf = strrchr(tmp, '/');
|
||||
if (buf) *buf = 0; /* trunc filename */
|
||||
putdef(line, " -I", tmp);
|
||||
free(tmp);
|
||||
if (path) {
|
||||
tmp = wstrdup(path);
|
||||
buf = strrchr(tmp, '/');
|
||||
if (buf) *buf = 0; /* trunc filename */
|
||||
putdef(line, " -I", tmp);
|
||||
free(tmp);
|
||||
}
|
||||
|
||||
|
||||
/* this should be done just once, but it works this way */
|
||||
|
||||
@@ -2010,6 +2010,7 @@ int req_x, req_y; /* new position of the frame */
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
wWindowUpdateButtonImages(WWindow *wwin)
|
||||
{
|
||||
|
||||
@@ -215,6 +215,10 @@ makeShortcutCommand(WMenu *menu, WMenuEntry *entry)
|
||||
|
||||
WMPutInBag(scr->shortcutWindows[index], tmp);
|
||||
}
|
||||
} else {
|
||||
scr->shortcutWindows[index] = WMCreateBag(4);
|
||||
|
||||
WMPutInBag(scr->shortcutWindows[index], wwin);
|
||||
}
|
||||
|
||||
wSelectWindow(wwin, !wwin->flags.selected);
|
||||
|
||||
Reference in New Issue
Block a user