projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13f8121
)
dont free random stuff
author
Dana Jansens
<danakj@orodu.net>
Tue, 29 May 2007 03:38:18 +0000
(
03:38
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 29 May 2007 03:38:18 +0000
(
03:38
+0000)
openbox/focus_cycle_popup.c
patch
|
blob
|
history
diff --git
a/openbox/focus_cycle_popup.c
b/openbox/focus_cycle_popup.c
index
0ac274d
..
8251dea
100644
(file)
--- a/
openbox/focus_cycle_popup.c
+++ b/
openbox/focus_cycle_popup.c
@@
-406,7
+406,6
@@
static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
const gint row = i / icons_per_row; /* starting from 0 */
const gint col = i % icons_per_row; /* starting from 0 */
gint innerx, innery;
- RrPixel32 *icon_data;
/* find the dimensions of the icon inside it */
innerx = icons_center_x + l + (col * ICON_SIZE);
@@
-433,9
+432,6
@@
static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
p->a_icon->surface.parentx = innerx;
p->a_icon->surface.parenty = innery;
RrPaint(p->a_icon, target->win, innerw, innerh);
-
- if (target->client->iconic)
- g_free(icon_data);
}
}