LBCrion/sfwbar

Feature Request: Bring Focus to Window on Drag-and-Drop to Taskbar

Closed this issue · 4 comments

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.

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?

I made some prototype and its is working. Ill open PR tomorrow