Created attachment 3589[details]
patch for loading toggled hover and pressed image masks
toggled hover and pressed image masks in openbox themes are not loaded which breaks many existing themes e.g.
https://www.box-look.org/p/1017288/
a patch with the fix was already committed for version 3.5.2 (taken from above link)
http://git.openbox.org/?p=mikachu/openbox.git;a=commitdiff;h=f1f5610cca8511be3bd03198f49a6a4e9fc15314
but next commits re-introduced the bug for versions >= 3.6.0, then actually none of the releases fixed the bug. This bug is a duplicated of #6395 and #6399.
Looking at the code in the git repository, it looks like prefix filenames and variable names in theme.c are swapped and also for the button appearances. A simple workaround to fix the problem is attached, please have a look, many thanks.