]> Dogcows Code - chaz/openbox/blobdiff - src/main.cc
python has begun!
[chaz/openbox] / src / main.cc
index 3bab740af93c3f78dd70dfe321755d6084eb2459..1d6ce0b1e3e4360792517fb3c5f201484726c14c 100644 (file)
@@ -9,6 +9,10 @@
 #endif // HAVE_CONFIG_H
 
 extern "C" {
+#ifdef    HAVE_LOCALE_H
+# include <locale.h>
+#endif // HAVE_LOCALE_H
+
 #include "gettext.h"
 }
 
@@ -24,11 +28,11 @@ int main(int argc, char **argv) {
   bindtextdomain(PACKAGE, LOCALEDIR);
   textdomain(PACKAGE);
 
-  //ob::Openbox openbox(argc, argv);
-  ob::Blackbox blackbox(argc, argv, 0);
-  
+  ob::Openbox openbox(argc, argv);
+  //ob::Blackbox blackbox(argc, argv, 0);
+
   //Blackbox blackbox(argv, session_display, rc_file);
-  blackbox.eventLoop();
+  openbox.eventLoop();
 
   return(0);
 }
This page took 0.025011 seconds and 4 git commands to generate.