mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-15 10:16:36 -04:00
Fix rendering bug due to unsynchronized cairo surface size (Bug#38497)
* src/xterm.c (handle_one_xevent) <ConfigureNotify> [USE_CAIRO && !USE_GTK]: Call x_cr_update_surface_desired_size for a related frame as a fallback.
This commit is contained in:
parent
075f21c0e3
commit
c01f55f126
|
|
@ -8934,6 +8934,10 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
if (f)
|
||||
x_cr_update_surface_desired_size (f, configureEvent.xconfigure.width,
|
||||
configureEvent.xconfigure.height);
|
||||
else if (any && configureEvent.xconfigure.window == FRAME_X_WINDOW (any))
|
||||
x_cr_update_surface_desired_size (any,
|
||||
configureEvent.xconfigure.width,
|
||||
configureEvent.xconfigure.height);
|
||||
#endif
|
||||
#ifdef USE_GTK
|
||||
if (!f
|
||||
|
|
|
|||
Loading…
Reference in a new issue