From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#38497: 27.0.50; Frame is not rendered when frame-resize-pixelwise it 't Date: Tue, 17 Dec 2019 18:37:52 +0800 Message-ID: <87fthji6f3.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> References: <87wobbjlm0.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <2975a018-4c5c-4da4-f236-8eb4338a9829@gmx.at> <878sngvhaf.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <13a1e840-7ca3-fb70-e773-de12089bd97e@gmx.at> <8736domoza.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <94dc09f8-6ef4-f493-db7b-52b0d218f715@gmx.at> <87zhfwkwb5.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <647006dc-42e1-a242-4fda-2f129943fc98@gmx.at> <87tv63kzzc.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <87eex7civ7.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <874ky1669n.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <8f3a661e-b61c-1efb-6c30-b0aad00a8305@gmx.at> <87mubtngt7.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <5d6b8b8137b6e29b852e7d14b2235522.squirrel@weber.math.s.chiba-u.ac.jp> <875zig1kxc.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <871rt323b3.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="54563"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38497@debbugs.gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 17 11:40:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ihAGx-000E09-80 for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Dec 2019 11:40:11 +0100 Original-Received: from localhost ([::1]:38866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihAGv-0002pE-QM for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Dec 2019 05:40:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53715) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihAGp-0002oq-SO for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2019 05:40:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihAGo-0004S0-MS for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2019 05:40:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ihAGo-0004Rq-IV for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2019 05:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ihAGo-0002jT-F5 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2019 05:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Dec 2019 10:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38497 X-GNU-PR-Package: emacs Original-Received: via spool by 38497-submit@debbugs.gnu.org id=B38497.157657919910490 (code B ref 38497); Tue, 17 Dec 2019 10:40:02 +0000 Original-Received: (at 38497) by debbugs.gnu.org; 17 Dec 2019 10:39:59 +0000 Original-Received: from localhost ([127.0.0.1]:40731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihAGl-0002j8-5S for submit@debbugs.gnu.org; Tue, 17 Dec 2019 05:39:59 -0500 Original-Received: from mail-yw1-f68.google.com ([209.85.161.68]:42486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihAGi-0002iu-NP for 38497@debbugs.gnu.org; Tue, 17 Dec 2019 05:39:57 -0500 Original-Received: by mail-yw1-f68.google.com with SMTP id x138so1746081ywd.9 for <38497@debbugs.gnu.org>; Tue, 17 Dec 2019 02:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=CZ/fM0qJkvVKFfSxqfQpSObqrGwy7taCDIGy3OsHJB0=; b=VjyZBjriRqZ6ayVwigj448iUerOdx06KfW/9DjaA9wDchO55NfFFBWahKZqW/EiW3D SDa4+qDHP/nrg2/LpO2FdqG2y0aVoXGAVXWlslkufWvuZ/tIrYVaSzZfzIaEaCJVBI0J BEBrXH83Ae143uvVsGg5jhX3MSx+kuHhaaATslbe8qn9qzHppznAejHChfxSq1r/Uef0 MRSt+Kx8GcfMhjHi8ZFNQdT1osp+a2pilWUQd3itR988/rgHp6DiCjITRbW2i0HlNy7I 0kQ1KI5E3e5ztm+kSzYwUX7UR4/N9xRp6wnSfXKXumS44Oh5zP1AZ+bnu+osXZY4bBTP HStw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=CZ/fM0qJkvVKFfSxqfQpSObqrGwy7taCDIGy3OsHJB0=; b=A6aRdXqu7Kp5Ds9wS7xDNLqFjnGgpjSZ2n0bq6YWJhLSBw7a83qvxWFUlWQGU/RhA5 gPIb8fNWMjvF5GGM9jelRrvFqjm2GBa6KdWDchW4J4a2XHZBeYYkHdxpEZdgPjBOTzJM YmYGuniE/KHitWecT23CeRCUJCVc2kXPjq7KCjeKDxKokS7fGHGt0fLuMV8wFjkM9KfS qpixpR38DDfKGo75rsiPwLHfdxORh/Prha/aiWVoXNMLQTl0Zo+E1WGDsOFw7sH/tgOj occ9LFZ2R7sVwQIra6j2McpEpQlUxebwEAhaNWmdNKQbYqK83hAsOKtUQKJpQclXCQj+ ebgA== X-Gm-Message-State: APjAAAWpOWNHTqLjmWVgDs/Z9AWpEWdHXkcSAHzgfcjzMdyIfFdyh3hn 71XY8ZQvezkA7HNlRTjX5WQ= X-Google-Smtp-Source: APXvYqzoqSNUHp4FfSUOrAhofRm9Olvg5453vfbiIN/W77SNM3Z18mhfZGOr+2pX/nMCbpCmoMdcDw== X-Received: by 2002:a0d:e446:: with SMTP id n67mr23904986ywe.145.1576579191047; Tue, 17 Dec 2019 02:39:51 -0800 (PST) Original-Received: from localhost ([5.226.137.4]) by smtp.gmail.com with ESMTPSA id b192sm5923544ywe.2.2019.12.17.02.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2019 02:39:50 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173476 Archived-At: > Does the patch below work? (I'm no X11 expert, so just shooting at random.) It seems to work. Though I was not able to reproduce this new problem with emacs -Q. Will keep testing with my config for a while more to make sure that the problem is gone. Best, Ihor YAMAMOTO Mitsuharu writes: > On Tue, 17 Dec 2019 09:39:28 +0900, > Ihor Radchenko wrote: >> >> >> Could you try the patch below? >> >> Even though redrawing started working with the patch following my >> previous recipe, I observe another redrawing issue with this patch. I >> haven't tracked the exact recipe yet, but it seems to occur when emacs >> frame is created in floating layout (maybe because it is not resized >> after creation in this case, unlike tiling layout). > > Does the patch below work? (I'm no X11 expert, so just shooting at random.) > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp > > diff --git a/src/xterm.c b/src/xterm.c > index 55e5cb76f2..590b4bda97 100644 > --- a/src/xterm.c > +++ b/src/xterm.c > @@ -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