summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 0cc393ba..e7af04b8 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -295,6 +295,7 @@ void client_manage(Window window)
client_apply_startup_state(self);
/* get and set application level settings */
+ /* XXX move that function here */
settings = (ObAppSetting *) get_client_settings(self);
if (settings) {
@@ -361,10 +362,11 @@ void client_manage(Window window)
gint x = self->area.x, ox = x;
gint y = self->area.y, oy = y;
- place_client(self, &x, &y);
-
if (settings)
+ /* XXX put this in place.c */
place_window_from_settings(settings, self, &x, &y);
+ else
+ place_client(self, &x, &y);
/* make sure the window is visible. */
client_find_onscreen(self, &x, &y,