On 25.11.2011 17:52, Tomás Solar Castro wrote:
> El 25/11/11 13:27, Uli Schlachter escribió:
>> On 25.11.2011 13:49, Tomás Solar Castro wrote:
>>> El vie 25 nov 2011 04:00:23 CLST, Uli Schlachter escribió:
>>>> So *why* do you want to set that?
>>>
>>> Because I want to place some windows at bottom right corner.
>>
>> How would the window gravity help with that?
>>
>> The X11 window property "window gravity" describes how a window is moved when
>> its parent window is resized.
>>
>> The gravity field in WM_NORMAL_HINTS (what your previous mail pointed at)
>> defines how the window manager should place its frame window relative to the
>> location that the window itself was positioned at.
>>
>> Neither of this sounds like it has anything to do with your question.
>
> oh, ok... my bad
>
>>> Is there another method to do that?
>>
>> Yes, make it floating and move it into the bottom-right corner of the screen.
>
> Is is possible to do that automatically with a rule? floating = true and
> something else?
callback = function(c)
awful.client.floating.set(c, true)
local g = c:geometry()
local s = screen[c.screen].geometry
g.x = s.x + s.width - c.width
g.y = s.y + s.height - c.height
c:geometry(c)
end
(Perhaps also c.ontop = true?)
--
A learning experience is one of those things that say,
'You know that thing you just did? Don't do that.'
-- Douglas Adams
--
To unsubscribe, send mail to [email protected].