-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
mouse-draggable window margin/padding #3683
Comments
See #84 (comment). |
Thanks, I was able to drag it. However, the draggable space with So I mainatin that dragging from window margin or window padding would be significantly better UX. Not a viable feature? Screen.Recording.2021-06-02.at.12.26.40_new2.mov |
I found a way to implement this. I will need to write some code to determine if the drag started in the padding or margin, then it should work. I'll try to implement it this weekend. If I haven't made a PR in two weeks yet, please remind me again. |
while I have no objection to implementing dragging from outside margins |
Do you mean using Edit: seems the tabs display under the titlebar with this solution, but ideally they should be up top as with |
maybe I am misremembering, or maybe there was a setting for hiding the |
The other thing I just noticed is that even if the buttons were hidden, tabs would display in a row underneath the titlebar. Basically, I'm looking to make my kitty window look like my atom window with tabs at top and with a reasonably-sized mouse-draggable space, e.g. like the window margins or padding etc. See image of windows side-by-side: |
Hey, how is that PR going? |
Off-topic. Do you mind sharing the conf how to make the kitty looks like in the video? mine is weird like this: |
Could kitty provide any of these:
Option (2) is easier to implement, isn't it? |
For Linux users, in Fedora and Ubuntu is possible to drag by clicking in anywhere of the window while holding the |
it works on arch linux thank you |
In Gnome you can set them whatever you want on: These are the defaults: Restore window - |
Thanks , this seems to work for me :) |
You can try this for MacOS - in brief, |
Closing as one can now drag OS windows on both macOS and Linux using OS provided facilities so no need to implement this in kitty itself. |
Did you manage to get it to work on macos? |
it doesn't work for me |
As far as I can tell this hasn't been covered elsewhere. I've disabled the titlebar using
hide_window_decorations titlebar-only
in my kitty.conf file, but now I can't move the os_window using my mouse. I do something very similar in atom, but I use a package called no-title-bar to enable 'liberal window dragging' which means I can drag the window from any empty space, like in the below image.Is something like this possible in kitty, making use of
window_margin
orwindow_padding
maybe?The text was updated successfully, but these errors were encountered: