Re: Directional switching
Ian Zimmerman <[email protected]>
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <[email protected]> |
On 2015-07-09 05:34 +0200, Mikael Magnusson wrote: > You'll want to initialize these integers to something in > config_startup(), then you don't need the elses during parsing. Is config_startup called during live reconfiguration? > Would I be correct in thinking that setting one to two is equivalent > to setting the other to one half? (If they were not integers). Yes, it is equivalent mathematically; depending on how it's implemented, there may be some loss of precision with a single parameter (if it's used to multiply and then divide). That is probably negligible. But I also believe two parameters are clearer in this case. What would you call the single relative parameter? Thanks for your comments, I really appreciate the opportunity to improve the code! -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court. _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox