Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-02-24 09:05:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-24 09:05:29 +0400
commit630a31a9004963474200cae355cc58cb06cc9dc9 (patch)
tree3309cb7b02e9b4ab0c96e4efd057a14b03f866dc /intern/ghost/GHOST_IWindow.h
parent93c3593d825aafe30aaf051182e50bde4c6084dd (diff)
fix for fullscreen on X11 (used by the BGE, not blender application),
changing the screen resolution wasn't still allowed for larger virtual desktops. added an exclusive option to ghost so the fullscreen window is ignored by the window manager and we get all events. (common practice for games on X11).
Diffstat (limited to 'intern/ghost/GHOST_IWindow.h')
-rw-r--r--intern/ghost/GHOST_IWindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h
index 4cf0dbfb820..a2d3e9b91fb 100644
--- a/intern/ghost/GHOST_IWindow.h
+++ b/intern/ghost/GHOST_IWindow.h
@@ -305,7 +305,10 @@ public:
*/
virtual GHOST_TSuccess setCursorGrab(GHOST_TGrabCursorMode mode, GHOST_Rect *bounds, GHOST_TInt32 mouse_ungrab_xy[2]) { return GHOST_kSuccess; }
-
+ /** */
+ virtual GHOST_TSuccess beginFullScreen() const = 0;
+ virtual GHOST_TSuccess endFullScreen() const = 0;
+
virtual float getNativePixelSize(void) = 0;