]> Dogcows Code - chaz/openbox/blobdiff - src/main.cc
add click_raise global var
[chaz/openbox] / src / main.cc
index 3bab740af93c3f78dd70dfe321755d6084eb2459..a8312af5574dc43181ca6b4d5f6825dfee9be7c0 100644 (file)
@@ -9,13 +9,16 @@
 #endif // HAVE_CONFIG_H
 
 extern "C" {
+#ifdef    HAVE_LOCALE_H
+# include <locale.h>
+#endif // HAVE_LOCALE_H
+
 #include "gettext.h"
 }
 
 #include <string>
 using std::string;
 
-#include "blackbox.hh"
 #include "openbox.hh"
 
 int main(int argc, char **argv) {
@@ -24,11 +27,6 @@ int main(int argc, char **argv) {
   bindtextdomain(PACKAGE, LOCALEDIR);
   textdomain(PACKAGE);
 
-  //ob::Openbox openbox(argc, argv);
-  ob::Blackbox blackbox(argc, argv, 0);
-  
-  //Blackbox blackbox(argv, session_display, rc_file);
-  blackbox.eventLoop();
-
-  return(0);
+  ob::Openbox openbox(argc, argv);
+  openbox.eventLoop();
 }
This page took 0.023129 seconds and 4 git commands to generate.