# HG changeset patch # User John W. Eaton # Date 1323065444 18000 # Node ID 694a7af7eaaba53dc4225e1f72fd06294164fdba # Parent 8a566473361e297bc0933b9570483a4958fc2591 close X display when done with it * display.cc (display_info::init): Call XCloseDisplay when finished with display. diff --git a/src/display.cc b/src/display.cc --- a/src/display.cc +++ b/src/display.cc @@ -120,6 +120,8 @@ } else warning ("X11 display has no default screen"); + + XCloseDisplay (display); } else warning ("unable to open X11 DISPLAY");