-over/leave/click-handler for the former imagebox.
Regards,
Leon Winter
From cf899b01d0707fea89d5a475caa59908f2ce4ca2 Mon Sep 17 00:00:00 2001
From: Leon Winter leon.win...@informatik.uni-oldenburg.de
Date: Thu, 18 Dec 2008 18:02:54 +0100
Subject: [PATCH] awful.menu: use bg_image instead
-over/leave/click-handler for the former imagebox.
Regards,
Leon Winter
From cf899b01d0707fea89d5a475caa59908f2ce4ca2 Mon Sep 17 00:00:00 2001
From: Leon Winter leon.win...@informatik.uni-oldenburg.de
Date: Thu, 18 Dec 2008 18:02:54 +0100
Subject: [PATCH] awful.menu: use bg_image instead
Julien Danjou wrote:
At 1229325688 time_t, Leon Winter wrote:
+if icon.width tonumber(data.h) then
+icon =
icon:crop_and_scale(0,0,icon.height,icon.width,data.h,data.h)
Pictures may not be square.
16px on default because most icons are 16px.
Regards,
Leon Winter
At 1229325688 time_t, Leon Winter wrote:
+if icon.width tonumber(data.h) then
+icon =
icon:crop_and_scale(0,0,icon.height,icon.width,data.h,data.h)
Pictures may not be square.
--
Julien Danjou
// ᐰ jul...@danjou.info http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6
Regards,
Leon Winter
From 09ff8bcb1ce3b9cd00476de8875e651b15816fa6 Mon Sep 17 00:00:00 2001
From: Leon Winter leon.win...@informatik.uni-oldenburg.de
Date: Sun, 14 Dec 2008 19:50:05 +0100
Subject: [PATCH] awful.menu: use bg_image instead of imagebox
---
lib/awful/menu.lua.in | 27
Leon Winter wrote:
Hi,
i just wondered how complicated awful.menu is designed. Since we have
.bg_image we can KISS :P
Patch attached ;)
However there is a bug in awful.menu (and was before the patch aswell):
Click on an item in the menu, then reopen the menu and point over the
item