From 3b83703ce7b3d4abeabf6ed166f963645046327c Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Mon, 19 Sep 2011 13:46:55 +0000 Subject: [PATCH] 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 --- vncviewer/vncviewer.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5