From dc4cfa94c9cd7bd30cdc87a6e4ab8174d8a9703f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 30 Sep 2012 21:12:07 -0400 Subject: Make LeastOverlap placment replace the behaviour of Smart and address style nits --- openbox/client.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index 07db26bf..c54b21fb 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2774,6 +2774,12 @@ gboolean client_helper(ObClient *self) self->type == OB_CLIENT_TYPE_TOOLBAR); } +gboolean client_occupies_space(ObClient *self) +{ + return !(self->type == OB_CLIENT_TYPE_DESKTOP || + self->type == OB_CLIENT_TYPE_SPLASH); +} + gboolean client_mouse_focusable(ObClient *self) { return !(self->type == OB_CLIENT_TYPE_MENU || -- cgit v1.2.3