Skip to content

Commit

Permalink
Fix width and height swap on image create.
Browse files Browse the repository at this point in the history
  • Loading branch information
btolsch committed Feb 19, 2016
1 parent 3e5b199 commit a98abb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions i3bar-xbm-icons.patch
Expand Up @@ -448,8 +448,8 @@ index 11a017c..9c1801e 100644
+ if (block->icon != NULL) {
+ xcb_image_t * img;
+
+ img = xcb_image_create_native (conn, block->icon->height,
+ block->icon->width,
+ img = xcb_image_create_native (conn, block->icon->width,
+ block->icon->height,
+ XCB_IMAGE_FORMAT_XY_BITMAP,
+ 1, NULL, ~0, NULL);
+
Expand Down

0 comments on commit a98abb0

Please sign in to comment.