phillbush / shod

mouse-based window manager that can tile windows inside floating containers
MIT License
175 stars 5 forks source link

increase tiling reparent window drop area #22

Closed aspizu closed 2 years ago

aspizu commented 2 years ago

it is hard to drag-drop the window to tile it and also show a highlight where the window would appear

phillbush commented 2 years ago

With 19fd905 the mouse cursor now changes depending on where you are drag-dropping a window to (dragging it into a vertical division of a container turns the cursor into a horizontal arrow, for example).
So, if the cursor changes (indicating that tiling will occur) you can release the mouse button and drop the window.

aspizu commented 2 years ago

the titlebar becomes a square, is this intentional?

phillbush commented 2 years ago

Yeah, titlebars can be very large and they hide the drop area behind it.
Then I decided to replace it with an icon indicating that the drag-and-drop is in action.