Updating icons and higher optimisation patch for v4.12#33
Updating icons and higher optimisation patch for v4.12#33ashinkarov wants to merge 1 commit intomasterfrom
Conversation
|
@Airblader, can you help with porting the icon patch to the cairo-based drawing that you have introduced? Also, would you be interested to include this permanently in i3-gaps? |
Yes, I've commented on the issue for this already. I'm just currently on vacation.
Not really. For one, I don't really like the quality of the patch. But even when porting it entirely to cairo and a clean base, I don't see the value of icons in a fork that currently forces you to disable titlebars. Once that is fixed, I would probably consider it. |
|
@Airblader, I think you are confusing the patches. |
It seems that way. :) I don't really want that in i3-gaps either, though, because I think most usecases can be covered with pango and iconic fonts and the maintenance cost is higher than the additional benefit; truthfully, I think i3bar would most benefit from a rewrite / replacement. Anyway, about the patch (and this applies to the other as well), currently i3 supports both the old XCB and the new cairo rendering via build flag. So rebasing these patches properly means having to introduce new functions in I will gladly help out, but I will also give a disclaimer that I don't just have all the time in the world once my vacation ends, so anyone who is sufficiently experienced or willing to should feel motivated to look into this. I think looking at |
I see and I share your point.
Sure, I perfectly understand this. As for the drawing part, I understood the intention of the rewrite and I see how the draw_util_* functions work. My problem is that I don't know how to put an image or a pixel in cairo world. So, if you could provide a draw_util_* wrapper around xcb_image_put, that would be a fabulous start. |
Well, but exactly that is the main work to do here. :) I didn't know anything about cairo before either; it's not that hard to learn. As a hint, it's probably worth looking at |
Rebasing and xbm-icon gcc-higher-opt patches to version 4.12.