Skip to content

Refactor if-else chain in Placement::place to a switch statement

Kristen McWilliam requested to merge merritt/kwin:refactor_to_switch into master

Was using a long & fragmented if-else chain. A switch statement is often more performant, as well as being easier to read and modify.

Merge request reports

Loading