From Cedric Pinson, fixes for toggle fullscreen on gnome desktop

This commit is contained in:
Robert Osfield
2007-12-06 17:28:29 +00:00
parent 188b196ca6
commit 6c09a22957
2 changed files with 66 additions and 32 deletions

View File

@@ -154,6 +154,9 @@ class OSGVIEWER_EXPORT GraphicsWindowX11 : public osgViewer::GraphicsWindow
void init();
bool checkAndSendEventFullScreenIfNeeded(Display* display, int x, int y, int width, int height, bool windowDecoration);
void transformMouseXY(float& x, float& y);
void adaptKey(XKeyEvent& keyevent, int& keySymbol, unsigned int& modifierMask);