Re: FVWM: AutoRaise

From: Jose M. Pereira <pereira_at_cocaina.inesc.pt>
Date: Mon, 16 Oct 95 20:11:45 +0100

"PDS" == Paul D Smith <psmith_at_BayNetworks.com> writes:
In article <9510161828.AA22893_at_lemming.engeast> Paul D. Smith
<psmith_at_BayNetworks.com> writes:

  PDS> Another thing that happens which is also annoying is that I'll move my
  PDS> mouse to the title bar to left-click the top window into the back, but
  PDS> I'll overshoot briefly onto another window or the root. Then I move my
  PDS> mouse back to the top window, which causes the autoraise timer to
  PDS> start, left-click it to the back. Then when the autoraise timer goes
  PDS> off, it comes back to the front. Sometimes I can get into this rhythm
  PDS> where I'll keep left-clicking a window into the back and FVWM keeps
  PDS> stubbornly raising it again for 4 or 5 times! :)

That's why I find the "default" 500ms timeout a bit tight. 750-1000 is more
like it (and more than that is too sluggish).

  PDS> I want autoraise to basically keep track when a new window is selected,
  PDS> and junk any old autoraise in progress and start a timer for the newly
  PDS> selected window. It seems to do this normally (if you move to window A
  PDS> then back again it doesn't raise window A), but not when windows are
  PDS> explicitly deiconified or raised.

Hmm. Yes, that's how it works (should work). I'm sure there is a catch mixing
deiconify/raise/focus/whatever events, but the most common trouble is the
timing. Unix/X is not real-time, you know... A thorough check of all event
timestamps (possible in 2.0!) is REALLY complicated.

  PDS> Does that make sense? I'd be very willing to alpha- or beta-test any
  PDS> patches to FvwmAuto you have :)

Welllll... The prototype I have is not a patch, but a *new* module, written in
Python. Of course, after getting things right, the algorithm can go to a
C module as a patch... If I have the time ;-)

(BTW, that module now correctly emulates/substitutes FvwmAuto, FvwmAudio,
FvwmClean (the "famous" AutoLower module!), and, basically, any
non-X-interface module. Latest version works w/ 2.0 (I switched last week,
finally) and can use Python's tkinter -- that is, Tk widgets...)

-- 
Jose' Pereira
	     INESC (Inst. Eng. Sistemas e Computadores)
             R. Alves Redol 9, 6. 1000 Lisboa, PORTUGAL.
             Phone.: +351 1 3100223 Fax...: +351 1 525843
 e-mail: jmp_at_inesc.pt PGP PUBLIC KEY: finger -m pereira @sabrina.inesc.pt
		<< Hit any user to continue >>
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Oct 16 1995 - 14:12:21 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST