summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
Diffstat (limited to 'app/cwm')
-rw-r--r--app/cwm/menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/cwm/menu.c b/app/cwm/menu.c
index 9f9d5aaa2..1e8c1fbee 100644
--- a/app/cwm/menu.c
+++ b/app/cwm/menu.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: menu.c,v 1.74 2014/01/21 15:42:45 okan Exp $
+ * $OpenBSD: menu.c,v 1.75 2014/02/01 19:28:46 okan Exp $
*/
#include <sys/param.h>
@@ -382,8 +382,8 @@ menu_draw(struct menu_ctx *mc, struct menu_q *menuq, struct menu_q *resultq)
}
xine = screen_find_xinerama(sc, mc->x, mc->y, CWM_GAP);
- xine.w += xine.x;
- xine.h += xine.y;
+ xine.w += xine.x - Conf.bwidth * 2;
+ xine.h += xine.y - Conf.bwidth * 2;
xsave = mc->x;
ysave = mc->y;