Subject: Re: bug#56198: Request to delete window with mouse event

From: [email-masked]
Date: Sat, 25 Jun 2022 14:34:47 +0200 (CEST)

Jun 25, 2022, 08:24 by [email-masked]:

>> Cc: [email-masked]
>> Date: Sat, 25 Jun 2022 09:35:21 +0200 (CEST)
>> From: carlmarcos--- via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <[email-masked]>
>>
>> Actually, I have noticed a problem with using mouse-3 on mode-line.  Suppose
>> you push mouse-3 on mode-line, the window is removed without giving me the 
>> possibility to net remove it should I change my mind.
>>
>
> Why is that a problem?  Removing a window doesn't lose any important
> information, and you can easily restore it with "C-x 4 b" or somesuch.
>
If would be neater to activate only when the mouse-3 button release occurs on the mode-line
or window.  If one moves the mouse pointer outside the window or outside emacs, then releasing
the pressed mouse-3 button, would have no effect.  This would be consistent with how menus work.