Bug 6488 - toggled hover and pressed image masks in openbox themes are not loaded
Status: NEW
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: git-master
Hardware: PC Linux
: P3 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2018-01-23 06:18 EST by eserradi
Modified: 2018-01-23 06:20:22 EST
1 user (show)

See Also:


Attachments
patch for loading toggled hover and pressed image masks (1.51 KB, patch)
2018-01-23 06:18 EST, eserradi

Description eserradi 2018-01-23 06:18:51 EST
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.