From 17a9c2bcf54d3891f91dd2b8fa61e0df9f52e197 Mon Sep 17 00:00:00 2001 From: Robert Manea Date: Thu, 9 Jul 2009 12:34:43 +0200 Subject: [PATCH] prevent the geometry var from reporting false values --- uzbl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uzbl.c b/uzbl.c index 2220832..11c6018 100644 --- a/uzbl.c +++ b/uzbl.c @@ -596,6 +596,12 @@ cmd_set_geometry() { if(uzbl.state.verbose) printf("Error in geometry string: %s\n", uzbl.gui.geometry); } + /* update geometry var with the actual geometry + this is necessary as some WMs don't seem to honour + the above setting and we don't want to end up with + wrong geometry information + */ + retreive_geometry(); } static void -- 1.7.9.5