]> source.dussan.org Git - tigervnc.git/commitdiff
Proper GNOME shell integration requires that WM_CLASS
authorHenrik Andersson <henrik.andersson@cendio.com>
Mon, 19 Sep 2011 13:46:55 +0000 (13:46 +0000)
committerHenrik Andersson <henrik.andersson@cendio.com>
Mon, 19 Sep 2011 13:46:55 +0000 (13:46 +0000)
of window is set.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4676 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/vncviewer.cxx

index 1efe1d7d16055261b081640ca912b1bab21ddba5..079e7adc2a144ad698e5635f272bc05939847499 100644 (file)
@@ -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);