From 7869b81d4601b4ee04296d8139f2665c33b3a3d2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 May 2007 00:21:52 +0000 Subject: [PATCH] more crash fix --- openbox/client_menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.45.2