emacs-devel
[Top][All Lists]
Advanced

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

Re: Problem with `while-no-input'


From: Lennart Borgman
Subject: Re: Problem with `while-no-input'
Date: Wed, 26 Apr 2006 14:43:09 +0200
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

address@hidden wrote:
Jason Rumney wrote:
address@hidden wrote:
I'm running a build from 22. April 2006 build for Windows
(i386-mingw-nt5.1.2600). With this build it runs (i.e. interrupts)
via: - all keys
- middle-mouse of a 3 button mouse
- mouse-wheel

It interrupts *not* via left and right mouse-buttons...

Is the value of w32-num-mouse-buttons 2?

yes.

But i use a 3-button mouse! I didn't know that a user has explicitly
set this variable to 3 if he uses a 3-button mouse?! Is this documented
somewhere??

Anyway: If i set w32-num-mouse-buttons to 3 via setq than all works fine,
means the code is interrupted by every mouse-button...

Without this setting only button 2 interrupts, but not buttons 1 and 3...
Why not set this information via GetSystemMetrics? There is a good example on

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getting_hardware_information.asp

Note: In my MinGW installation SM_CMOUSEBUTTONS is defined (=43) but SM_MOUSEPRESENT (=19) is missing.




reply via email to

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