X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Faction.c;h=d25014443581ecd111db25b33b0e04b4d8088a3e;hb=2de2678e912fdfb56fcee2f323a66bb20bdefab9;hp=22a5785e8b6f9ece3bbb0adf71cce43725ed5a27;hpb=1213b079bb0d32dcb97c37b2b0f6fcb0c8b6eefc;p=chaz%2Fopenbox diff --git a/openbox/action.c b/openbox/action.c index 22a5785e..d2501444 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -944,7 +944,8 @@ void action_raiselower(union ActionData *data) if (cit == c) break; if (client_normal(cit) == client_normal(c) && cit->layer == c->layer && - cit->frame->visible) + cit->frame->visible && + !client_search_transient(c, cit)) { if (RECT_INTERSECTS_RECT(cit->frame->area, c->frame->area)) { raise = TRUE; @@ -1214,8 +1215,7 @@ void action_toggle_decorations(union ActionData *data) ObClient *c = data->client.any.c; client_action_start(data); - c->decorate = !c->decorate; - client_setup_decor_and_functions(c); + client_set_undecorated(c, !c->undecorated); client_action_end(data); }