Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port over dmenu flag '-selected-row' #909

Closed
wants to merge 1 commit into from

Conversation

maxverbeek
Copy link

In #38 people have resorted to xdotool hacks to skip to the second row on startup. Upon experimentation this seemed buggy for really fast alt tabs. This patch allows us to set the selected row using the -selected-row flag, just like in dmenu. Docs are incomplete so far, as I don't know where to document this. As I am also very unfamiliar with this code I have no clue if this addition is in a logical place.

For now I named this argument the same as the dmenu equivalent that I found in the docs. I don't know if this is a good idea in terms of confusion.

Feedback is welcome.

@codecov-io
Copy link

codecov-io commented Feb 2, 2019

Codecov Report

Merging #909 into next will decrease coverage by <.01%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##             next     #909      +/-   ##
==========================================
- Coverage   72.28%   72.28%   -0.01%     
==========================================
  Files          39       39              
  Lines       10173    10176       +3     
==========================================
+ Hits         7354     7356       +2     
- Misses       2819     2820       +1
Impacted Files Coverage Δ
source/rofi.c 63.1% <66.66%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2053818...5657838. Read the comment docs.

@DaveDavenport
Copy link
Collaborator

This has been in rofi for a while. thx.

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants