Parcourir la source

Fix missing XFixes build

Make sure we can actually build without XFixes libraries.
pull/1636/head
Pierre Ossman il y a 11 mois
Parent
révision
875fd01181
2 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 2
    0
      unix/x0vncserver/XDesktop.cxx
  2. 2
    0
      unix/x0vncserver/XDesktop.h

+ 2
- 0
unix/x0vncserver/XDesktop.cxx Voir le fichier

@@ -947,6 +947,7 @@ void XDesktop::queryRejected()
queryConnectSock = 0;
}

#ifdef HAVE_XFIXES
bool XDesktop::setCursor()
{
XFixesCursorImage *cim;
@@ -994,3 +995,4 @@ bool XDesktop::setCursor()
XFree(cim);
return true;
}
#endif

+ 2
- 0
unix/x0vncserver/XDesktop.h Voir le fichier

@@ -105,7 +105,9 @@ protected:
void deleteAddedKeysyms(Display* dpy);
KeyCode keysymToKeycode(Display* dpy, KeySym keysym);
#endif
#ifdef HAVE_XFIXES
bool setCursor();
#endif
rfb::ScreenSet computeScreenLayout();
};


Chargement…
Annuler
Enregistrer