[3ddesktop-dev] Re: Keybindings and multiple instances

  • From: "Michael F. Wright" <michael@xxxxxxxxxxxx>
  • To: 3ddesktop-dev@xxxxxxxxxxxxx
  • Date: Thu, 19 Jun 2003 11:48:44 -0400 (EDT)

Right on the nose!

I disabled my keyboard repeat entirely and now it only runs once. I don't
quite see what the issue here is though, as my repeat rate was low with a
high delay built in. I was just tapping the keystroke.

Mikkel Holm Olsen said:
> On Wed, Jun 18, 2003 at 09:52:58AM -0400, Michael F. Wright wrote:
>> Secondly, I'm having issues with 3ddesk when it's bound to a key in
>> sawfish. If I run 3ddesk from the command line, I have no problem. If I
>> bind it to a key in sawfish, it runs twice! It runs once, and I select a
>> desktop. As soon as it gets back to a desktop, it runs again! In
>> addition,
>> I have other keybindings setup for other applications and nothing else
>> but
>> 3ddesk runs twice. I even went to the extreme of building shell scripts
>> to
>> touch files on my system and run them through strace from the keybinding
>> to see if it is perhaps called twice. I can't tell what's going on. It
>> ONLY happens with 3ddesk and ONLY when it's bound to a key in my window
>> manager. I even tried metacity and got the same results.
> I have seen this as well, on a single-processor system. It only happens
> occasionally, though, and I believe it is only if i hold the key for a
> little longer than normal. My guess would be keyboard repeat, and the
> window-manager is queueing TWO keyboard events (but the second does not
> get processed until 3ddesk is done). Actually it is probably related to
> the little delay before anything moves when invoking 3ddesktop. I think
> I tend to keep the key pressed until it activates, which is probably why
> it queues two events. If there was just some way of configuring
> key-repeat-rate on a key-by-key basis.
>
> --
>  Mikkel Holm Olsen
>  AKA Spaceman Spiff
>  Denmark
>
> An easily understood, workable falsehood is more useful
>  than a complex, incomprehensible truth.
>


-=-=-=-=-=-=-=-=-=-=-=-=
http://www.abditory.com

For when you just can't
get enough of me!
-=-=-=-=-=-=-=-=-=-=-=-=


Other related posts: