Hello,
Here is a small patch which fixes a long-known bug (empty button in titlebar
when returning from fullscreen).
Regards,
Nicolas
>From 32b3c0ad7f9fb171897d68dc26a636010b246855 Mon Sep 17 00:00:00 2001
From: Nicolas Bonifas <[email protected]>
Date: Tue, 17 Nov 2009 01:01:54 +0100
Subject: [PATCH] Fix the empty button in titlebar after going fullscreen bug (Debian bug #298873)
---
src/window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/window.c b/src/window.c
index 500345b..9884944 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2277,6 +2277,7 @@ void wWindowConfigureBorders(WWindow *wwin)
flags = WFF_LEFT_BUTTON | WFF_RIGHT_BUTTON;
#ifdef XKB_BUTTON_HINT
+ if (wPreferences.modelock)
flags |= WFF_LANGUAGE_BUTTON;
#endif
--
1.6.5