indenting
This commit is contained in:
parent
2bf58d8fb3
commit
7582194997
1 changed files with 5 additions and 5 deletions
|
@ -867,23 +867,23 @@ void screen_show_desktop(gboolean show)
|
||||||
screen_showing_desktop = show;
|
screen_showing_desktop = show;
|
||||||
|
|
||||||
if (show) {
|
if (show) {
|
||||||
/* bottom to top */
|
/* bottom to top */
|
||||||
for (it = g_list_last(stacking_list); it != NULL; it = it->prev) {
|
for (it = g_list_last(stacking_list); it != NULL; it = it->prev) {
|
||||||
if (WINDOW_IS_CLIENT(it->data)) {
|
if (WINDOW_IS_CLIENT(it->data)) {
|
||||||
ObClient *client = it->data;
|
ObClient *client = it->data;
|
||||||
if (client->frame->visible && !client_should_show(client))
|
if (client->frame->visible && !client_should_show(client))
|
||||||
frame_hide(client->frame);
|
frame_hide(client->frame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* top to bottom */
|
/* top to bottom */
|
||||||
for (it = stacking_list; it != NULL; it = it->next) {
|
for (it = stacking_list; it != NULL; it = it->next) {
|
||||||
if (WINDOW_IS_CLIENT(it->data)) {
|
if (WINDOW_IS_CLIENT(it->data)) {
|
||||||
ObClient *client = it->data;
|
ObClient *client = it->data;
|
||||||
if (!client->frame->visible && client_should_show(client))
|
if (!client->frame->visible && client_should_show(client))
|
||||||
frame_show(client->frame);
|
frame_show(client->frame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (show) {
|
if (show) {
|
||||||
|
|
Loading…
Reference in a new issue