diff options
Diffstat (limited to 'src/dmx.c')
-rw-r--r-- | src/dmx.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -407,6 +407,9 @@ Bool DMXAddScreen(Display *dpy, const char *displayName, unsigned int mask, int length; int paddedLength; + if (!screen) + return False; + DMXCheckExtension(dpy, info, False); LockDisplay(dpy); |