-
Notifications
You must be signed in to change notification settings - Fork 4
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
Drag top of the window, not middle of the window #18
Comments
This is a limitation of the default shortcuts provided by KWin, I think under the hood it uses the same as But it can probably achieved by using a KWin script (similar to what I am planning to do with #8). |
I think after executing the action of "drag down" or whatever one uses, you could first move the cursor to the middle of the active window and then move the window (or middle of the current screen, should be easier). At least that's how latte-dock implemented it. When doing the dragging motion, the cursor first jumped down and then it dragged the window. On Plasma5 there was the hotkey |
Will check if mouse can be positioned and set to drag with KWin Scripting API. |
With v1.6.1 the drag action is very smooth now. Vote to close this issue. |
Thanks for the feedback!
After some experimenting I was able to move the window to the cursor position but was immediately back to the center if it was moved, so I don't think is possible with just KWin scripting. But I don't want to give up on this just yet lol, let's keep it open in case someone smarter than me figures out how to add compiled alternative if any, I'll ask for help to KDE devs maybe they could implement an alternative that drags from the top |
Currently, when using the option to move a window, the cursor fixes itself to the middle of a window.
If the cursor fixed itself to the top of the window, then the motion would be smoother.
Edit: Just noticed Latte-Dock places the cursor to the middle as well, but moves the cursor to the window and not the window to the cursor
The text was updated successfully, but these errors were encountered: