xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #56: 1003-delete-screensaver.patch

File 1003-delete-screensaver.patch, 1.0 KB (added by Antoine Martin, 6 years ago)

dummy randr 1.2: patch 3 Delete dPtr->screenSaver

  • src/dummy.h

    This is assigned, but never used.
    
    Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
    ---
     src/dummy.h        | 1 -
     src/dummy_driver.c | 9 ---------
     2 files changed, 10 deletions(-)
    
    diff --git a/src/dummy.h b/src/dummy.h
    index c231be4c069e..705b9e5ed8b9 100644
    a b typedef struct dummyRec 
    5656    int cursorX, cursorY;
    5757    int cursorFG, cursorBG;
    5858
    59     Bool screenSaver;
    6059    dummy_colors colors[256];
    6160    pointer* FBBase;
    6261    Bool        (*CreateWindow)() ;     /* wrapped CreateWindow */
  • src/dummy_driver.c

    diff --git a/src/dummy_driver.c b/src/dummy_driver.c
    index e3b762304d5a..4d833f90cc63 100644
    a b DUMMYFreeScreen(FREE_SCREEN_ARGS_DECL) 
    680680static Bool
    681681DUMMYSaveScreen(ScreenPtr pScreen, int mode)
    682682{
    683     ScrnInfoPtr pScrn = NULL;
    684     DUMMYPtr dPtr;
    685 
    686     if (pScreen != NULL) {
    687         pScrn = xf86ScreenToScrn(pScreen);
    688         dPtr = DUMMYPTR(pScrn);
    689 
    690         dPtr->screenSaver = xf86IsUnblank(mode);
    691     }
    692683    return TRUE;
    693684}
    694685