Re: Application modal transients windows



On  5 Nov, Matthias Ettrich scribbled:
->  > 
->  > anyone got insight into this? i think it's good we have a debate on
->  > this now, rather than leave it half-done and end up with a standard
->  > several of us may think is inadequate
->  > 
->  
->  I agree with Raster here. A rgba datastream to store the icon has several
->  advantages.  It's a little bit more complicated for simple window managers
->  to handle (but hey, who can't handle rgb data?) but it won't slow things down.
->  
->  What's happening currently (at least with KWM ) is:  

you missed the:
         - the app creates pixmap - waits for server reply
         - the app creates Ximage or XShmImage (in shm this means
         another server to and fro to negotiate shm segment)
         - the app converts image data of disk or memory to Ximage
         - the app XPut/XShmPutImage's the data 
         
->       - the app transfer the icon image to the server and gets a pixmap handle
->       - the app installs that handle as window property
->       - the wm gets the pixmap handle from the server      
->       - the wm get the image data from the server      
->       - the wm does some scaling, smoothing, effects, whatever      
->       - the wm transfers the new image back to the server
->  
->  
->  What we want is:
->       - the app installs the image data as window property
->       - the wm gets that data from the server
->       - the wm does some scaling, smoothing, effects, whatever
->       - the wm transfers the new image back to the server

I like the fact an RGBA system mans many fewer steps thus faster
turnaround especially if the app changes its icon RGBA data it sets the
property again - WM gets property notify - grbs the sata againa dn
re-renders.. (this should be noted int hespec - if the icon data
changes and the icon is visible the wm shoudl re-render the icon wiht
the new data whenever the property changes)

this allows apps a guarantee of being able to use the icon image as a
way of showing state. :)


->  Matthias
->  
->  

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com     raster@valinux.com
                                    raster@enlightenment.org raster@linux.com
				    raster@zip.com.au



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