From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad Date: Wed, 29 Sep 2021 05:07:29 -0700 Message-ID: References: <4709c228-9735-4f49-b930-3189ca6c0eed@gmx.at> <2b24c14c-02d9-29f2-571b-ef791a20cc2d@gmx.at> <2acc2d8e-3574-56e9-7b2f-8b9d131fdb3d@gmail.com> <9b38426b-8e96-0d93-15f7-b915ce3f7d71@gmx.at> <59f6a4ee-1109-68ff-a931-de526c9f0426@gmail.com> <4326ca67-d29c-e7dd-6b78-058e4aa41e79@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6817"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48413@debbugs.gnu.org To: Platon Pronko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 29 14:08:59 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVYOR-0001bv-Hy for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Sep 2021 14:08:59 +0200 Original-Received: from localhost ([::1]:35064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVYOP-00072V-Jg for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Sep 2021 08:08:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVYNW-0005yt-Gd for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 08:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVYNW-0005du-7Y for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 08:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVYNW-0006RG-37 for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 08:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Sep 2021 12:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48413 X-GNU-PR-Package: emacs Original-Received: via spool by 48413-submit@debbugs.gnu.org id=B48413.163291725924717 (code B ref 48413); Wed, 29 Sep 2021 12:08:02 +0000 Original-Received: (at 48413) by debbugs.gnu.org; 29 Sep 2021 12:07:39 +0000 Original-Received: from localhost ([127.0.0.1]:48009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVYN9-0006Qb-5O for submit@debbugs.gnu.org; Wed, 29 Sep 2021 08:07:39 -0400 Original-Received: from mail-pg1-f182.google.com ([209.85.215.182]:37461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVYN5-0006QA-Q7 for 48413@debbugs.gnu.org; Wed, 29 Sep 2021 08:07:36 -0400 Original-Received: by mail-pg1-f182.google.com with SMTP id 17so2484450pgp.4 for <48413@debbugs.gnu.org>; Wed, 29 Sep 2021 05:07:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=t/GqUyYFHzqvaEdSd1bqvTwW7Yoszqk4npTJswXn+TE=; b=K0/MRyi/fHmae2Mg9rPUrDZIhfBxtkQ6rsw/aDK2Q4HNhkfEKkkNDt3nxeiXcp88Xv Q1UfgfboRKZxsEQ/KJXLMopBzWyi9AJv05kuv9mo3e7DgK/TzPf8jO2HBCp/nhaVQ9fx 7t1ARs4pLM63ur90BDnsJLJtOQklj1QCVmTNf3zo9R5MzADOxlg4FbTt+eauYMB9ZG+i xO9NdHz96DH4sD5N4xVSg3aOkCOqVmSSSNOcXsRAUxeLr1T/L0yq2E3FWCmaBMbE/B+0 L4yHre9LM2bdMiD+R9ukzv0gJcU4xAIOp+kk5prmHZsPUYq+suMSA6J39N1ZZAqyzrEG +V0w== X-Gm-Message-State: AOAM531lun8WJ7wbO/dBT5ZnY/Poh6m4jgLYRH9hkI+7srgE+Lu6miVO SkribCok/kXZjitSmYciaYRx0jYS/7d6pJUj//c= X-Google-Smtp-Source: ABdhPJwHKcViQAQ+PH86/4V7RNeT55sCge9X1QRe7viztUek9yG0Di5lvbNaet2SLfb63L65XJeHbZiOEAw47Yz9z8U= X-Received: by 2002:a63:4717:: with SMTP id u23mr9158633pga.359.1632917250190; Wed, 29 Sep 2021 05:07:30 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 29 Sep 2021 05:07:29 -0700 In-Reply-To: (Platon Pronko's message of "Sat, 15 May 2021 11:28:41 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215841 Archived-At: Platon Pronko writes: >>> Can you tell me why we do not SET_FRAME_VISIBLE when receiving the >>> MapNotify event here? Probably because we are not yet visible - though >>> mapped but invisible is a queer state. >> In Bug#48129 Tom conjectures that this happens because some WMs do not >> set _NET_WM_STATE. Do you agree with him? If so, wouldn't it make >> sense to skip that x_get_current_wm_state check in MapNotify because it >> fails on too many WMs? > > I think I agree with your reasoning ("Probably because we are not yet > visible"). Can't comment further because I don't know much about Emacs > frame internals and different WM specifics. Is there anything more to do here, or should this bug be closed?