mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Guarded the GTK3/Wayland redraw path in gtk_xtext_render_page with #if HAVE_GTK3 so GTK2 builds render immediately instead of waiting for expose events.
This commit is contained in:
@@ -4429,7 +4429,7 @@ gtk_xtext_render_page (GtkXText * xtext)
|
|||||||
* If we're not currently inside ::draw, xtext->draw_cr is NULL. In that case
|
* If we're not currently inside ::draw, xtext->draw_cr is NULL. In that case
|
||||||
* just request a redraw and let the normal GTK paint cycle do the work.
|
* just request a redraw and let the normal GTK paint cycle do the work.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_GTK3
|
#if HAVE_GTK3
|
||||||
if (xtext->draw_cr == NULL)
|
if (xtext->draw_cr == NULL)
|
||||||
{
|
{
|
||||||
GtkWidget *w = GTK_WIDGET (xtext);
|
GtkWidget *w = GTK_WIDGET (xtext);
|
||||||
|
|||||||
Reference in New Issue
Block a user