summaryrefslogtreecommitdiff
path: root/openbox/place.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-20 12:36:42 -0500
committerDana Jansens <danakj@orodu.net>2008-01-31 12:54:51 -0500
commita21840cbb7912c25abc1943c08d6980da7537a6c (patch)
tree01a17f59e28b9ee549f2cded2f5a5e2839fdfe53 /openbox/place.c
parent20b8fcfa33feeade5946bc7f3046705da5d164fe (diff)
make ob_debug use the g_log system, and make openbox log messages to..a log file ! this will help everyone since most people do not run openbox in a terminal..
Diffstat (limited to 'openbox/place.c')
-rw-r--r--openbox/place.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbox/place.c b/openbox/place.c
index 81fb9752..9e38bdef 100644
--- a/openbox/place.c
+++ b/openbox/place.c
@@ -76,7 +76,7 @@ static Rect **pick_head(ObClient *c)
/* try direct parent first */
if ((p = client_direct_parent(c))) {
add_choice(choice, client_monitor(p));
- ob_debug("placement adding choice %d for parent\n",
+ ob_debug("placement adding choice %d for parent",
client_monitor(p));
}
@@ -92,7 +92,7 @@ static Rect **pick_head(ObClient *c)
itc->desktop == DESKTOP_ALL || c->desktop == DESKTOP_ALL))
{
add_choice(choice, client_monitor(it->data));
- ob_debug("placement adding choice %d for group sibling\n",
+ ob_debug("placement adding choice %d for group sibling",
client_monitor(it->data));
}
}
@@ -103,7 +103,7 @@ static Rect **pick_head(ObClient *c)
if (itc != c) {
add_choice(choice, client_monitor(it->data));
ob_debug("placement adding choice %d for group sibling on "
- "another desktop\n", client_monitor(it->data));
+ "another desktop", client_monitor(it->data));
}
}
}
@@ -113,7 +113,7 @@ static Rect **pick_head(ObClient *c)
config_place_monitor != OB_PLACE_MONITOR_MOUSE)
{
add_choice(choice, client_monitor(focus_client));
- ob_debug("placement adding choice %d for normal focused window\n",
+ ob_debug("placement adding choice %d for normal focused window",
client_monitor(focus_client));
}
@@ -125,7 +125,7 @@ static Rect **pick_head(ObClient *c)
g_free(monitor);
if (contain) {
add_choice(choice, i);
- ob_debug("placement adding choice %d for mouse pointer\n", i);
+ ob_debug("placement adding choice %d for mouse pointer", i);
break;
}
}