Skip to content
Snippets Groups Projects

Cleanup: client: clientGetWMNormalHints(): simplify defaults and constraints

Applying constraints and defaults for missing/broken values can be written more compact using MIN()/MAX() macros. As a nice side effect, the compiler can generate more efficient code for that, even though practially not noticed on such a rarely called cold path.

Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading