fprintf(stderr,"nxagentChangeScreenConfig: current geometry: %d,%d %dx%d\n",nxagentOption(X),nxagentOption(Y),nxagentOption(Width),nxagentOption(Height));
fprintf(stderr, "nxagentAdjustRandRXinerama: output %d [%s]: window has parts outside visible area - width stays unchanged [%d]\n", i, pScrPriv->outputs[i]->name, width);
fprintf(stderr, "nxagentAdjustRandRXinerama: output [%d] name [%s]: window has parts outside visible area - width stays unchanged [%d]\n", i, pScrPriv->outputs[i]->name, width);
fprintf(stderr, "nxagentAdjustRandRXinerama: output %d [%s]: window has parts outside visible area - height stays unchanged [%d]\n", i, pScrPriv->outputs[i]->name, height);
fprintf(stderr, "nxagentAdjustRandRXinerama: output [%d] name [%s]: window has parts outside visible area - height stays unchanged [%d]\n", i, pScrPriv->outputs[i]->name, height);
#endif
new_h = height;
}
...
...
@@ -3951,9 +3973,9 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
@@ -3989,7 +4011,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
else
{
#ifdef DEBUG
fprintf(stderr,"nxagentAdjustRandRXinerama: output %d [%s]: intersection is x [%d] y [%d] width [%d] height [%d]\n",i,pScrPriv->outputs[i]->name,new_x,new_y,new_w,new_h);
fprintf(stderr,"nxagentAdjustRandRXinerama: output [%d] name [%s]: intersection is x [%d] y [%d] width [%d] height [%d]\n",i,pScrPriv->outputs[i]->name,new_x,new_y,new_w,new_h);
@@ -4075,15 +4097,16 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
for(i=0;i<pScrPriv->numCrtcs;i++){
RRModePtrmode=pScrPriv->crtcs[i]->mode;
if(mode){
fprintf(stderr,"nxagentAdjustRandRXinerama: crtc %d has mode [%s] ([%p]), refcnt [%d] and %d outputs\n",i,pScrPriv->crtcs[i]->mode->name,(void*)pScrPriv->crtcs[i]->mode,pScrPriv->crtcs[i]->mode->refcnt,pScrPriv->crtcs[i]->numOutputs);
fprintf(stderr,"nxagentAdjustRandRXinerama: crtc [%d] ([%p]) has mode [%s] ([%p]), refcnt [%d] and [%d] outputs:\n",i,(void*)pScrPriv->crtcs[i],pScrPriv->crtcs[i]->mode->name,(void*)pScrPriv->crtcs[i]->mode,pScrPriv->crtcs[i]->mode->refcnt,pScrPriv->crtcs[i]->numOutputs);
}
else
{
fprintf(stderr,"nxagentAdjustRandRXinerama: crtc %d has no mode and %d outputs\n",i,pScrPriv->crtcs[i]->numOutputs);
fprintf(stderr,"nxagentAdjustRandRXinerama: crtc [%d] ([%p]) has no mode and [%d] outputs:\n",i,(void*)pScrPriv->crtcs[i],pScrPriv->crtcs[i]->numOutputs);
fprintf(stderr,"nxagentAdjustRandRXinerama: output [%d] name [%s]->crtc=[%p]\n",j,pScrPriv->crtcs[i]->outputs[j]->name,(void*)pScrPriv->crtcs[i]->outputs[j]->crtc);
}
#endif
...
...
@@ -4096,7 +4119,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
/* FIXME: adjust maximum screen size according to remote randr/xinerama setup */
#ifdef DEBUG
fprintf(stderr,"nxagentAdjustRandRXinerama: Min %dx%d, Max %dx%d \n",pScrPriv->minWidth,pScrPriv->minHeight,pScrPriv->maxWidth,pScrPriv->maxHeight);
fprintf(stderr,"nxagentAdjustRandRXinerama: Min %dx%d, Max %dx%d \n",pScrPriv->minWidth,pScrPriv->minHeight,pScrPriv->maxWidth,pScrPriv->maxHeight);
#endif
returnTRUE;
...
...
@@ -4210,7 +4233,7 @@ void nxagentSaveAreas(PixmapPtr pPixmap, RegionPtr prgnSave, int xorg, int yorg,
#ifdef TEST
fprintf(stderr,"nxagentSaveAreas: Added pixmap [%p] with id [%d] on window [%p] to BSPixmapList.\n",