diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2013-12-28 15:21:06 -0800 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2013-12-28 15:21:06 -0800 |
commit | 6040b2ef005a427190a6173427a08b38e41697b6 (patch) | |
tree | 45b9ebbab7825d4bb4b4cdbc31aabad4d74bd122 /src | |
parent | 79bb6f0c99ceeeff529f07101edd47747d7b8e45 (diff) | |
parent | ca40c3725d622270640b3121642cb5febc4e0e87 (diff) | |
download | mirror-meh-6040b2ef005a427190a6173427a08b38e41697b6.tar.gz mirror-meh-6040b2ef005a427190a6173427a08b38e41697b6.tar.bz2 mirror-meh-6040b2ef005a427190a6173427a08b38e41697b6.zip |
Merge pull request #7 from rtandy/for-hawth
a few patches
Diffstat (limited to 'src')
-rw-r--r-- | src/xlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -173,8 +173,8 @@ static int xquit(Display *d){ void backend_init(){ display = XOpenDisplay (NULL); - xfd = ConnectionNumber(display); assert(display); + xfd = ConnectionNumber(display); screen = DefaultScreen(display); window = XCreateWindow(display, DefaultRootWindow(display), 0, 0, 640, 480, 0, DefaultDepth(display, screen), InputOutput, CopyFromParent, 0, NULL); |