From dd94b98b814038e720fe46669c84802c8ca0b051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Mon, 25 Jun 2012 21:51:47 +0200 Subject: [PATCH] Remove unused variable wm_name_changed wm_name_changed is not used and can be removed. --- src/window.c | 2 -- src/window.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/window.c b/src/window.c index 1c0a39a2..d6c697e7 100644 --- a/src/window.c +++ b/src/window.c @@ -1736,8 +1736,6 @@ void wWindowUpdateName(WWindow *wwin, char *newTitle) if (!wwin->frame) return; - wwin->flags.wm_name_changed = 1; - if (!newTitle) title = DEF_WINDOW_TITLE; /* the hint was removed */ else diff --git a/src/window.h b/src/window.h index fb72d4e3..e2d516a4 100644 --- a/src/window.h +++ b/src/window.h @@ -290,7 +290,6 @@ typedef struct WWindow { unsigned int user_changed_width:1; unsigned int user_changed_height:1; - unsigned int wm_name_changed:1; unsigned int net_state_from_client:1; /* state hint was set by client */ unsigned int net_skip_pager:1; unsigned int net_handle_icon:1;