On Tue, Feb 05, 2008 at 05:50:00AM -0600, Rich Coe wrote: > This patch fixes a problem with recently un-mapped windows. If a program > issues a window request to fvwm and that window has un-mapped itself, fvwm > prompts the user with a 'cross-hairs' mouse icon to select the window target > for the command. In all cases the user will have no idea what is going on. > > This patch implements a list of recently used window ids. > When the window request is received: > if the window id is zero, the user is prompted as usual. > if the window id is a known, valid window, > the command is sent to the requested target. > if the window id is unknown, but seen before, we do not process the > request. > else the user is prompted as usual.
You can't do it this way. There is no guarantee that the stored window ids refer to any known window; X may recycle window ids at any time. Can you give me example instructions so that I can play with the problem myself? In what context do you get the crosshairs? Ciao Dominik ^_^ ^_^ -- Dominik Vogt
