2011/4/12 Uli Schlachter <[email protected]>:
> Am 12.04.2011 06:04, Adrian C. wrote:
>>
>> On Tue, 12 Apr 2011, Oon-Ee Ng wrote:
>>
>>> The answer I was given is that mouse.screen is fixed from the time
>>> awesome is started
>>
>> You are doing an assignment to 'tag', rules are interpreted and the
>> value is stored. The number of the screen that was focused at the time
>> of assignment.
>>
>> Anyone thought of a solution yet?
>
> So awful.rules doesn't provide what you want.
> But don't worry, you can have a callback!
>
> callback = function(c)
>   c.screen = mouse.screen
>   c:tags({ tags[c.screen][3] })
> end
>

Man, this is really crazy. I have the same problem:
Create a rule that makes new windows appear on the screen I'm
currently on. What magic is it, really?

If I add  "c.screen = mouse.screen"
to the client "manage" (startup) signal, then awesome.rules are no
longer respected. Drives me mad.

--
To unsubscribe, send mail to [email protected].

Reply via email to