Re: keyboard not working?
At 1239566853 time_t, Alex Cornejo wrote: Do I need to be following some other branch? I've been pulling xcb-util from git://anongit.freedesktop.org/git/xcb/util As you saw, you should stick with stable version. I broke API in git version of xcb-util for fixing a FS#495. Cheers, -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // In the Sixth Sense, Bruce Willis is dead. signature.asc Description: Digital signature
Re: [PATCH] awful.widget.taglist: dont show name if icon_only property is set
At 1239592675 time_t, koniu wrote: Here's a trivial patch which allows users to have a tag displayed with an icon only if they set 'icon_only' property for it. Choice of the name might not be the best one, but taglist_icon_only seems terribly long for what it is. Pushed. Cheers, -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // Tomorrow I was nothing, yesterday I'll be. signature.asc Description: Digital signature
[PATCH] awful.widget.taglist: remove needless taglist_squares conditions
Moorning, Here's another taglist tweak, also Julien's favourite - deletion! :] Some time ago I noticed that the margin to the left of the tag name disappeared. Looks like this: http://omploader.org/vMWlvaw - eyesore If you look at the screenshot, you will notice that I don't use taglist_squares, which turned out to be the reason - if I uncommented those in the theme, the padding was correct. I think we need the additional space in front of the text whether there are squares or not, so the if's are just in the way. Also the condition for t.name will always be met (tag has to have a name, doesn't it?), so I removed that. kk From 28f06b746fecbb578b606cfd9756d846b12b96e1 Mon Sep 17 00:00:00 2001 From: koniu gkusni...@gmail.com Date: Mon, 13 Apr 2009 11:36:09 +0100 Subject: [PATCH] awful.widget.taglist: remove needless taglist_squares conditions Signed-off-by: koniu gkusni...@gmail.com --- lib/awful/widget/taglist.lua.in | 18 +++--- 1 files changed, 3 insertions(+), 15 deletions(-) diff --git a/lib/awful/widget/taglist.lua.in b/lib/awful/widget/taglist.lua.in index 3d58477..c831858 100644 --- a/lib/awful/widget/taglist.lua.in +++ b/lib/awful/widget/taglist.lua.in @@ -134,25 +134,13 @@ function label.all(t, args) end end end -local taglist_squares = false -if taglist_squares_sel or taglist_squares_unsel then -taglist_squares = true -end -if t.name and not tag.getproperty(t, icon_only) then +if not tag.getproperty(t, icon_only) then if fg_color then text = text .. span color='..util.color_strip_alpha(fg_color)..' -if taglist_squares then -text = text .. -end -text = text..util.escape(t.name).. /span +text = .. text..util.escape(t.name).. /span else -if taglist_squares then -text = text .. -end -text = text .. util.escape(t.name) .. +text = text .. .. util.escape(t.name) .. end -elseif taglist_squares then -text = text .. end text = text .. /span if tag.geticon(t) and type(tag.geticon(t)) == image then -- 1.6.2.1
[PATCH] layout: rearrange ban/unban sequence to avoid seeing the background during tag switch
--- layout.c | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/layout.c b/layout.c index 87dca76..067ffad 100644 --- a/layout.c +++ b/layout.c @@ -47,13 +47,22 @@ arrange(int screen) /* Restore titlebar before client, so geometry is ok again. */ if(titlebar_isvisible(c, screen)) titlebar_unban(c-titlebar); -else if(c-screen == screen) -titlebar_ban(c-titlebar); if(client_isvisible(c, screen)) client_unban(c); +} + +/* Some people disliked the short flicker of background, so we first unban everything. + * Afterwards we ban everything we don't want. This should avoid that. */ +foreach(_c, globalconf.clients) +{ +client_t *c = *_c; + +if(!titlebar_isvisible(c, screen) c-screen == screen) +titlebar_ban(c-titlebar); + /* we don't touch other screens windows */ -else if(c-screen == screen) +if(!client_isvisible(c, screen) c-screen == screen) client_ban(c); } -- 1.6.2.2 -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.
Miley caught giving 9 inches
All that she is dreaming about during long nights. http://zxcqv.hohifex.com/ -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.