From: "Rodolfo García Peñas (kix)" <[email protected]>
This if is wrong. A dock app has background always.
OTOH, background and title could be compatible.
---
src/icon.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/icon.c b/src/icon.c
index b20ab4f..a21ebed 100644
--- a/src/icon.c
+++ b/src/icon.c
@@ -702,12 +702,13 @@ static void set_dockapp_in_icon(WIcon *icon)
* and show in the correct position */
getSize(icon->icon_win, &w, &h, &d);
+ /* Paint the docked application background */
+ XSetWindowBackgroundPixmap(dpy, icon->core->window,
scr->icon_tile_pixmap);
+
/* Set extra space for title */
if (icon->show_title && (h + title_height < wPreferences.icon_size)) {
theight = title_height;
drawIconTitle(scr, icon->pixmap, theight);
- } else {
- XSetWindowBackgroundPixmap(dpy, icon->core->window,
scr->icon_tile_pixmap);
}
/* Set the icon border */
--
1.7.10.4
--
To unsubscribe, send mail to [email protected].