Feature Request: Bring Focus to Window on Drag-and-Drop to Taskbar
Closed this issue · 4 comments
mozlima commented
I suggest implementing the feature to focus on a window exclusively through mouse interaction when dragging items, similar to tint2.
Example: Dragging files from the file manager directly to another window, without the need for Alt+Tab.
Thank you.
LBCrion commented
Do you mean changing the focus as items are dragged between the windows?
(This would likely need to be implemented in a compositor) or changing
focus as taskbar items are rated around?
…On Tue, 30 Jan 2024, 16:20 Moises Lima, ***@***.***> wrote:
I suggest implementing the feature to focus on a window exclusively
through mouse interaction when dragging items, similar to tint2.
Example: Dragging files from the file manager directly to another window,
without the need for Alt+Tab.
Thank you.
—
Reply to this email directly, view it on GitHub
<#140>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFFGHKARL4Y3QXB7JCTYREMV3AVCNFSM6AAAAABCRRKTMWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDQMRVG42TIOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
mozlima commented
Hi,
On tint2 during a drag-and-drop operation, if you hover any taskbar item, the window is brought to the front, so you don't need to use Alt+Tab.
On GtkDropTarget::enter, focus the associated window is possible?
LBCrion commented
Is it just during a drag operation? I'm not sure we can detect drag in
wayland. It would be fairly easy to implement an unconditional focus on
hover.
…On Tue, 30 Jan 2024, 18:07 Moises Lima, ***@***.***> wrote:
Hi,
On tint2 during a drag-and-drop operation, if you hover over any taskbar
item, the window is brought to the front, so you don't need to use Alt+Tab.
—
Reply to this email directly, view it on GitHub
<#140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFA35RU7RDXWLL2V4HLYREZGDAVCNFSM6AAAAABCRRKTMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXGYYTCNJZGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
mozlima commented
I made some prototype and its is working. Ill open PR tomorrow