aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga2008-12-04 23:55:04 +0000
committeroga2008-12-04 23:55:04 +0000
commit6aa3e59a407dda86c09fb50bef12a5be51889a0a (patch)
tree8998c17b05f1a3bed6f407f07135160724424219
parent2b1f1d404d206d07a122d0754e233819cf9860a3 (diff)
downloadcwm-6aa3e59a407dda86c09fb50bef12a5be51889a0a.tar.gz
Kill obviously dead variable.
Diffstat (limited to '')
-rw-r--r--calmwm.h4
-rw-r--r--xevents.c5
2 files changed, 3 insertions, 6 deletions
diff --git a/calmwm.h b/calmwm.h
index 371bc9a..2f6f785 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.h,v 1.68 2008/09/29 23:16:46 oga Exp $
+ * $Id: calmwm.h,v 1.69 2008/12/04 23:55:04 oga Exp $
*/
#ifndef _CALMWM_H_
@@ -116,8 +116,6 @@ struct client_ctx {
int x,y;
} ptr;
- int beepbeep;
-
int xproto;
int flags;
diff --git a/xevents.c b/xevents.c
index 57e2ef2..24053f2 100644
--- a/xevents.c
+++ b/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xevents.c,v 1.29 2008/09/29 23:16:46 oga Exp $
+ * $Id: xevents.c,v 1.30 2008/12/04 23:55:04 oga Exp $
*/
/*
@@ -51,8 +51,7 @@ xev_handle_maprequest(struct xevent *xev, XEvent *ee)
XGetWindowAttributes(X_Dpy, e->window, &xattr);
cc = client_new(e->window, screen_fromroot(xattr.root), 1);
sc = CCTOSC(cc);
- } else
- cc->beepbeep = 1;
+ }
#ifdef notyet /* XXX - possibly, we shouldn't map if
* the window is withdrawn. */