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
This commit is contained in:
parent
bce447b305
commit
0c06b6b1ef
5
xwin.c
5
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user