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

Fix enable-modelock warnings

Fix warnings that only show up when --enable-modelock is passed to
./configure.
This commit is contained in:
Brad Jorsch
2010-04-08 17:01:24 -04:00
committed by Carlos R. Mafra
parent ec7506e5e5
commit 65aa3ae9c8
4 changed files with 10 additions and 3 deletions

View File

@@ -146,13 +146,14 @@ void wFrameWindowUpdateBorders(WFrameWindow * fwin, int flags)
wCoreConfigure(fwin->left_button, 0, 0, bsize, bsize);
}
#ifdef XKB_BUTTON_HINT
if (fwin->language_button)
if (fwin->language_button) {
if (fwin->flags.hide_left_button || !fwin->left_button
|| fwin->flags.lbutton_dont_fit) {
wCoreConfigure(fwin->language_button, 0, 0, bsize, bsize);
} else {
wCoreConfigure(fwin->language_button, bsize, 0, bsize, bsize);
}
}
#endif
if (fwin->right_button) {