/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
place.c for the Openbox window manager
+ Copyright (c) 2006 Mikael Magnusson
Copyright (c) 2003 Ben Jansens
This program is free software; you can redistribute it and/or modify
return TRUE;
}
-static gboolean place_per_app_setting(ObClient *client, gint *x, gint *y, ObAppSettings *settings)
+static gboolean place_per_app_setting(ObClient *client, gint *x, gint *y,
+ ObAppSettings *settings)
{
gint px, py, i;
Rect *screen;
}
/* Return TRUE if we want client.c to enforce on-screen-keeping */
-gboolean place_client(ObClient *client, gint *x, gint *y, ObAppSettings *settings)
+gboolean place_client(ObClient *client, gint *x, gint *y,
+ ObAppSettings *settings)
{
gboolean ret = FALSE;
if (client->positioned)
return FALSE;
if (place_transient(client, x, y))
- ret = TRUE;;
+ ret = TRUE;
else if (!(
place_per_app_setting(client, x, y, settings) ||
((config_place_policy == OB_PLACE_POLICY_MOUSE) ?