On Thu, Oct 1, 2009 at 11:40 PM, James Pearson <xiong.chiam...@gmail.com> wrote:
> On Fri, Sep 11, 2009 at 1:42 AM, Javier Barroso <javibarr...@gmail.com>
> wrote:
>>
>> I'm having trouble with sticky propierty.
>>
>> I probe with 2 different configs (awful.client.sticky.set (c,..)) y
>> c.sticky=true :
>> $ diff -C3  /etc/xdg/awesome/rc.lua .config/awesome/rc.lua
>> *** /etc/xdg/awesome/rc.lua     2009-05-18 11:53:55.000000000 +0200
>> --- .config/awesome/rc.lua      2009-09-11 10:33:22.000000000 +0200
>> ***************
>> *** 381,386 ****
>> --- 381,388 ----
>>      local inst = c.instance
>>      if floatapps[cls] ~= nil then
>>          awful.client.floating.set(c, floatapps[cls])
>> +         -- awful.client.sticky.set(c, floatapps[cls])
>> +       c.sticky=true
>>      elseif floatapps[inst] ~= nil then
>>          awful.client.floating.set(c, floatapps[inst])
>>      end
>>
>> Then I start gimp in awesome, but it seems like it is not sticky, it
>> only appears in the tag where it was launched.
>
> You're only setting sticky=true if the cls is in floatapps; your rule for
> gimp probably matches the instance, meaning that you need to add that line
> right below the check for `floatapps[inst] ~= nil`, too.
Sorry, I don't understand (maybe my bad english), which line should be
the right line ?

Thank you
PD: Note what I want to do is create a "stickyapps" table which will
be to acts like floatapps but with sticky apps

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Reply via email to