repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: f3f59ed9656ff1d0ba53083aaea1d949d6d521e1: path_to: revision_to:
commit f3f59ed9656ff1d0ba53083aaea1d949d6d521e1 Author: Emanuele GiaquintaDate: Mon Dec 26 14:53:56 2011 +0000 Fix update of geometry flags when parsing styles. diff --git a/src/background.C b/src/background.C
--- a/src/background.C
+++ b/src/background.C
@@ -183,7 +183,7 @@ rxvt_term::bg_set_geometry (const char *geom, bool update)
int geom_flags = 0;
int x = 0, y = 0;
unsigned int w = 0, h = 0;
- unsigned long new_flags = bg_flags & ~BG_GEOMETRY_FLAGS;
+ unsigned long new_flags = 0;
if (geom == NULL)
return false;
@@ -286,6 +286,8 @@ rxvt_term::bg_set_geometry (const char *geom, bool update)
rxvt_free_strsplit (arr);
}
+ new_flags |= bg_flags & ~BG_GEOMETRY_FLAGS;
+
if (!update)
{
if (!(geom_flags & XValue))
-----END OF PAGE-----