X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=8428be6b54db3d060cc3c1e0cbfaee0c0f34edb6;hb=d59f0d67b0a6f3a7eed2753875691e78c08c632c;hp=2d68d32b7a33b9e038fb407ca4c8079b3648d7d3;hpb=b23476ed5855bf92d6e0038bdcecf0141849ddea;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 2d68d32b..8428be6b 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1645,7 +1645,7 @@ void client_setup_decor_and_functions(ObClient *self) if (!(self->functions & OB_CLIENT_FUNC_ICONIFY)) self->decorations &= ~OB_FRAME_DECOR_ICONIFY; if (!(self->functions & OB_CLIENT_FUNC_RESIZE)) - self->decorations &= ~OB_FRAME_DECOR_GRIPS; + self->decorations &= ~(OB_FRAME_DECOR_GRIPS | OB_FRAME_DECOR_HANDLE); /* can't maximize without moving/resizing */ if (!((self->functions & OB_CLIENT_FUNC_MAXIMIZE) && @@ -3710,7 +3710,7 @@ ObClient *client_search_transient(ObClient *self, ObClient *search) continue; \ if(cur->iconic) \ continue; \ - if(cur->layer < c->layer && !config_resist_layers_below) \ + if(cur->layer == c->layer) \ continue; #define HIT_EDGE(my_edge_start, my_edge_end, his_edge_start, his_edge_end) \