diff --git a/engine/gl/gl_vidlinuxglx.c b/engine/gl/gl_vidlinuxglx.c index a14038b9b..53ddf7be6 100644 --- a/engine/gl/gl_vidlinuxglx.c +++ b/engine/gl/gl_vidlinuxglx.c @@ -1081,3 +1081,9 @@ void GLVID_ForceLockState (int lk) {} void GLVID_HandlePause (qboolean pause) {} void GL_DoSwap(void) {} + +void GLVID_SetCaption(char *text) +{ + XStoreName(vid_dpy, vid_window, text); +} + diff --git a/engine/sw/vid_x.c b/engine/sw/vid_x.c index 6b8cd8b02..9e4a82392 100644 --- a/engine/sw/vid_x.c +++ b/engine/sw/vid_x.c @@ -1379,3 +1379,9 @@ void SWVID_ForceLockState (int lk) void SWVID_HandlePause (qboolean pause) { } + +void SWVID_SetCaption(char *text) +{ + XStoreName(vid_dpy, x_win, text); +} +