From c736faa1016c26716f7225778ece7aae7e138324 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 4 Nov 2011 15:10:53 +0000 Subject: [PATCH] Remove unused function. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4768 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/xserver/hw/vnc/XserverDesktop.cc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc index 9c5b20b5..1a2bd79d 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.cc +++ b/unix/xserver/hw/vnc/XserverDesktop.cc @@ -450,25 +450,6 @@ void XserverDesktop::setCursor(CursorPtr cursor) } } -static void printRegion(RegionPtr reg) -{ - int nrects = REGION_NUM_RECTS(reg); - - fprintf(stderr,"Region num rects %2d extents %3d,%3d %3dx%3d\n",nrects, - (REGION_EXTENTS(pScreen,reg))->x1, - (REGION_EXTENTS(pScreen,reg))->y1, - (REGION_EXTENTS(pScreen,reg))->x2-(REGION_EXTENTS(pScreen,reg))->x1, - (REGION_EXTENTS(pScreen,reg))->y2-(REGION_EXTENTS(pScreen,reg))->y1); - - for (int i = 0; i < nrects; i++) { - fprintf(stderr," rect %3d,%3d %3dx%3d\n", - REGION_RECTS(reg)[i].x1, - REGION_RECTS(reg)[i].y1, - REGION_RECTS(reg)[i].x2-REGION_RECTS(reg)[i].x1, - REGION_RECTS(reg)[i].y2-REGION_RECTS(reg)[i].y1); - } -} - CARD32 XserverDesktop::deferredUpdateTimerCallback(OsTimerPtr timer, CARD32 now, pointer arg) { -- 2.39.5