1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

fix a small bug relate to modelock.

This commit is contained in:
id
1999-06-19 00:33:55 +00:00
parent 7cc53d5134
commit ced24f3182

View File

@@ -654,7 +654,7 @@ renderTexture(WScreen *scr, WTexture *texture, int width, int height,
#ifdef XKB_BUTTON_HINT
if (language) {
timg = RGetSubImage(img, bwidth, 0, bwidth, bheight);
timg = RGetSubImage(img, bwidth * left, 0, bwidth, bheight);
} else
timg = NULL;
#endif
@@ -792,9 +792,10 @@ updateTexture(WFrameWindow *fwin)
fwin->lbutton_back[i]);
#ifdef XKB_BUTTON_HINT
if (fwin->language_button && fwin->languagebutton_back[i])
if (fwin->language_button && fwin->languagebutton_back[i]) {
XSetWindowBackgroundPixmap(dpy, fwin->language_button->window,
fwin->languagebutton_back[i]);
}
#endif
if (fwin->right_button && fwin->rbutton_back[i])