diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2006-06-08 11:37:51 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2006-06-08 11:37:51 +0000 |
| commit | c63938f7655591a0cd781f0b663102c29b75606d (patch) | |
| tree | 456fbfb4f9c7f91cd1fc5d9251e6cdb48caac7c7 | |
| parent | de1559a09497ae4ead44a6e70b556123a5bab35c (diff) | |
fix
| -rw-r--r-- | openbox/client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c index ce1c417f..a912acb4 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -206,17 +206,17 @@ void client_manage_all() /* This should possibly do something more interesting than just match * against WM_CLASS literally. */ -static ObAppSetting *get_settings(ObClient *client) +static ObAppSettings *get_settings(ObClient *client) { GSList *a = config_per_app_settings; while (a) { - ObAppSetting *app = (ObAppSetting *) a->data; + ObAppSettings *app = (ObAppSettings *) a->data; if (!strcmp(app->name, client->name)) { ob_debug("Window matching: %s\n", app->name); - return (ObAppSetting *) a->data; + return app; } a = a->next; @@ -232,7 +232,7 @@ void client_manage(Window window) XSetWindowAttributes attrib_set; XWMHints *wmhint; gboolean activate = FALSE; - ObAppSetting *settings; + ObAppSettings *settings; grab_server(TRUE); |
