diff options
author | mathias <mathias> | 2005-04-25 06:47:01 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-04-25 06:47:01 (GMT) |
commit | adc88698fb66789c5fdab8773c0364dd5c114eff (patch) | |
tree | 4d71fe1af0c02d367b7e38638e654400861af963 | |
parent | 9288ae8eb0791eb52067edf4931f6f01fbcd640c (diff) | |
download | fluxbox_lack-adc88698fb66789c5fdab8773c0364dd5c114eff.zip fluxbox_lack-adc88698fb66789c5fdab8773c0364dd5c114eff.tar.bz2 |
#1188690, fbrun segfault
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/FbTk/App.cc | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.13 | 2 | Changes for 0.9.13 |
3 | *05/04/25: | ||
4 | * Fixed #1188690, fbrun segfault (Mathias) | ||
5 | FbTk/App.cc | ||
3 | *05/04/23: | 6 | *05/04/23: |
4 | * Close of #956325 (Mathias) | 7 | * Close of #956325 (Mathias) |
5 | WorkspaceMenu -> left click on a item will jump TO that | 8 | WorkspaceMenu -> left click on a item will jump TO that |
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(); |