summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otk/display.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/otk/display.cc b/otk/display.cc
index 9bacfca1..0f76a1cd 100644
--- a/otk/display.cc
+++ b/otk/display.cc
@@ -89,6 +89,8 @@ Display::Display()
int junk;
(void)junk;
+ display = this;
+
// Open the X display
if (!(_display = XOpenDisplay(NULL))) {
printf(_("Unable to open connection to the X server. Please set the \n\