3020 |
} |
} |
3021 |
|
|
3022 |
/* Set WM_TRANSIENT_FOR, if necessary */ |
/* Set WM_TRANSIENT_FOR, if necessary */ |
3023 |
sw_parent = seamless_get_window_by_id(parent); |
if (parent) |
3024 |
if (sw_parent) |
{ |
3025 |
XSetTransientForHint(g_display, wnd, sw_parent->wnd); |
sw_parent = seamless_get_window_by_id(parent); |
3026 |
else |
if (sw_parent) |
3027 |
warning("ui_seamless_create_window: No parent window 0x%lx\n", parent); |
XSetTransientForHint(g_display, wnd, sw_parent->wnd); |
3028 |
|
else |
3029 |
|
warning("ui_seamless_create_window: No parent window 0x%lx\n", parent); |
3030 |
|
} |
3031 |
|
|
3032 |
/* FIXME: Support for Input Context:s */ |
/* FIXME: Support for Input Context:s */ |
3033 |
|
|
3126 |
{ |
{ |
3127 |
case SEAMLESSRDP_NORMAL: |
case SEAMLESSRDP_NORMAL: |
3128 |
case SEAMLESSRDP_MAXIMIZED: |
case SEAMLESSRDP_MAXIMIZED: |
3129 |
/* FIXME */ |
XMapWindow(g_display, sw->wnd); |
3130 |
break; |
break; |
3131 |
case SEAMLESSRDP_MINIMIZED: |
case SEAMLESSRDP_MINIMIZED: |
3132 |
XIconifyWindow(g_display, sw->wnd, DefaultScreen(g_display)); |
XIconifyWindow(g_display, sw->wnd, DefaultScreen(g_display)); |