3062 |
CWBorderPixel, &attribs); |
CWBorderPixel, &attribs); |
3063 |
|
|
3064 |
XStoreName(g_display, wnd, "SeamlessRDP"); |
XStoreName(g_display, wnd, "SeamlessRDP"); |
3065 |
|
ewmh_set_wm_name(wnd, "SeamlessRDP"); |
3066 |
|
|
3067 |
mwm_hide_decorations(wnd); |
mwm_hide_decorations(wnd); |
3068 |
|
|
3084 |
XFree(sizehints); |
XFree(sizehints); |
3085 |
} |
} |
3086 |
|
|
3087 |
|
/* Handle popups without parents through some ewm hints */ |
3088 |
|
if (parent == 0xFFFFFFFF) |
3089 |
|
ewmh_set_window_popup(wnd); |
3090 |
/* Set WM_TRANSIENT_FOR, if necessary */ |
/* Set WM_TRANSIENT_FOR, if necessary */ |
3091 |
if (parent) |
else if (parent != 0x00000000) |
3092 |
{ |
{ |
3093 |
sw_parent = seamless_get_window_by_id(parent); |
sw_parent = seamless_get_window_by_id(parent); |
3094 |
if (sw_parent) |
if (sw_parent) |
3097 |
warning("ui_seamless_create_window: No parent window 0x%lx\n", parent); |
warning("ui_seamless_create_window: No parent window 0x%lx\n", parent); |
3098 |
} |
} |
3099 |
|
|
3100 |
|
|
3101 |
/* FIXME: Support for Input Context:s */ |
/* FIXME: Support for Input Context:s */ |
3102 |
|
|
3103 |
get_input_mask(&input_mask); |
get_input_mask(&input_mask); |
3194 |
return; |
return; |
3195 |
} |
} |
3196 |
|
|
3197 |
|
/* FIXME: Might want to convert the name for non-EWMH WMs */ |
3198 |
XStoreName(g_display, sw->wnd, title); |
XStoreName(g_display, sw->wnd, title); |
3199 |
|
ewmh_set_wm_name(sw->wnd, title); |
3200 |
} |
} |
3201 |
|
|
3202 |
|
|