mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 06:55:38 +00:00
wayland: Add a note for why we check 0,0 for fullscreen configurations
This commit is contained in:
parent
6101499c7c
commit
4c9966eed6
|
@ -289,6 +289,9 @@ handle_configure_xdg_toplevel(void *data,
|
|||
} else {
|
||||
/* For fullscreen, foolishly do what the compositor says. If it's wrong,
|
||||
* don't blame us, we were explicitly instructed to do this.
|
||||
*
|
||||
* UPDATE: Nope, sure enough a compositor sends 0,0. This is a known bug:
|
||||
* https://bugs.kde.org/show_bug.cgi?id=444962
|
||||
*/
|
||||
if (width != 0 && height != 0) {
|
||||
window->w = width;
|
||||
|
|
Loading…
Reference in a new issue