aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathias <mathias>2005-04-25 06:47:01 (GMT)
committermathias <mathias>2005-04-25 06:47:01 (GMT)
commitadc88698fb66789c5fdab8773c0364dd5c114eff (patch)
tree4d71fe1af0c02d367b7e38638e654400861af963 /src
parent9288ae8eb0791eb52067edf4931f6f01fbcd640c (diff)
downloadfluxbox_pavel-adc88698fb66789c5fdab8773c0364dd5c114eff.zip
fluxbox_pavel-adc88698fb66789c5fdab8773c0364dd5c114eff.tar.bz2
#1188690, fbrun segfault
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();