summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-06-08 11:05:29 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-06-08 11:05:29 +0000
commitf80ab241f31676d8ae5377d62986ee793dc27ca7 (patch)
tree5971193a6f2aa9326275dec3a48ed33e9ce8c1d5 /openbox/client.c
parent74695334c6c2f675abf05a9ceab3a08d2bdceef4 (diff)
some notes to self
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,