Skip to content

compositor/native: Consider SSD when determining window view

When determining the view corresponding to a window, get_window_view() was always using the buffer_rect. The buffer_rect for SSD windows, however only corresponds to the size of the client, but does not include the decoration. As a result for maximized SSD windows on monitors without panels, there was no view that was considered to be entirely covered by the window. This then prevented direct scanout in these cases.

Fixes: #2304

Merge request reports