浏览代码

Remove unneeded call in DisplayServerX11

X11 does not need setting exclusive flag (it is not implemented).

Co-authored-by: bruvzg <[email protected]>

alvinhochun 1 年之前
父节点
当前提交
24e02d56cb
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      platform/linuxbsd/x11/display_server_x11.cpp

+ 0 - 1
platform/linuxbsd/x11/display_server_x11.cpp

@@ -1750,7 +1750,6 @@ DisplayServer::WindowID DisplayServerX11::create_sub_window(WindowMode p_mode, V
 	}
 #endif
 
-	window_set_exclusive(id, p_exclusive);
 	if (p_transient_parent != INVALID_WINDOW_ID) {
 		window_set_transient(id, p_transient_parent);
 	}