summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/BaseDisplay.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/BaseDisplay.cc b/src/BaseDisplay.cc
index da300c6..1c29179 100644
--- a/src/BaseDisplay.cc
+++ b/src/BaseDisplay.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: BaseDisplay.cc,v 1.17 2002/08/13 23:58:26 fluxgen Exp $ 25// $Id: BaseDisplay.cc,v 1.18 2002/08/14 21:41:21 fluxgen Exp $
26 26
27// use GNU extensions 27// use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -137,7 +137,7 @@ void bexec(const char *command, char *displaystring) {
137#endif // !__EMX__ 137#endif // !__EMX__
138 138
139 139
140BaseDisplay::BaseDisplay(const char *app_name, const char *dpy_name):FbAtoms(0), 140BaseDisplay::BaseDisplay(const char *app_name, const char *dpy_name):
141m_startup(true), m_shutdown(false), 141m_startup(true), m_shutdown(false),
142m_display_name(XDisplayName(dpy_name)), m_app_name(app_name), 142m_display_name(XDisplayName(dpy_name)), m_app_name(app_name),
143m_server_grabs(0) 143m_server_grabs(0)
@@ -164,8 +164,7 @@ m_server_grabs(0)
164 "as close-on-exec\n")); 164 "as close-on-exec\n"));
165 throw static_cast<int>(2); //throw error 2 165 throw static_cast<int>(2); //throw error 2
166 } 166 }
167 //initiate atoms 167
168 initAtoms(m_display);
169 168
170 number_of_screens = ScreenCount(m_display); 169 number_of_screens = ScreenCount(m_display);
171 170