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

Support for showing tab numbers while a key is pressed #103

Merged
merged 1 commit into from
May 18, 2019
Merged

Conversation

raboof
Copy link
Owner

@raboof raboof commented May 16, 2019

With this change, you can register keybindings to show tab numbers while
holding a key, e.g.:

defbindings("WFrame.toplevel", {
    kpress("Super_L", "WFrame.set_numbers(_, 'during_grab')"),
})

The grab is necessary to be able to restore the normal titles again when the
key is released. A feature was added to 'grab' to allow grabbing the keyboard
while still processing mouse events (such as resizing frames with META+Button3).

With this change, you can register keybindings to show tab numbers while
holding a key, e.g.:

```
defbindings("WFrame.toplevel", {
    kpress("Super_L", "WFrame.set_numbers(_, 'during_grab')"),
})
```

The grab is necessary to be able to restore the normal titles again when the
key is released. A feature was added to 'grab' to allow grabbing the keyboard
while still processing mouse events (such as resizing frames with META+Button3).
@raboof raboof merged commit e0af18a into lgpl May 18, 2019
@raboof raboof deleted the tabhints branch May 18, 2019 13:55
@raboof raboof added the development issues that don't impact end users directly label Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development issues that don't impact end users directly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant