Make CompWindow::constrainNewWindowSize testable

Bug #898949 reported by Sam Spilsbury
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz Core
Fix Committed
Medium
Sam Spilsbury

Bug Description

Move CompWindow::constrainNewWindowSize out into its own namespace under compiz::window::constrainment and call it something a little more descriptive like constrainToHints with provided sizeHints returning taking:

CompSize
compiz::window::constrainment::constrainToHints (const XSizeHints *hints,
                                                                                             const CompSize &size,
                                                                                             unsigned int ignoreHints);

Changed in compiz-core:
status: In Progress → Fix Committed
milestone: 0.9.7.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.