On Tue, 10 May 2005 13:04:33 +0200 Massimo Maiurana <[EMAIL PROTECTED]> babbled:

> Il giorno Mon, 09 May 2005 23:12:30 +0200 Sebastian scrisse:
> 
> > > I used xprop to get the window name to set eapp:
> > > 
> > > [EMAIL PROTECTED]:~$ xprop | grep WM_NAME
> > > WM_NAME(STRING) = "Frozen-Bubble"
> > 
> > This is wrong. Check .xsession-errors. E17 prints name and class when 
> > you start an app.
> 
> I do not have any .xsession-errors in my home, perhaps because I start
> the system in text mode and launch startx.
> 
> 
> Il giorno Tue, 10 May 2005 11:43:17 +0900 Carsten scrisse:
> 
> > > I used xprop to get the window name to set eapp:
> > > 
> > > [EMAIL PROTECTED]:~$ xprop | grep WM_NAME
> > > WM_NAME(STRING) = "Frozen-Bubble"
> > 
> > that's not the name. that's the title. do not be be fooled by the
> > inappropriate name of the properties. look for WM_CLASS. that's name +
> > class. WM_NAME is the title.
> 
> [EMAIL PROTECTED]:~$ xprop | grep WM_CLASS
> WM_CLASS(STRING) = "SDL_App", "SDL_App"
> 
> this is for both frozen-bubble and supertux, looks like both of them
> sets the same win class and the same win name (and maybe all other sdl
> based apps).
> 
> I guess this means I cannot have two different icons (in pager and
> title bar) for them :(
> 
> it would be possible if we could match even the window title.

window title is bad to match on as it changes for many apps while the app runs. 
name and class do not. you just have an app that cannot get an icon. the way x 
works with this is a hack anyway.

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


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to