浏览代码

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

hurikhan 10 年之前
父节点
当前提交
cd90215cec
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 {
 bool OS_X11::is_fullscreen() const {
+	return current_videomode.fullscreen;
 }
 }
 
 
 InputModifierState OS_X11::get_key_modifier_state(unsigned int p_x11_state) {
 InputModifierState OS_X11::get_key_modifier_state(unsigned int p_x11_state) {