Fix fullscreen state handling for PGTK (Bug#81165, Bug#81320)

* src/pgtkterm.c (set_fullscreen_state): Unfullscreen frame in
the FULLSCREEN_HEIGHT/_WIDTH case (Bug#81165, Bug#81320).

Copyright-paperwork-exempt: yes
This commit is contained in:
Johan Myréen 2026-07-02 10:41:31 +02:00 committed by Martin Rudalics
parent 727a57d971
commit 6f9ac7ffdb

View file

@ -4483,7 +4483,8 @@ set_fullscreen_state (struct frame *f)
case FULLSCREEN_WIDTH:
case FULLSCREEN_HEIGHT:
/* Not supported by gtk. Ignore them. */
/* Restoring from fullscreen to tiled (Bug#81165, Bug#81320). */
gtk_window_unfullscreen (widget);
break;
}