summaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-03 18:52:42 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-03 18:52:42 -0300
commit908f75c23fdd285523aeae3631b654f9b49c7b59 (patch)
tree853cad7c64f19cbf9976b076c777b070ac6c838d /platform
parente8fbf39f886b2b5dbf5e14f07cd1dbefe8d48bf4 (diff)
downloadredot-engine-908f75c23fdd285523aeae3631b654f9b49c7b59.tar.gz
having active items is pointless in input map
Diffstat (limited to 'platform')
-rw-r--r--platform/x11/os_x11.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 0887fd9df2..75ec9fd5de 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -619,6 +619,7 @@ void OS_X11::set_wm_fullscreen(bool p_enabled) {
xev.xclient.data.l[2] = 0;
XSendEvent(x11_display, DefaultRootWindow(x11_display), False, SubstructureRedirectMask | SubstructureNotifyMask, &xev);
+
}
int OS_X11::get_screen_count() const {
@@ -887,7 +888,16 @@ void OS_X11::set_window_maximized(bool p_enabled) {
XGetWindowAttributes(x11_display,DefaultRootWindow(x11_display),&xwa);
current_videomode.width = xwa.width;
current_videomode.height = xwa.height;
-*/
+//*/
+
+// current_videomode.width = wm_max_horz;
+// current_videomode.height = wm_max_vert;
+
+ //Size2 ss = get_screen_size(get_current_screen());
+ //current_videomode.width=ss.width;
+ //current_videomode.height=ss.height;
+
+
maximized = p_enabled;
}