>From 8f85587bf3d735f7c183550ef4f85c82e23a7837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Mon, 25 Jun 2012 21:51:47 +0200
Subject: [PATCH 06/11] wm_name_changed is not used

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 1c0a39a..d6c697e 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 fb72d4e..e2d516a 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;
-- 
1.7.10

-- 
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
>From 8f85587bf3d735f7c183550ef4f85c82e23a7837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Mon, 25 Jun 2012 21:51:47 +0200
Subject: [PATCH 06/11] wm_name_changed is not used

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 1c0a39a..d6c697e 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 fb72d4e..e2d516a 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;
-- 
1.7.10

Reply via email to