Skip to content

rust-explorer: middle click a folder opens it in a background tab - #180

Open
2sulraw wants to merge 1 commit into
Lemxy:mainfrom
2sulraw:feat/explorer-middle-click-tab
Open

2sulraw wants to merge 1 commit into
Lemxy:mainfrom
2sulraw:feat/explorer-middle-click-tab

Conversation

@2sulraw

@2sulraw 2sulraw commented Nov 25, 2026

Copy link
Copy Markdown

Adds a mouse shortcut to the file manager: a middle click on a folder row opens that folder in a new tab and keeps the current tab active (background tab, like Explorer).

  • WM_PARENTNOTIFY on the list's middle-button down, hit-testing the row with LVM_SUBITEMHITTEST; only folder rows react (headers and files ignored).
  • tab_open() appends the tab to the bar and repaints it without loading the folder into the active tab.
  • Desktop mode and the existing middle-click-on-tab-closes-tab behaviour are unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant