Kim Woelders wrote: > Dr. Michael 'Mickey' Lauer wrote: >> Carsten Haitzler wrote: >>> On Fri, 20 Jul 2007 16:55:09 +0200 "Dr. Michael 'Mickey' Lauer" >>> <[EMAIL PROTECTED]> babbled: >> >>>> I found this patch to be necessary when working with Ecore X windows that >>>> register with the window manager as the desktop window -- otherwise I >>>> can't get the correct size of the desktop minus the space that's >>>> occupied by panels etc. >>>> >>>> (The only glitch is that the semantics is not symmetrical to >>>> set_workareas where you do additional processing depending on your >>>> amount of virtual workspaces) >> >>> could you make it symmetrical? basically you could have multiple areas... >>> it's >>> bad not to be symmetrical >> >> I agree, however, the semantics of the NETWM_WORKAREA atom is clearly >> defined in >> http://standards.freedesktop.org/wm-spec/wm-spec-1.4.html#id2510516 >> >> So this is really just the workarea for _one_ desktop. It might be >> wise to add ecore_desk_get_workareas (plural) in addition, but I >> wouldn't know what to compute there. >> > Not correct, read the spec again. _NET_WORKAREA (x, y, width, height > CARDINAL[][4]/32) holds the work area for *each* desktop, i.e. an array > of [x, y, width, height]'s.
Ah, that's how it's meant -- thanks. I see, we should expose the complete array to the caller then. Regards, :M: -- Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
