From f80ab241f31676d8ae5377d62986ee793dc27ca7 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 8 Jun 2006 11:05:29 +0000 Subject: some notes to self --- openbox/client.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'openbox/client.c') 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, -- cgit v1.2.3