From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix rendering issues on window managers without _NET_WM_STATE Date: Tue, 18 May 2021 14:03:55 +0100 Message-ID: <87pmxombwk.fsf@tcd.ie> References: <87sg2omq28.fsf@omarpolo.com> <87k0nyu70s.fsf@omarpolo.com> <57bde065-4b60-daa8-5352-53adc2435d91@gmx.at> <87h7j2u042.fsf@omarpolo.com> <6ee36c66-fb33-0a5c-e70b-9704226d8926@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29378"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Tom Gillespie , Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 18 15:05:11 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lizPL-0007PK-Ke for ged-emacs-devel@m.gmane-mx.org; Tue, 18 May 2021 15:05:11 +0200 Original-Received: from localhost ([::1]:54438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lizPK-0006H9-Jm for ged-emacs-devel@m.gmane-mx.org; Tue, 18 May 2021 09:05:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lizOJ-0004ZQ-0W for emacs-devel@gnu.org; Tue, 18 May 2021 09:04:07 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:39893) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lizOC-0000Ro-JZ for emacs-devel@gnu.org; Tue, 18 May 2021 09:04:06 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id v12so10146915wrq.6 for ; Tue, 18 May 2021 06:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=/uEV6YORPIKo/ajQWG5AeG2p2wAnAoFHUPyapPXWDyc=; b=SRk8DGODe8ZDPgOAkC/HwKEXl7PsIegID8eKiV43HBHOhgyDXHX3IH9PNukTpxZVeh CMBJuqJvffFGiZQzlcPEywJ7Xtkf4kSXhiRbnmlRBWukJ39zjwZ0sSIwEx8CQ6jEiN6X ggqqhf9B4xx9lmLUpTNQOAnOLgt+7eJSgEURed8+NXXuxlyhoz2Ae+zVYjAMfaIqY753 a4JU8UOj2XFVQedmXEZMnpOh3oomDn88euN5zIyhOdSpG29w99Awbw6wW8CcFYAtOqdV NvsapIJsCez+8OA86bpPXBnuVmsbHjxOC3Mpvyu/pLO2h3+i83lbV+UQcCbpMQQQwWVi xHvA== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=/uEV6YORPIKo/ajQWG5AeG2p2wAnAoFHUPyapPXWDyc=; b=OpY7uD6/XAfgmrOk41PYB6fcAKUo2FAEsqx7OHIvV9C8ys28/ZXePgb5MYxXOsD/Ag Zzu3AgmUd5WydmqBipCIHxE+QYKTRbD818PGrKyd0gEceW/arWLoARhJK2WzyJz6BeST gs4DkJGfT8T95IU/Lnk4gwDv/rz+5SfBGI9Bn8LSSKipfrsOlWT26CyRqZEDVyOK+yBG L1sRCOkUa3mEKJaHaJmpa0XabS4JSW41l7QVItOchykG12vJwYnfFqeO5kxbHO5GqccP rdSP5kIzhEvKQMhxg+8NBdBQsVTuhjqDpypqg02Vk3EHkEnb319F+XI9MDC0Y2ilCxFH eJBA== X-Gm-Message-State: AOAM533qaiZZdWI3drLB4h8rpJMPL3PbTH0vgE6KcjsiBdaY/K8jxWAt UR6B+GZbohzKI4sayOaZxUlQCA== X-Google-Smtp-Source: ABdhPJxbo7L4jmEcn9FontGacyFldos9iWZTniYujsjkKEumksbT111OsLh0xiBRYejrIih7XcyncA== X-Received: by 2002:a05:6000:188d:: with SMTP id a13mr6946609wri.61.1621343038464; Tue, 18 May 2021 06:03:58 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:f410:82e8:3a21:eedf]) by smtp.gmail.com with ESMTPSA id k205sm1884196wmf.13.2021.05.18.06.03.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 06:03:57 -0700 (PDT) In-Reply-To: <6ee36c66-fb33-0a5c-e70b-9704226d8926@gmx.at> (martin rudalics's message of "Tue, 18 May 2021 10:01:55 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=contovob@tcd.ie; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269451 Archived-At: martin rudalics writes: >> Reporting back on an observation which may or may not be related to >> these changes. Now when I alt-tab, or disable/enable the menu bar >> focus switches away from the minibuffer if it was active and switches >> to the last active maxi buffer. I haven't had a chance to bisect so I >> don't know what introduced the issue, it might be >> 46e4704e2abca4d264a43965f92eab7608211ee6 Miscellaneous corrections to >> src/minibuf.c as well (I'm at >> b5e6dba05fcb4fa1c716dc759f8c4b2561bacaa7). Best, > > Does this happen with emacs -Q? When I do here C-h f, alt-tab away from > Emacs, alt-tab back to Emacs, I'm still in the minibuffer. Same with > C-h f and deactivating the menu bar from the Options menu. So please be > more specific about what you did. I see the same as Tom with Xmonad. In an empty workspace: 0. emacs -Q 1. C-x 5 2 2. M-x [Minibuffer is current.] 3. Alt-tab [*scratch* is current.] 4. Alt-tab [*scratch* is still current.] In Emacs 27, the last step leaves the minibuffer current. -- Basil