diff options
author | hurikhan <m4r10.5ch14ck@gmail.com> | 2015-01-10 16:01:01 +0800 |
---|---|---|
committer | hurikhan <m4r10.5ch14ck@gmail.com> | 2015-01-10 16:01:01 +0800 |
commit | cd90215ceca03b456aad761da935c92058b0da6a (patch) | |
tree | 64839899c04b4271a42829f3905ebc4cad8b7bdf /platform/x11 | |
parent | 97d290e466bfdf1bb0fa68d828c3a3cb13f138de (diff) |
Make GDScript-Function ( bool OS.is_fullscreen() ) work
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/os_x11.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index bf0bef15db..79051b2ac5 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -569,6 +569,7 @@ void OS_X11::set_fullscreen(bool p_fullscreen) { } bool OS_X11::is_fullscreen() const { + return current_videomode.fullscreen; } InputModifierState OS_X11::get_key_modifier_state(unsigned int p_x11_state) { |