unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ari Roponen <ari.roponen@gmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 33442@debbugs.gnu.org
Subject: bug#33442: 26.1.90; Cairo side-by-side windows scrolling fix should be cherry-picked
Date: Thu, 22 Nov 2018 08:44:19 +0200	[thread overview]
Message-ID: <875zwpligs.fsf@gmail.com> (raw)
In-Reply-To: <1bf2b358-3ac2-46bb-f298-5c115149dea0@yandex.ru> (Dmitry Gutov's message of "Wed, 21 Nov 2018 23:40:55 +0200")

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 21.11.2018 9:11, Ari Roponen wrote:
>
>> I have been using --with-cairo for my Emacs builds for six months, and
>> haven't had any major problems with it.
>
> Curious.
>
> I've just tried building the master branch --with-cairo (on
> GNU/Linux), and I see crippling rendering problems right away. Maybe
> the same issue as reported at
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23925.
>

It does work here. I use gnome-shell on Xwayland.
Could you try the following patch, if it helps?

diff --git a/src/xterm.c b/src/xterm.c
index 3a7e31e712..e82beacd7d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -992,6 +992,9 @@ x_update_begin (struct frame *f)
   if (FRAME_TOOLTIP_P (f) && !FRAME_VISIBLE_P (f))
     return;
 
+  if (FRAME_GARBAGED_P (f))
+    x_cr_destroy_surface (f);
+
   if (! FRAME_CR_SURFACE (f))
     {
       int width, height;





  reply	other threads:[~2018-11-22  6:44 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20  8:15 bug#33442: 26.1.90; Cairo side-by-side windows scrolling fix should be cherry-picked Ari Roponen
2018-11-20 15:58 ` Eli Zaretskii
2018-11-20 16:16   ` Dmitry Gutov
2018-11-20 17:14     ` Eli Zaretskii
2018-11-21  7:11       ` Ari Roponen
2018-11-21 21:40         ` Dmitry Gutov
2018-11-22  6:44           ` Ari Roponen [this message]
2018-11-22 12:03             ` Dmitry Gutov
2018-11-22 12:19               ` Ari Roponen
2018-11-22 14:05                 ` Dmitry Gutov
2018-11-22 14:52                   ` Eli Zaretskii
2018-11-22 15:22                     ` Dmitry Gutov
2018-11-29 13:59                       ` Dmitry Gutov
2018-11-29 12:15                   ` Ari Roponen
2018-11-29 13:19                     ` Robert Pluim
2018-11-29 14:06                       ` Eli Zaretskii
2018-11-30 12:31                         ` Ari Roponen
2018-12-08  9:55                           ` Eli Zaretskii
2018-12-08 10:42                             ` Dmitry Gutov
2018-12-08 11:15                               ` Eli Zaretskii
2018-12-08 13:03                                 ` Dmitry Gutov
2018-12-08 14:24                                   ` Eli Zaretskii
2018-12-08 14:45                                     ` Dmitry Gutov
2018-12-09 22:08                                       ` Robert Pluim
2018-12-10  6:20                                         ` Eli Zaretskii
2018-12-10 13:23                                           ` Robert Pluim
2018-12-11  2:33                                           ` Dmitry Gutov
2018-12-11  3:37                                             ` Dmitry Gutov
2018-12-11  6:31                                               ` Eli Zaretskii
2018-12-11  6:27                                             ` Eli Zaretskii
2018-11-29 14:07                     ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zwpligs.fsf@gmail.com \
    --to=ari.roponen@gmail.com \
    --cc=33442@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).