Displaying 3 results from an estimated 3 matches for "xrectangl".
Did you mean:
xrectangle
2009 Mar 01
3
CompRect modification
Me and Dennis Kasprzyk changed CompRect to be more intuitive and easily
replace XRectangle use.
This patch changes CompRect and whole Core.
Thanks for attention.
--
Eduardo Gurgel Pinho
(GELSoL-UFC)
(Gentoo) Linux User #415930
http://edgurgel.wordpress.com
http://alu.dc.ufc.br/~eduardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.free...
2009 Feb 25
1
[PATCH] CompRect more intuitive
Hi,
Compiz++ uses CompRegion instead of XRectangle, right? This patch tries to
improve CompRect usability
*First*
I was using CompRect, but I've found that the only way to modify a CompRect
is using setGeometry function:
void
CompOutput::setGeometry (int x1, int x2, int y1, int y2);
So I created setX1, setY1, setX2, setY2 functions
*Secon...
2006 Dec 08
4
Patch to wobbly snap for outputs
...the screen workarea case (for the _NET_WORKAREA hint).
Any reason that wouldn't make sense?
...MC
-------------- next part --------------
--- plugins/wobbly.c
+++ plugins/wobbly.c
@@ -510,6 +510,9 @@ findNextWestEdge (CompWindow *w,
int e, end;
int x;
+ int output;
+ XRectangle workArea;
+
start = -65535.0f;
end = 65535.0f;
@@ -518,15 +521,20 @@ findNextWestEdge (CompWindow *w,
x = object->position.x + w->output.left - w->input.left;
- if (x >= w->screen->workArea.x)
+ output = outputDeviceForPoint (w->screen, x, object-...