diff options
author | MJacred <loesch.benny92@gmx.de> | 2019-04-29 15:40:48 +0200 |
---|---|---|
committer | MJacred <loesch.benny92@gmx.de> | 2019-04-30 12:43:09 +0200 |
commit | 1d86929dcb349330e54fc7450f6c72601bc9d477 (patch) | |
tree | a0d17f363fd2ce62c7bfe3c2283622e6a711f3c1 | |
parent | 18e88c85631adb0b83114687f8c20d9b210a88bf (diff) | |
download | redot-engine-1d86929dcb349330e54fc7450f6c72601bc9d477.tar.gz |
Fix application window not listed in taskbar (X11)
* for executable
* for editor and exported executable (on older Cinnamon versions)
-rw-r--r-- | platform/x11/context_gl_x11.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/context_gl_x11.cpp b/platform/x11/context_gl_x11.cpp index aadf7ee36d..9718b03164 100644 --- a/platform/x11/context_gl_x11.cpp +++ b/platform/x11/context_gl_x11.cpp @@ -191,6 +191,7 @@ Error ContextGL_X11::initialize() { swa.colormap = XCreateColormap(x11_display, RootWindow(x11_display, vi->screen), vi->visual, AllocNone); x11_window = XCreateWindow(x11_display, RootWindow(x11_display, vi->screen), 0, 0, OS::get_singleton()->get_video_mode().width, OS::get_singleton()->get_video_mode().height, 0, vi->depth, InputOutput, vi->visual, valuemask, &swa); + XStoreName(x11_display, x11_window, "Godot Engine"); ERR_FAIL_COND_V(!x11_window, ERR_UNCONFIGURED); set_class_hint(x11_display, x11_window); |