summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-28 11:32:03 +0200
committerGitHub <noreply@github.com>2019-05-28 11:32:03 +0200
commit6ee3a1a6aea453b12ddb7f2c87876be4a4ea2eea (patch)
tree0668e03126326c45def22d57d1f93bf37f093df3
parent335111c98f1504df175ecf5660a46b702ef332fb (diff)
parent1d86929dcb349330e54fc7450f6c72601bc9d477 (diff)
Merge pull request #28512 from MJacred/master
Fix application window not listed in taskbar (X11)
-rw-r--r--platform/x11/context_gl_x11.cpp1
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);