summaryrefslogtreecommitdiff
path: root/platform/x11/context_gl_x11.cpp
diff options
context:
space:
mode:
authorDana Olson <dana@shineuponthee.com>2014-08-25 02:54:10 -0400
committerDana Olson <dana@shineuponthee.com>2014-08-25 02:54:38 -0400
commitdbae857b293231882307c52217e9569a17da0f23 (patch)
treee238900113aa99aa8892752f644ff29348b89829 /platform/x11/context_gl_x11.cpp
parent89fa70706f9166765c3ac3f799225a467800f065 (diff)
borderless fullscreen window support for x11
move disable resize x11 code from context_gl to os_x11
Diffstat (limited to 'platform/x11/context_gl_x11.cpp')
-rw-r--r--platform/x11/context_gl_x11.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/platform/x11/context_gl_x11.cpp b/platform/x11/context_gl_x11.cpp
index b56b54822e..38e3479e5d 100644
--- a/platform/x11/context_gl_x11.cpp
+++ b/platform/x11/context_gl_x11.cpp
@@ -129,17 +129,6 @@ Error ContextGL_X11::initialize() {
}
//};
- if (!OS::get_singleton()->get_video_mode().resizable) {
- XSizeHints *xsh;
- xsh = XAllocSizeHints();
- xsh->flags = PMinSize | PMaxSize;
- xsh->min_width = OS::get_singleton()->get_video_mode().width;
- xsh->max_width = OS::get_singleton()->get_video_mode().width;
- xsh->min_height = OS::get_singleton()->get_video_mode().height;
- xsh->max_height = OS::get_singleton()->get_video_mode().height;
- XSetWMNormalHints(x11_display, x11_window, xsh);
- }
-
if (!opengl_3_context) {
//oldstyle context: