aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'calmwm.c')
-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);