(0,0) is the upper left corner of whatever virtual desktop 
(_NET_DESKTOP_VIEWPORT in the Compiz wall way of doing things) is currently 
visible, with x and y increasing to the right and down.  A window can be at 
negative coordinates if it is on a virtual desktop that is to the left or above 
what is visible.  But not in the _NET_CURRENT_DESKTOP (Openbox desktop) sense; 
those windows are all at (0,0).

That said, using negative numbers to mean "plus the width or height, minus this 
value" is an encoding you could live to regret.

On 08/11/2010 04:04 PM, Martin Bagge / brother wrote:
> On Wed, 11 Aug 2010, Neil Graham wrote:
> 
>> So perhaps
>> [silly_walks.jpg]
>> X = 120
>> Y =-150
>> Which could represent an icon 120 pixels from the left and 150 from the
>> bottom of the workspace, and an Icon in the middle near the top.
> 
> um. isn't 0,0 usually in the top right corner? This might be my lack of 
> X11 knowledge speaking =)
> And I know that this is nothing important, the detail struck me =)
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to