]> Dogcows Code - chaz/openbox/commitdiff
set the global display var
authorDana Jansens <danakj@orodu.net>
Mon, 13 Jan 2003 09:26:09 +0000 (09:26 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 13 Jan 2003 09:26:09 +0000 (09:26 +0000)
otk/display.cc

index 9bacfca18431c7b8b85f08b459ec5b52dec2608c..0f76a1cdbe667fed8a41dc3c9576e329c0a75ada 100644 (file)
@@ -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\
This page took 0.023667 seconds and 4 git commands to generate.