search for: outputdev

Displaying 5 results from an estimated 5 matches for "outputdev".

2006 Nov 01
4
Minor fix to multi-head changes for mixed resolutions
...minor a problem with mixed resolutions (1600x1200 & 1280x1024). The viewport was getting set partially off screen. The following tweak fixed it for me: --- plugins/display.c +++ plugins/display.c @@ -2069,7 +2069,7 @@ eventLoop (void) { if (s->nOutputDev > 1) glViewport (s->outputDev[i].region.extents.x1, - s->outputDev[i].region.extents.y1, + s->height - s->outputDev[i].region.extents.y2, s-...
2008 Feb 08
0
[PATCH] Make outputDeviceForGeometry behave smarter when dealing with overlapping outputs. Currently, the current output is returned if some part of the rectangle is on it; otherwise the output device the rectangle center is on is returned. This works
This makes scenarios like laptops with external monitors on Xrandr 1.2 work. Those e.g. have a 1280x800 output and a 1280x1024 output, completely overlapping each other. With this patch, outputDeviceForGeometry will return the smaller head for a rectangle that's completely inside the smaller head and the larger head otherwise. --- src/screen.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 74 insertions(+), 14 deletions(-) diff --git a/src/screen.c b...
2006 Dec 08
4
Patch to wobbly snap for outputs
...nt 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->position.y); + workArea = w->screen->outputDev[output].workArea; + + if (x >= workArea.x) { CompWindow *p; - v1 = w->screen->workArea.x; + v1 = workArea.x; for (p = w->screen->windows; p; p = p->next) { - if (p...
2006 Nov 07
1
Patch for zoom with mixed resolutions
...-------------- --- 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->newZoom; zs->yTr...
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