diff options
author | Henrik Andersson <henrik.andersson@cendio.com> | 2011-09-19 13:46:55 +0000 |
---|---|---|
committer | Henrik Andersson <henrik.andersson@cendio.com> | 2011-09-19 13:46:55 +0000 |
commit | 3b83703ce7b3d4abeabf6ed166f963645046327c (patch) | |
tree | 23bd4a0c67023632256843eda38ad60a60f3ef33 | |
parent | 485f419ef4e328f4d41048ed8b73dbf54e7cb7d1 (diff) | |
download | tigervnc-3b83703ce7b3d4abeabf6ed166f963645046327c.tar.gz tigervnc-3b83703ce7b3d4abeabf6ed166f963645046327c.zip |
Proper GNOME shell integration requires that WM_CLASS
of window is set.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4676 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | vncviewer/vncviewer.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 1efe1d7d..079e7adc 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -117,6 +117,10 @@ static void init_fltk() Fl::scheme("plastic"); #endif + // Proper Gnome Shell integration requires that we set a sensible + // WM_CLASS for the window. + Fl_Window::default_xclass("vncviewer"); + // This makes the "icon" in dialogs rounded, which fits better // with the above schemes. fl_message_icon()->box(FL_UP_BOX); |