Skip to content

workspace.cpp, Workspace::clientArea, extract duplicate code present in both if branches

Guenther Grau requested to merge grau/kwin:my_work into master

Use more concise code to assign workArea The if-else statement in Workspace::clientAreacontains partially the same code in both branches. This merge request extracts the duplicate assignment and checks for null once and also replaces the if else statement with the ? operator. The execution logic of the code is unchanged.

Merge request reports