Skip to content

place: Avoid flickering when maximizing windows

Colomban Wendling requested to merge cwendling/compiz-core:place-maximize into master

Using placeSendWindowMaximizationRequest() from within placeDoWindowPlacement() might lead to flashing an empty window before the app drew itself (visible with some GTK3 apps, e.g. Orca's preferences window). Using Compiz's own maximizeWindow() fixes the problem and seems more appropriate anyways.

The use of placeSendWindowMaximizationRequest() instead of maximizeWindow() comes from 772ecdf4 which is advertised as code refactoring, without any mention of why this changed. My guess would be that as placeSendWindowMaximizationRequest() existed the author simply wanted to make the code more consistent.

Merge request reports