aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-11-07 09:12:20 +0100
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-11-07 09:12:20 +0100
commita22e90abea78760dc1dcf82f9ed834e9e2145030 (patch)
treea83280977e0a2bc9763567b5592bc4e49e748678
parent3cab7420a93b739b41d590afc3428a97e59fc588 (diff)
2 small code updates/comments
-rw-r--r--callbacks.c2
-rw-r--r--uzbl-core.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/callbacks.c b/callbacks.c
index c2b1455..b62c9fe 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -40,7 +40,7 @@ void
cmd_set_geometry() {
int ret=0, x=0, y=0;
unsigned int w=0, h=0;
-
+ /* we used to use gtk_window_parse_geometry() but that didn't work how it was supposed to */
ret = XParseGeometry(uzbl.gui.geometry, &x, &y, &w, &h);
if(ret & XValue)
gtk_window_move((GtkWindow *)uzbl.gui.main_window, x, y);
diff --git a/uzbl-core.c b/uzbl-core.c
index 2a85d84..b3a0f0f 100644
--- a/uzbl-core.c
+++ b/uzbl-core.c
@@ -46,7 +46,7 @@ GOptionEntry entries[] =
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &uzbl.state.verbose,
"Whether to print all messages or just errors.", NULL },
{ "name", 'n', 0, G_OPTION_ARG_STRING, &uzbl.state.instance_name,
- "Name of the current instance (defaults to Xorg window id)", "NAME" },
+ "Name of the current instance (defaults to Xorg window id or random for GtkSocket mode)", "NAME" },
{ "config", 'c', 0, G_OPTION_ARG_STRING, &uzbl.state.config_file,
"Path to config file or '-' for stdin", "FILE" },
{ "socket", 's', 0, G_OPTION_ARG_INT, &uzbl.state.socket_id,