prevent the geometry var from reporting false values
authorRobert Manea <gotmor@gmail.com>
Thu, 9 Jul 2009 10:34:43 +0000 (12:34 +0200)
committerRobert Manea <gotmor@gmail.com>
Thu, 9 Jul 2009 10:34:43 +0000 (12:34 +0200)
uzbl.c

diff --git a/uzbl.c b/uzbl.c
index 2220832..11c6018 100644 (file)
--- 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