From 8753a54c65b1147a94174b649a112ef46227950b Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 18 Jun 2008 09:29:57 +0200 Subject: [PATCH] ewmh: s/NetWMIcon/netwm_icon_t/ Signed-off-by: Julien Danjou --- ewmh.c | 6 +++--- ewmh.h | 4 ++-- widgets/tasklist.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ewmh.c b/ewmh.c index 04c5d670..d2f3bcec 100644 --- a/ewmh.c +++ b/ewmh.c @@ -610,11 +610,11 @@ ewmh_check_client_hints(client_t *c) p_delete(&reply); } -NetWMIcon * +netwm_icon_t * ewmh_get_window_icon(xcb_window_t w) { double alpha; - NetWMIcon *icon; + netwm_icon_t *icon; int size, i; uint32_t *data; unsigned char *imgdata; @@ -631,7 +631,7 @@ ewmh_get_window_icon(xcb_window_t w) return NULL; } - icon = p_new(NetWMIcon, 1); + icon = p_new(netwm_icon_t, 1); icon->width = data[0]; icon->height = data[1]; diff --git a/ewmh.h b/ewmh.h index 38714b1f..ac429320 100644 --- a/ewmh.h +++ b/ewmh.h @@ -29,7 +29,7 @@ typedef struct int height; int width; unsigned char *image; -} NetWMIcon; +} netwm_icon_t; void ewmh_init_atoms(void); void ewmh_set_supported_hints(int); @@ -42,7 +42,7 @@ int ewmh_process_client_message(xcb_client_message_event_t *); void ewmh_update_net_client_list_stacking(int); void ewmh_check_client_hints(client_t *); void ewmh_update_workarea(int); -NetWMIcon * ewmh_get_window_icon(xcb_window_t); +netwm_icon_t * ewmh_get_window_icon(xcb_window_t); #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 diff --git a/widgets/tasklist.c b/widgets/tasklist.c index d1754c2d..845f138b 100644 --- a/widgets/tasklist.c +++ b/widgets/tasklist.c @@ -73,7 +73,7 @@ tasklist_draw(draw_context_t *ctx, int screen, area_t area; char *text; int n = 0, i = 0, box_width = 0, icon_width = 0, box_width_rest = 0, j = 0; - NetWMIcon *icon; + netwm_icon_t *icon; markup_parser_data_t *p; const char *elements[] = { "bg", NULL }; xcolor_t bg_color;