From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Lars Ingebrigtsen <larsi@gnus.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#49489: 28.0.50; C-z hangs emacs in i3wm
Date: Sat, 10 Jul 2021 18:38:05 +0200
Message-ID: <87k0lynmz6.fsf@gnus.org>
References: <87tul3wu8t.fsf.ref@aol.com> <87tul3wu8t.fsf@aol.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="8873"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Cc: 49489@debbugs.gnu.org
To: Ergus <spacibba@aol.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 10 18:39:10 2021
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1m2G0T-00027W-QD
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jul 2021 18:39:09 +0200
Original-Received: from localhost ([::1]:45714 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1m2G0S-00070A-MI
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Jul 2021 12:39:08 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37640)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1m2G0M-000702-RX
 for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 12:39:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:50004)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1m2G0M-0003oU-DR
 for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 12:39:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1m2G0M-0007qT-06
 for bug-gnu-emacs@gnu.org; Sat, 10 Jul 2021 12:39:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Lars Ingebrigtsen <larsi@gnus.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 10 Jul 2021 16:39:01 +0000
Resent-Message-ID: <handler.49489.B49489.162593510430111@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 49489
X-GNU-PR-Package: emacs
Original-Received: via spool by 49489-submit@debbugs.gnu.org id=B49489.162593510430111
 (code B ref 49489); Sat, 10 Jul 2021 16:39:01 +0000
Original-Received: (at 49489) by debbugs.gnu.org; 10 Jul 2021 16:38:24 +0000
Original-Received: from localhost ([127.0.0.1]:33317 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1m2Fzk-0007pb-74
 for submit@debbugs.gnu.org; Sat, 10 Jul 2021 12:38:24 -0400
Original-Received: from quimby.gnus.org ([95.216.78.240]:57126)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@gnus.org>) id 1m2Fzi-0007pM-32
 for 49489@debbugs.gnu.org; Sat, 10 Jul 2021 12:38:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=whqF+kmKeLKZUE8HWOmurH89ABhfXMY2XHaVd/FQqF4=; b=nen1h6hwLtwUicOJAybNeJfvMt
 KlS5EqXn8Gzxqohfk2Pb82bZEL+uBrI0xaXM6incXSnbpwXESpFCuYRsgCyTZzPFtadWaZ5P6pRN7
 ZtaebsSm43dso3RLBIEqSzCChoQsPGpGcDvsa1rHkGoTkv4yQEM5xawnjcbSLBXUvGMg=;
Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@gnus.org>)
 id 1m2FzX-0005k7-2A; Sat, 10 Jul 2021 18:38:16 +0200
X-Now-Playing: Tears For Fears's _Songs From The Big Chair_: "The Big Chair"
In-Reply-To: <87tul3wu8t.fsf@aol.com> (Ergus's message of "Fri, 09 Jul 2021
 14:24:02 +0200")
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:209752
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/209752>

Ergus <spacibba@aol.com> writes:

> Recently I found that when I send C-z by accident to a gui emacs in i3wm
> it hangs until I select another window and select it back again.

Just to confirm that it's indeed the iconification that makes Emacs
hang, can you try

M-: (iconify-frame) RET

?

> i3wm does not support minimize windows, most of the applications just
> ignore when the user tries to minimize; but don't hang. (Something that
> does not happen very often either because most of the users disable the
> window borders)
>
> Is it possible to detect when the window manager does not support
> minimize or that the frame was not really minimized?

I think the window manager can announce whether it supports
iconification or not, but I'm not very familiar with that stuff myself.
Anybody else know?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no