summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_x11.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-12 16:48:21 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-12 16:48:21 +0100
commit9446e6938a4d44899d57781b52c0da32adc4b648 (patch)
treef80bb4aaf65f40c31307d6d7f65309af2bac9081 /plugingui/nativewindow_x11.cc
parente94605ae33d0f8ab77e820cb9928643ccc02d9e7 (diff)
Implement setCaption on native windows.
Diffstat (limited to 'plugingui/nativewindow_x11.cc')
-rw-r--r--plugingui/nativewindow_x11.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugingui/nativewindow_x11.cc b/plugingui/nativewindow_x11.cc
index c7605ef..79349dd 100644
--- a/plugingui/nativewindow_x11.cc
+++ b/plugingui/nativewindow_x11.cc
@@ -227,6 +227,7 @@ void GUI::NativeWindowX11::redraw()
void GUI::NativeWindowX11::setCaption(const std::string &caption)
{
+ XStoreName(gctx->display, xwindow, caption.c_str());
}
void GUI::NativeWindowX11::grabMouse(bool grab)