diff --git a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp index 434d2fa0ca..ee48bbc333 100644 --- a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp +++ b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_X11.cpp @@ -8,6 +8,7 @@ #include // ceil() #define GLX_GLXEXT_PROTOTYPES #include // All sorts of stuff... +#include // XXX HACK: RageDisplay_OGL is expecting us to set this for it so it can do // GLX-specific queries and whatnot. It's one ugly hackish mess, but hey, @@ -96,6 +97,10 @@ CString LowLevelWindow_X11::TryVideoMode(RageDisplay::VideoModeParams p, bool &b } windowIsOpen = true; + char WindowTitle[] = "StepMania"; + XChangeProperty(g_X11Display, X11Helper::Win, XA_WM_NAME, XA_STRING, 8, PropModeReplace, + reinterpret_cast(WindowTitle), strlen(WindowTitle)); + ctxt = glXCreateContext(X11Helper::Dpy, xvi, NULL, True); glXMakeCurrent(X11Helper::Dpy, X11Helper::Win, ctxt);