diff options
| author | Dana Jansens <danakj@orodu.net> | 2012-09-30 21:12:07 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-10-06 21:56:56 -0400 |
| commit | dc4cfa94c9cd7bd30cdc87a6e4ab8174d8a9703f (patch) | |
| tree | 5a5edc05f4010d43e41c1f95b600935c839ed388 /openbox/client.c | |
| parent | 4d2ccf19168a4089a6a0de0109610479ec6d5507 (diff) | |
Make LeastOverlap placment replace the behaviour of Smart and address style nits
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 || |
