Good time of day! While using xfwm4 I faced one annoying problem: placement_ratio parameter wasn't saved through the sessions. The problem was that the parameter (which was OK in xfconf and in user's xfwm4rc) was overwritten by theme's one at loading. That's why I decided to write a patch, which makes user's xfwm4rc be more privileged than others. I think it's safe because this file is not actively used for user's settings storage and will not make harm to general configuration. The patch is attached. Regards, Denis. P.S. Sorry for my English.
(In reply to comment #0) > The patch is attached. So where is it? :-) Regards, Mathias
Created attachment 3081 xfwm4rc patch
> So where is it? :-) Sorry, I thought that I'd attached the patch. Now it's here.
Well no, I disagree with that patch, the themerc takes precedence over everything else (themes can and do enforce button placement when not all placements or buttons are supported). The problem is really with the theme you use, it should not fiddle with such settings, really.
Well, the patch make it so only the user xfwm4rc takes precedence over themerc, so admittedly this is not going to cause much breakage (unless the user himself tweaked his xfwm4rc)...
> (themes can and do enforce button placement when not all > placements or buttons are supported). Yeah, in such case this patch is useless. > Well, the patch make it so only the user xfwm4rc takes precedence over themerc, > so admittedly this is not going to cause much breakage (unless the user himself > tweaked his xfwm4rc)... I wrote it specially to ease life for advanced users, who know what are they doing. It makes code a bit more complicated, but it's safe, I think.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/43. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev