2993 |
XSetWindowAttributes attribs; |
XSetWindowAttributes attribs; |
2994 |
XClassHint *classhints; |
XClassHint *classhints; |
2995 |
long input_mask; |
long input_mask; |
2996 |
seamless_window *sw; |
seamless_window *sw, *sw_parent; |
2997 |
|
|
2998 |
get_window_attribs(&attribs); |
get_window_attribs(&attribs); |
2999 |
|
|
3019 |
XFree(classhints); |
XFree(classhints); |
3020 |
} |
} |
3021 |
|
|
3022 |
|
/* Set WM_TRANSIENT_FOR, if necessary */ |
3023 |
|
sw_parent = seamless_get_window_by_id(parent); |
3024 |
|
if (sw_parent) |
3025 |
|
XSetTransientForHint(g_display, wnd, sw_parent->wnd); |
3026 |
|
else |
3027 |
|
warning("ui_seamless_create_window: No parent window 0x%lx\n", parent); |
3028 |
|
|
3029 |
/* FIXME: Support for Input Context:s */ |
/* FIXME: Support for Input Context:s */ |
3030 |
|
|
3031 |
get_input_mask(&input_mask); |
get_input_mask(&input_mask); |