diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-13 09:26:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-13 09:26:09 +0000 |
| commit | 4c71c71d57e87c5273e09976fbac5b3a2f83bc52 (patch) | |
| tree | de5ef8f5c23e97011b4b8480777010bf4119a406 | |
| parent | cdcc526a0274cace9f542960fe4eee4ddcc23d31 (diff) | |
set the global display var
| -rw-r--r-- | otk/display.cc | 2 |
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\ |
