From: Dana Jansens Date: Wed, 9 May 2007 00:21:52 +0000 (+0000) Subject: more crash fix X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7869b81d4601b4ee04296d8139f2665c33b3a3d2;p=chaz%2Fopenbox more crash fix --- diff --git a/openbox/client_menu.c b/openbox/client_menu.c index 80feb2a1..66706f44 100644 --- a/openbox/client_menu.c +++ b/openbox/client_menu.c @@ -187,13 +187,13 @@ static void layer_menu_execute(ObMenuEntry *e, ObMenuFrame *f, switch (e->id) { case LAYER_TOP: - client_set_layer(f->client, 1); + client_set_layer(c, 1); break; case LAYER_NORMAL: - client_set_layer(f->client, 0); + client_set_layer(c, 0); break; case LAYER_BOTTOM: - client_set_layer(f->client, -1); + client_set_layer(c, -1); break; default: g_assert_not_reached();