From 4c71c71d57e87c5273e09976fbac5b3a2f83bc52 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 13 Jan 2003 09:26:09 +0000 Subject: [PATCH] set the global display var --- otk/display.cc | 2 ++ 1 file changed, 2 insertions(+) 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\ -- 2.45.2