From 0c06b6b1ef6a992a67e4b0912d50653d8febad5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Wed, 15 Mar 2006 13:15:51 +0000 Subject: [PATCH] Changed default WM_NAME. Changed WM_CLASS to rdesktop/SeamlessRDP. This makes it easier to identify seamless windows, but also shows a nicer title in kwin when WM_NAME is empty. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1132 423420c4-83ab-492f-b58f-81f9feb106b5 --- xwin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwin.c b/xwin.c index 22feaef..010406f 100644 --- a/xwin.c +++ b/xwin.c @@ -3061,14 +3061,15 @@ ui_seamless_create_window(unsigned long id, unsigned long parent, unsigned long CWBackPixel | CWBackingStore | CWOverrideRedirect | CWColormap | CWBorderPixel, &attribs); - XStoreName(g_display, wnd, "rdesktop-seamless"); + XStoreName(g_display, wnd, "SeamlessRDP"); mwm_hide_decorations(wnd); classhints = XAllocClassHint(); if (classhints != NULL) { - classhints->res_name = classhints->res_class = "rdesktop"; + classhints->res_name = "rdesktop"; + classhints->res_class = "SeamlessRDP"; XSetClassHint(g_display, wnd, classhints); XFree(classhints); }