From df3639eaa428f5d8bd7f3517ae1a3cd34ab49699 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 2 Jun 2007 15:16:57 +0000 Subject: [PATCH] remove commented ob_action calls --- rspanel.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/rspanel.c b/rspanel.c index b90ac3b..6708120 100644 --- a/rspanel.c +++ b/rspanel.c @@ -1025,23 +1025,16 @@ void handle_press(int x, int y, int button, Time time) if (x > tk->pos_x && x < tk->pos_x + tk->width) { switch (button) { case 1: -// if (tk->iconified && tk->shaded) -// ob_action(tk->win, "unshade"); -// probably not needed netwm_action(tk->win, _NET_WM_STATE_SHADED, time, REMOVE); - //ob_action(tk->win, "activate"); netwm_action(tk->win, _NET_ACTIVE_WINDOW, time, 0); break; case 2: if (tk->iconified) - //ob_action(tk->win, "deiconify"); netwm_action(tk->win, _NET_WM_STATE_HIDDEN, time, REMOVE); else netwm_action(tk->win, _NET_WM_STATE_HIDDEN, time, ADD); - //ob_action(tk->win, "iconify"); break; case 3: netwm_action(tk->win, _NET_RESTACK_WINDOW, time, Opposite); - //ob_action(tk->win, "raiselower"); break; case 4: if (is_shaded(tk->win)) @@ -1058,18 +1051,15 @@ void handle_press(int x, int y, int button, Time time) case 9: if (tk->iconified) netwm_action(tk->win, _NET_WM_STATE_HIDDEN, time, REMOVE); - //ob_action(tk->win, "deiconify"); #ifdef MIKACHU //this doesn't work for anyone else anyway else ob_action(tk->win, "focus"); #endif break; case 6: -// ob_action(tk->win, "lower"); netwm_action(tk->win, _NET_RESTACK_WINDOW, time, Below); break; case 7: -// ob_action(tk->win, "raise"); netwm_action(tk->win, _NET_RESTACK_WINDOW, time, Above); break; } @@ -1080,15 +1070,12 @@ void handle_press(int x, int y, int button, Time time) switch (button) { case 1: netwm_action(tb.win, _NET_RESTACK_WINDOW, time, Above); - //ob_action(tb.win, "raise"); break; case 2: netwm_action(tb.win, _NET_RESTACK_WINDOW, time, Below); -// ob_action(tb.win, "lower"); break; case 3: netwm_action(tb.win, _NET_RESTACK_WINDOW, time, Opposite); -// ob_action(tb.win, "raiselower"); break; case 4: tb.hidden = 1; -- 2.39.2