]> Dogcows Code - chaz/openbox/blob - src/main.cc
xeventhandler can handle everything except client messages now.
[chaz/openbox] / src / main.cc
1 // -*- mode: C++; indent-tabs-mode: nil; -*-
2
3 #ifdef HAVE_CONFIG_H
4 # include "../config.h"
5 #endif // HAVE_CONFIG_H
6
7 extern "C" {
8 #include "gettext.h"
9 }
10
11 #include <string>
12 using std::string;
13
14 #include "blackbox.hh"
15 #include "openbox.hh"
16
17 int main(int argc, char **argv) {
18 // initialize the locale
19 setlocale(LC_ALL, "");
20 bindtextdomain(PACKAGE, LOCALEDIR);
21 textdomain(PACKAGE);
22
23 //ob::Openbox openbox(argc, argv);
24 ob::Blackbox blackbox(argc, argv, 0);
25
26 //Blackbox blackbox(argv, session_display, rc_file);
27 blackbox.eventLoop();
28
29 return(0);
30 }
This page took 0.037279 seconds and 4 git commands to generate.