Browse Source

Make GDScript-Function ( bool OS.is_fullscreen() ) work

hurikhan 10 years ago
parent
commit
cd90215cec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/x11/os_x11.cpp

+ 1 - 0
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) {