all repos — openbox @ d4b90d3641c2a9845abba9aa7d51939d59951db4

openbox fork - make it a bit more like ryudo

strstr is our friend, thanks merry
Mikael Magnusson mikachu@comhem.se
commit

d4b90d3641c2a9845abba9aa7d51939d59951db4

parent

766e7ae9bfeb1dc0454d7b5b37296b91859831cb

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M render/theme.crender/theme.c

@@ -1201,10 +1201,10 @@ else if (strstr(tex, "mirrorhorizontal") != NULL)

*grad = RR_SURFACE_MIRROR_HORIZONTAL; else if (strstr(tex, "horizontal") != NULL) *grad = RR_SURFACE_HORIZONTAL; + else if (strstr(tex, "splitvertical") != NULL) + *grad = RR_SURFACE_SPLIT_VERTICAL; else if (strstr(tex, "vertical") != NULL) *grad = RR_SURFACE_VERTICAL; - else if (strstr(tex, "splitvertical") != NULL) - *grad = RR_SURFACE_SPLIT_VERTICAL; else *grad = RR_SURFACE_DIAGONAL; } else {