On Fri, 25 Aug 2006 08:54:30 +1200 Jochen Schroeder
<[EMAIL PROTECTED]> babbled:

> Paul Stejskal wrote:
> > Jochen Schroeder wrote:
> >> Hi all,
> >>
> >> I want to remember some windows by title, which does not work. Using 
> >> xprop WM_NAME shows the right title (the string displayed in the 
> >> title bar), however the e windows properties dialog only shows the 
> >> title field empty. Matching icons by manually setting the title does 
> >> not work either. Any hints?
> >>
> >> Cheers
> >> Jochen
> >>  
> >>   
> > Under advanced, remember it by everything (Transience, etc.) under 
> > that section.
> > Paul
> >
> First, that is not really what I want to do. Second it does not work
> either. Well for more information what I want to do is open a specific
> file in gvim and have it always appear on one virtual desktop. The best
> way of doing this would be using the  title, as that is where the edited
> file is being shown in gvim. However this does not work. I think I had
> it working for other programs before so I'm starting to think it might
> be a bug introduced in the recent changes.

no - title in this case is probably not going to work. here is why.

gvim starts. it creates a window. it asks to show it. now it loads the file. it
now CHANGES the title.

there is a RACE condition. e may get to managing the window before or after the
title has been changed - remember that x is asynchronous - the title may happen
before or after e deals with the map request. order of operation is only
guaranteed within 1 x11 connection. if titles are being changed then matching
using a title is a mater of sheer luck - at the time a window appears, is the
title then set to what it is meant to match to. if it ALWAYS is (app sets title
before issuing a map request) ten it will work - always. if it does the title
change later - it might works sometimes, and other times not.



-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to