summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/App.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/App.cc b/src/FbTk/App.cc
index 8ced4a1..084b801 100644
--- a/src/FbTk/App.cc
+++ b/src/FbTk/App.cc
@@ -51,6 +51,8 @@ App::App(const char *displayname):m_done(false), m_display(0) {
51 if (displayname != 0 && displayname[0] == '\0') 51 if (displayname != 0 && displayname[0] == '\0')
52 displayname = 0; 52 displayname = 0;
53 m_display = XOpenDisplay(displayname); 53 m_display = XOpenDisplay(displayname);
54 if (!m_display)
55 throw std::string("Couldn't connect to XServer");
54 56
55 Font::init(); 57 Font::init();
56 Image::init(); 58 Image::init();