{"action":"created","issue":{"url":"https://api.github.com/repos/joewing/jwm/issues/241","labels_url":"https://api.github.com/repos/joewing/jwm/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/joewing/jwm/issues/241/comments","events_url":"https://api.github.com/repos/joewing/jwm/issues/241/events","html_url":"https://github.com/joewing/jwm/issues/241","id":114486046,"number":241,"title":"title bar button effects","user":{"login":"simargl","id":11329609,"avatar_url":"https://avatars.githubusercontent.com/u/11329609?v=3","gravatar_id":"","url":"https://api.github.com/users/simargl","html_url":"https://github.com/simargl","followers_url":"https://api.github.com/users/simargl/followers","following_url":"https://api.github.com/users/simargl/following{/other_user}","gists_url":"https://api.github.com/users/simargl/gists{/gist_id}","starred_url":"https://api.github.com/users/simargl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simargl/subscriptions","organizations_url":"https://api.github.com/users/simargl/orgs","repos_url":"https://api.github.com/users/simargl/repos","events_url":"https://api.github.com/users/simargl/events{/privacy}","received_events_url":"https://api.github.com/users/simargl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joewing/jwm/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-01T19:05:56Z","updated_at":"2015-11-04T07:24:19Z","closed_at":null,"body":"Is there a plan to add hover and pressed effect for buttons, then with little changes themes from xfce could be used in jwm"},"comment":{"url":"https://api.github.com/repos/joewing/jwm/issues/comments/153614219","html_url":"https://github.com/joewing/jwm/issues/241#issuecomment-153614219","issue_url":"https://api.github.com/repos/joewing/jwm/issues/241","id":153614219,"user":{"login":"technosaurus","id":1270569,"avatar_url":"https://avatars.githubusercontent.com/u/1270569?v=3","gravatar_id":"","url":"https://api.github.com/users/technosaurus","html_url":"https://github.com/technosaurus","followers_url":"https://api.github.com/users/technosaurus/followers","following_url":"https://api.github.com/users/technosaurus/following{/other_user}","gists_url":"https://api.github.com/users/technosaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/technosaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technosaurus/subscriptions","organizations_url":"https://api.github.com/users/technosaurus/orgs","repos_url":"https://api.github.com/users/technosaurus/repos","events_url":"https://api.github.com/users/technosaurus/events{/privacy}","received_events_url":"https://api.github.com/users/technosaurus/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T07:24:19Z","updated_at":"2015-11-04T07:24:19Z","body":"At one point we could specify xbm images to use for the title bar (removed?)\r\nIt looks like each title \"button\" has a significant amount of code to be \"drawn\" whereas it looks like using a specified image may take _less_ code\r\n\r\n ... I know it wouldn't work if icons were disabled which brings me to:\r\n\r\nNow it also looks like the xpm-create-image-from-data function and its associated helpers are only used in 1 place and it looks like you cannot have icons without --enable-xpm (though I haven't tried)\r\n\r\nPerhaps generating a `static const char[]` array for these is an option (it appears to just be RGBA format) ... title bar images, the \"X\" icon, etc...\r\n\r\nP.S. would it be possible to fallback to the \"X\" image or something if a specified image is not found/supported?   Useful for instance as a \"placeholder\" if a theme is created with svg images, but jwm is compiled without svg support... at least in trays where a missing icon can result in a tray button of 0 width/height if label=\"\" is not set"}}