aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authoroga2008-03-22 14:09:02 +0000
committeroga2008-03-22 14:09:02 +0000
commit200c48963c22fe4070b8fcf11f2c32f0b6d97a62 (patch)
tree1e29a4b488f0e6babaf1a5ac1ef3b6337d0e965b /calmwm.c
parent7644f9dcec63b407725bbc5ab484870e1b8da794 (diff)
downloadcwm-200c48963c22fe4070b8fcf11f2c32f0b6d97a62.tar.gz
Remove a bunch of unused variables and incorrect comments.
"ok with me" okan@.
Diffstat (limited to '')
-rw-r--r--calmwm.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/calmwm.c b/calmwm.c
index 4a075fd..a155924 100644
--- a/calmwm.c
+++ b/calmwm.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: calmwm.c,v 1.10 2008/02/13 21:48:03 oga Exp $
+ * $Id: calmwm.c,v 1.11 2008/03/22 14:09:02 oga Exp $
*/
#include "headers.h"
@@ -149,7 +149,7 @@ void
x_setupscreen(struct screen_ctx *sc, u_int which)
{
XColor tmp;
- XGCValues gv, gv1/* , gv2 */;
+ XGCValues gv;
Window *wins, w0, w1;
u_int nwins, i = 0;
XWindowAttributes winattr;
@@ -209,13 +209,6 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
GCForeground|GCBackground|GCFunction|
GCLineWidth|GCSubwindowMode, &gv);
- gv1.function = GXinvert;
- gv1.subwindow_mode = IncludeInferiors;
- gv1.line_width = 1;
-
- sc->invgc = XCreateGC(X_Dpy, sc->rootwin,
- GCFunction|GCSubwindowMode|GCLineWidth, &gv1);
-
font_init(sc);
DefaultFont = font_getx(sc, DefaultFontName);