1
0
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:
kojima
1999-09-22 02:09:42 +00:00
parent 54e241d2fc
commit d5fbe62ddd
15 changed files with 177 additions and 85 deletions

View File

@@ -585,7 +585,7 @@ wClientCheckProperty(WWindow *wwin, XPropertyEvent *event)
if (wwin->frame)
wWindowUpdateButtonImages(wwin);
} else if (event->atom==_XA_WM_COLORMAP_WINDOWS) {
GetColormapWindows(wwin);

View File

@@ -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 */

View File

@@ -2010,6 +2010,7 @@ int req_x, req_y; /* new position of the frame */
#endif
}
void
wWindowUpdateButtonImages(WWindow *wwin)
{

View File

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