]> Dogcows Code - chaz/openbox/blobdiff - otk/application.cc
add setup_fallback_focus() to handle focus when nothing is left focused
[chaz/openbox] / otk / application.cc
index 8e4d93b3641fdcaef3273e0890002a4302234789..dedefaef4b527a4fb9930a377fc229e0b09633a8 100644 (file)
@@ -1,3 +1,9 @@
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+
+#ifdef HAVE_CONFIG_H
+# include "../config.h"
+#endif
+
 #include "application.hh"
 #include "eventhandler.hh"
 #include "widget.hh"
@@ -54,12 +60,12 @@ void OtkApplication::loadStyle(void)
   _style->load(*_style_conf);
 }
 
-void OtkApplication::exec(void)
+void OtkApplication::run(void)
 {
   if (_appwidget_count <= 0) {
     std::cerr << "ERROR: No main widgets exist. You must create and show() " <<
       "an OtkAppWidget for the OtkApplication before calling " <<
-      "OtkApplication::exec().\n";
+      "OtkApplication::run().\n";
     ::exit(1);
   }
 
This page took 0.02346 seconds and 4 git commands to generate.