wayland: Don't destroy and recreate the confinement region with window size changes
The spec says that an undefined confinement region should match the input region, so it is resized automatically. This was a hack for a very old, buggy compositor and is no longer needed.
This commit is contained in:
@@ -420,10 +420,6 @@ static void ConfigureWindowGeometry(SDL_Window *window)
|
|||||||
for (SDL_Window *child = window->first_child; child; child = child->next_sibling) {
|
for (SDL_Window *child = window->first_child; child; child = child->next_sibling) {
|
||||||
RepositionPopup(child, SDL_TRUE);
|
RepositionPopup(child, SDL_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data->confined_pointer) {
|
|
||||||
Wayland_input_confine_pointer(viddata->input, window);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Update the min/max dimensions, primarily if the state was changed, and for non-resizable
|
/* Update the min/max dimensions, primarily if the state was changed, and for non-resizable
|
||||||
|
|||||||
Reference in New Issue
Block a user