diff options
author | Gary Wong <gtw@gnu.org> | 2012-02-01 12:29:24 -0700 |
---|---|---|
committer | Gary Wong <gtw@gnu.org> | 2012-02-01 12:34:54 -0700 |
commit | 64524725acf86cd9c239146dad52c09496f32fcd (patch) | |
tree | 69485debc621737beea5ceb31708852268e99550 | |
parent | 08f001d21cdfe73eac3de82d2ee8f90df470c1e6 (diff) |
Specify property size in 32-bit units, not bytes.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | decorate-render.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2012-02-01 Gary Wong <gtw@gnu.org> + + * decorate-render.c (decorate_render_init): Specify property size + in 32-bit units, not bytes. + 2012-01-30 Gary Wong <gtw@gnu.org> * managed.c (managed_property_change): Ignore invalid size increment diff --git a/decorate-render.c b/decorate-render.c index 748f6c2..75f1a12 100644 --- a/decorate-render.c +++ b/decorate-render.c @@ -1455,8 +1455,8 @@ extern INIT int decorate_render_init( void ) { xcb_free_pixmap( c, pixmap ); xcb_change_property( c, XCB_PROP_MODE_REPLACE, screens[ i ]->root, - WM_ICON_SIZE, WM_ICON_SIZE, 32, - sizeof icon_sizes, icon_sizes ); + WM_ICON_SIZE, WM_ICON_SIZE, 32, 6, + icon_sizes ); } decorate_compat_init(); /* FIXME this is for pixel values (backgrounds) |