layer-shell: handle commits before map
A client is free to change its mind and request a different size/anchor/etc after recieving the initial configure but before attaching and committing the first buffer. This means that we should respond to such a situation with a new configure. mako has been observed doing this in the wild for example.
This commit is contained in:
@ -220,7 +220,7 @@ fn handleInhibitDeactivate(
|
||||
// keyboard-interactive surfaces will re-grab focus.
|
||||
var output_it = server.root.outputs.first;
|
||||
while (output_it) |output_node| : (output_it = output_node.next) {
|
||||
output_node.data.arrangeLayers();
|
||||
output_node.data.arrangeLayers(.mapped);
|
||||
}
|
||||
|
||||
// After ensuring that any possible layer surface focus grab has occured,
|
||||
|
Reference in New Issue
Block a user