]> Dogcows Code - chaz/openbox/blobdiff - src/Rootmenu.cc
temporary solution to avoid placing windows over the slit and toolbar, until NETWM...
[chaz/openbox] / src / Rootmenu.cc
index b8c8f2dd924fec056bb43eb4ac55f29769efc8e6..2bda207074bd3fc3d77b1513af6b680206334251 100644 (file)
 #  include <stdio.h>
 #endif // HAVE_STDIO_H
 
-#ifdef    STDC_HEADERS
+#ifdef    HAVE_STDLIB_H
 #  include <stdlib.h>
+#endif // HAVE_STDLIB_H
+
+#ifdef    HAVE_STRING_H
 #  include <string.h>
-#endif // STDC_HEADERS
+#endif // HAVE_STRING_H
 
 #ifdef    HAVE_SYS_PARAM_H
 #  include <sys/param.h>
@@ -99,7 +102,7 @@ void Rootmenu::itemSelected(int button, int index) {
 
   case BScreen::SetStyle:
     if (item->exec())
-      openbox.saveStyleFilename(item->exec());
+      openbox.setStyleFilename(item->exec());
 
   case BScreen::Reconfigure:
     openbox.reconfigure();
This page took 0.021037 seconds and 4 git commands to generate.