oroborus-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Oroborus-user] desklaunch


From: Stefan Pfetzing
Subject: Re: [Oroborus-user] desklaunch
Date: Wed, 31 Jul 2002 13:09:05 +0200
User-agent: Mutt/1.4i

Hi,

* Nick Cross <address@hidden> [020730 13:21]:
> I was experimenting with desklaunch using it with IceWM. Initially it 
> wouldn't work
> L376:
>      if(ev->window==active_icon->window && ev->button==Button1 && 
> ev->state==256)
>       fork_exec(active_icon->command);
> 
> as the ev->state being returned was not 256. I got 272 back (and various 
>  other values when trying it with key modifiers) - is there any reason 
> why the state test is needed as well? - commenting it out makes 
> everything work fine.
Well ev->state is for being sure that no "keyboard modifiers" are active. 256
is the value for Button1Mask. I've made that more clear in the current CVS.
Hm 272, maybe CapsLock on? (should be ignored by the current CVS)

Btw. I don't think this has *anything* to do with IceWM. (well you could use
Oroborus instead, but thats your decision ;))

bye

Stefan

-- 
        http://www.dreamind.de/
Oroborus and Debian GNU/Linux Developer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]