Read his SMS
Keep a spy eye on your Girlfriend's mobile http://freecolorsms.com/ -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.
[awesome bugs] #498 - primary output change via xrandr is not recognized
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#498 - primary output change via xrandr is not recognized User who did this - Maarten Maathuis (madman2003) -- The problem here is that awesome triggers a restart on root window change. Obviously that isn't happening here. It would have to listen to randr-specific output change events. -- More information can be found at the following URL: http://awesome.naquadah.org/bugs/index.php?do=detailstask_id=498#comment1183 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.
Keep it up fast and simply.
Nancy-in-bed Home Video http://go.nradilbiwi.com/ -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.
[PATCH] awful.titlebar typo
anrxc on irc picked this up, one dot missing k From 24766c8c9ec7d33395949dc697d37b714bc23675 Mon Sep 17 00:00:00 2001 From: koniu gkusni...@gmail.com Date: Fri, 17 Apr 2009 18:45:20 +0100 Subject: [PATCH] awful.titlebar: fix typo --- lib/awful/titlebar.lua.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index cdc8feb..46f3a38 100644 --- a/lib/awful/titlebar.lua.in +++ b/lib/awful/titlebar.lua.in @@ -63,7 +63,7 @@ function add(c, args) end -- Redirect relevant events to the client the titlebar belongs to -local bts = util.tablejoin( +local bts = util.table.join( button({ }, 1, function (t) capi.client.focus = t.client t.client:raise() mouse.client.move(t.client) end), button({ args.modkey }, 1, function (t) mouse.client.move(t.client) end), button({ args.modkey }, 3, function (t) mouse.client.resize(t.client) end) -- 1.6.2.1
Re: [PATCH] awful.titlebar typo
At 1239990567 time_t, koniu wrote: anrxc on irc picked this up, one dot missing Thanks for the catch, pushed. Cheers, -- Julien Danjou // ᐰ jul...@danjou.info http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // Life is life. Lalalalala. signature.asc Description: Digital signature
Re: New color management API
Hi Uli, At 1239996846 time_t, Uli Schlachter wrote: First, thanks for your work. +/** Send a request to initialize a color. + * \param color color_t struct to store color into. + * \param colstr Color specification. + * \return request informations. + */ +color_init_cookie_t color_init_unchecked(color_t *color, const char *colstr) +{ +xcb_screen_t *s = xutil_screen_get(globalconf.connection, globalconf.default_screen); +color_init_cookie_t req; +ssize_t len = strlen(colstr); Na na na: - Never call str*() function, use the ones redefined in common/util.h (a_strlen() in this case) - Don't simplify the function proto because you are lazy. You should let the ssize_t for coltr length, because most of the time we can get the string _and_ its length in a single call (luaL_checklstring) which saves us from a useless call to a_strlen(). +if(req.color == NULL) +return true; + +xcb_alloc_named_color_reply_t *named_color; + +if((named_color = xcb_alloc_named_color_reply(globalconf.connection, + req.cookie, NULL))) +{ +req.color-red = named_color-visual_red; +req.color-green = named_color-visual_green; +req.color-blue = named_color-visual_blue; +req.color-alpha = 0xff; +req.color-initialized = true; +p_delete(named_color); +return true; +} Hum. So actually, you mean that even for your color_t you need to send an X request. I did miss that when arguing that your solution was nice, since I can't see the benefits right now. Or do I miss something else? 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