320 |
XDestroyWindow(g_display, sw->group->wnd); |
XDestroyWindow(g_display, sw->group->wnd); |
321 |
xfree(sw->group); |
xfree(sw->group); |
322 |
} |
} |
323 |
|
xfree(sw->position_timer); |
324 |
xfree(sw); |
xfree(sw); |
325 |
return; |
return; |
326 |
} |
} |
442 |
{ |
{ |
443 |
i++; |
i++; |
444 |
if (i >= nchildren) |
if (i >= nchildren) |
445 |
return; |
goto end; |
446 |
} |
} |
447 |
|
|
448 |
for (i++; i < nchildren; i++) |
for (i++; i < nchildren; i++) |
453 |
} |
} |
454 |
|
|
455 |
if (!sw_below && !sw->behind) |
if (!sw_below && !sw->behind) |
456 |
return; |
goto end; |
457 |
if (sw_below && (sw_below->id == sw->behind)) |
if (sw_below && (sw_below->id == sw->behind)) |
458 |
return; |
goto end; |
459 |
|
|
460 |
if (sw_below) |
if (sw_below) |
461 |
{ |
{ |
467 |
seamless_send_zchange(sw->id, 0, 0); |
seamless_send_zchange(sw->id, 0, 0); |
468 |
sw_restack_window(sw, 0); |
sw_restack_window(sw, 0); |
469 |
} |
} |
470 |
|
|
471 |
|
end: |
472 |
|
XFree(children); |
473 |
} |
} |
474 |
|
|
475 |
|
|
1630 |
void |
void |
1631 |
ui_deinit(void) |
ui_deinit(void) |
1632 |
{ |
{ |
1633 |
|
while (g_seamless_windows) |
1634 |
|
{ |
1635 |
|
XDestroyWindow(g_display, g_seamless_windows->wnd); |
1636 |
|
sw_remove_window(g_seamless_windows); |
1637 |
|
} |
1638 |
|
|
1639 |
if (g_IM != NULL) |
if (g_IM != NULL) |
1640 |
XCloseIM(g_IM); |
XCloseIM(g_IM); |
1641 |
|
|