search for: compoutput

Displaying 9 results from an estimated 9 matches for "compoutput".

2007 Jun 12
0
[PATCH] Combined checkFTB and capDirection into one checkOrientation function.
...+++++++-------------------------------------- 2 files changed, 43 insertions(+), 95 deletions(-) diff --git a/include/cube.h b/include/cube.h index 0a87626..293bad1 100644 --- a/include/cube.h +++ b/include/cube.h @@ -87,16 +87,11 @@ typedef void (*CubePaintInsideProc) (CompScreen *s, CompOutput *output, int size); -typedef Bool (*CubeCheckFTBProc) (CompScreen *s, - const ScreenPaintAttrib *sAttrib, - const CompTransform *transform, - CompOutput *output); - -typedef Bool (*CubeCapDirectionProc) (CompScreen *s, -...
2006 Nov 07
1
Set workarea per output (instead of screen)?
Hey, I'm thinking about the addition of the getWorkareaForOutput method, and I'm wondering if it wouldn't make sense to define the workarea as part of the CompOutput struct and set it up as part of (or replacing?) the updateWorkareaForScreen call. Either that or make the call to getWorkareaForOutput redo the extents calculation on the windows within only that output. Which do you think makes more sense? A key issue as I see it is that panels, etc., may only...
2007 Jun 12
0
[PATCH] Made checkFTB wrapable (needed by cubereflex plugin).
...de/cube.h | 6 ++++++ plugins/cube.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/include/cube.h b/include/cube.h index a8baf1f..c360a73 100644 --- a/include/cube.h +++ b/include/cube.h @@ -75,6 +75,11 @@ typedef void (*CubePaintTopBottomProc) (CompScreen *s, CompOutput *output, int size); +typedef Bool (*CubeCheckFTBProc) (CompScreen *s, + const ScreenPaintAttrib *sAttrib, + const CompTransform *transform, + CompOutput *output); + typedef enum _PaintOrder { BTF = 0, @@ -103,6 +108,7 @@ typedef struct...
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 *Second* As you can see above, setGeometry uses: (x1,x2,y1,y2). I'm proposing to change to setGeometry (x1,y1,x2,y2) A Rectangle is defined by two points (x1,y1) and (x2,y2). So, setGeometry wil...
2006 Nov 07
1
Patch for zoom with mixed resolutions
...C -------------- next part -------------- --- plugins/zoom.c +++ plugins/zoom.c @@ -480,8 +480,12 @@ if (zs->currentZoom == 1.0f) { - zs->xTranslate = (x - s->width / 2) / (s->width * 2.0f); - zs->yTranslate = (y - s->height / 2) / (s->height * 2.0f); + CompOutput *o = &s->outputDev[zs->zoomOutput]; + + zs->xTranslate = ((x - o->region.extents.x1) - o->width / 2) / + (s->width * 2.0f); + zs->yTranslate = ((y - o->region.extents.y1) - o->height / 2) / + (s->height * 2.0f); zs->xTranslate /= zs->...
2008 May 29
0
[ANNOUNCE] compiz-0.7.6
...elper macro. Added option for multi output behaviour of place and added a "Place on output which has the pointer" mode. Place dialogs centered on current output device rather than centered on screen. Fix warning. Make the placeGetPlacementOutput function return a CompOutput pointer. Clamp new position if a viewport match was given. If the new position was outside the visible screen area before, the window would be placed on a viewport different to the one specified otherwise. Fix whitespace. Move style window offscreen to make sure it never is visi...
2014 Nov 24
1
Contributor Contributions
I have made claims that I have not left the compiz project and that I have been maintaining it over the past 4 years, despite the lack of releases by not fault but my own. At the request of some of the original compiz developers, I am now posting a compilation of some of the contributions I've made over time, since the beginning. Since the most important contributions are code and easiest to
2007 Aug 03
4
[ANNOUNCE] compiz-0.5.2
...ot;smart" mode calculation. Add input extents when placing window in "smart" mode to get correct position. Revert of commit "Relation of type 'after' is unnecessary information when cube plugin is a requirement." Work correctly with fullscreeOutput CompOutput. Name function correctly: clonePaintScreen -> clonePaintOutput Erkin Bahceci: Add open/close option. Add override_redirect matching support. Slightly speed up Water by replacing a SUB-MUL pair with MAD. Disable textures and texture targets properly. Center ti...
2007 Oct 01
4
[ANNOUNCE] compiz-0.6.0
...ot;smart" mode calculation. Add input extents when placing window in "smart" mode to get correct position. Revert of commit "Relation of type 'after' is unnecessary information when cube plugin is a requirement." Work correctly with fullscreeOutput CompOutput. Name function correctly: clonePaintScreen -> clonePaintOutput Disable backface culling only for front-to-back painted transparent cube faces. Draw cube caps only once per output, but allow plugin plugins to reset this handling. Fixes switcher with transparent cube. Use c...