]> Dogcows Code - chaz/openbox/blobdiff - src/blackbox.cc
make the styles' doJustify methods stop returning the string length as this is no...
[chaz/openbox] / src / blackbox.cc
index 36828f7e5e3ce2927e24bebe5521c2a3731a0a49..6af1d2d3181cd6b70d0b8c2cefa599d0ef578b88 100644 (file)
@@ -111,7 +111,6 @@ using std::string;
 #include "Workspace.hh"
 #include "Workspacemenu.hh"
 #include "XAtom.hh"
-#include "Input.hh"
 
 // X event scanner for enter/leave notifies - adapted from twm
 struct scanargs {
@@ -163,7 +162,6 @@ Blackbox::Blackbox(char **m_argv, char *dpy_name, char *rc, char *menu)
   load_rc();
 
   xatom = new XAtom(getXDisplay());
-  input = new BInput(this);
 
   cursor.session = XCreateFontCursor(getXDisplay(), XC_left_ptr);
   cursor.move = XCreateFontCursor(getXDisplay(), XC_fleur);
@@ -1145,6 +1143,7 @@ void Blackbox::restart(const char *prog) {
   shutdown();
 
   if (prog) {
+    putenv(const_cast<char *>(screenList.front()->displayString().c_str()));
     execlp(prog, prog, NULL);
     perror(prog);
   }
This page took 0.021022 seconds and 4 git commands to generate.