#include "openbox/client.h"
#include "openbox/frame.h"
#include "openbox/screen.h"
+#include "openbox/focus.h"
#include <glib.h>
typedef struct {
static void free_func(gpointer options);
static gboolean run_func(ObActionsData *data, gpointer options);
-void action_if_startup()
+void action_if_startup(void)
{
actions_register("If",
setup_func,
(!o->maxvert_off || (c && !c->max_vert)) &&
(!o->maxfull_on || (c && c->max_vert && c->max_horz)) &&
(!o->maxfull_off || (c && !(c->max_vert && c->max_horz))) &&
- (!o->focused || (c && !(c == focus_client))) &&
- (!o->unfocused || (c && !(c != focus_client))))
+ (!o->focused || (c && (c == focus_client))) &&
+ (!o->unfocused || (c && !(c == focus_client))))
{
acts = o->thenacts;
}