Skip to content

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

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

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
Contributor

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.

Lemxy added a commit that referenced this pull request Nov 26, 2026
@Lemxy

Lemxy commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Thank you, @2sulraw! Your change is in main (squashed, credited in the commit message) and released in v0.5.9.

@Lemxy Lemxy closed this Nov 26, 2026
Lemxy added a commit that referenced this pull request Nov 26, 2026
…#182

Co-authored-by: 2sulraw <2sulraw@gmail.com>
Co-authored-by: Tkyo0x <240800669+Tkyoxx@users.noreply.github.com>
Co-authored-by: GuilhermeLima <guilhermelimamp2020@gmail.com>
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.

2 participants