Subject: Re: bug#62164: 29.0.60; ediff behaves poorly by default on tiling window managers

From: Eli Zaretskii <[email-masked]>
Date: Wed, 28 Jun 2023 14:56:36 +0300

> From: Spencer Baugh <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Tue, 27 Jun 2023 21:13:09 -0400
> 
> * lisp/vc/ediff-wind.el (ediff-x-utility-control-frame): Add
> defcustom.               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Copy/pasta, right?

> +(defcustom ediff-x-floating-control-frame nil

A better name is ediff-floating-control-frame.

> +  "If non-nil, the control frame will float under most X WMs.
> +
> +The control frame will be give the window type \"utility\".  On
> +most tiling window managers, this will cause the control frame to
> +be floating rather than tiled.  It should be harmless on other
> +well-behaved window managers."

I would document this slightly differently:

    If not-nil, try making the control frame be floating rather than tiled.

  If your X window manager makes the Ediff control frame a tiled one,
  set this to a non-nil value, and Emacs will try to make it floating.
  This only has effect on X displays.