[i3Kornhe] moving floating windows is lagging when keys are held #96
Labels
No labels
Arch PKGBUILD
bug
build
commandline
duplicate
enhancement
font
good first issue
help wanted
implemented
is-it-really-a-bug?
necromancy
not-reproducable
question
reproducable
rofi
solved?
stalled
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
bud/i3ass#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
or to be honest, tiled windows are also a bit laggy when moved. But it is worse with the floating ones, and it has probably to do with the agressive title_format updating stuff.
I think it is worth revisiting (rewriting) i3Kornhe and figure out a way to see if a key is being held down when the script is about to terminate. If there is a key (not a modifier) repeat the last action. The problem is that we don't really know what key-bindings the user have set to execute i3Kornhe, but i think it's enough to just test for any non-modifier key being held and assume it is the same key that triggered the command initially. By doing something like this we will not need to query i3list and stuff for each movement and things should be a lot smoother.
brainstorm:
if it isn't too heavy we could do a dirty config parse and get the actual i3Kornhe bindings... since config is gettable from IPC, it shouldn't tax the startup more then ~20ms to do it. worth trying at least.
or what about this:
need a way to kill the subscription, but this might be a nice way to do this without external tools...
resolved with #112