summaryrefslogtreecommitdiff
path: root/x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11.c')
-rw-r--r--x11.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/x11.c b/x11.c
index 87b2837..0e4bfaa 100644
--- a/x11.c
+++ b/x11.c
@@ -60,9 +60,8 @@ init()
/* create the main window */
win = XCreateSimpleWindow(d, root, 0, 0, Width, Height, 0, 0,
WhitePixel(d, screen));
- swa.backing_store = WhenMapped;
swa.bit_gravity = NorthWestGravity;
- XChangeWindowAttributes(d, win, CWBackingStore|CWBitGravity, &swa);
+ XChangeWindowAttributes(d, win, CWBitGravity, &swa);
XStoreName(d, win, "ED");
XSelectInput(d, win, StructureNotifyMask|ButtonPressMask|ButtonReleaseMask|Button1MotionMask|KeyPressMask|ExposureMask|FocusChangeMask);