bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49247: 28.0.50; [Feature Request] Make tab-bar-lines dragable


From: Juri Linkov
Subject: bug#49247: 28.0.50; [Feature Request] Make tab-bar-lines dragable
Date: Wed, 30 Jun 2021 22:37:07 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> I actually don't quite see how to implement it even if it wasn't hard:
>> dragging the frame by its title bar or the external border is
>> implemented in the window manager, not in Emacs.  What would be the
>> way of implementing something similar in Emacs?
>
> See section 30.4.3.7 Mouse Dragging Parameters of the Elisp manual.

This is an impressive feature - it works like in window managers.

The only difference is that after trying

  (set-frame-parameter nil 'drag-with-header-line t)

then dragging is limited only to the screen boundaries
and doesn't allow dragging parts of the frame off the screen
(to leave frame partly visible) like window managers do.

Also can't drag by the mode-line with

  (set-frame-parameter nil 'drag-with-mode-line t)

but probably because it affects only frames without minibuffer window.

So it seems it should be possible to do the same for tab-line by implementing

  (set-frame-parameter nil 'drag-with-tab-line t)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]