-
Notifications
You must be signed in to change notification settings - Fork 78
Input: implement dragging widgets with the titlebar #224
Comments
|
@Tarnyko Reg (TYPE_WINDOW_FRAMELESS), WaylandWIndow should have this information and one should be able to query this from it. We need a proper integration of drag and drop support, but I see this as the initial step towards it. Check DesktopDragDropClientWayland in ui/desktop_aura |
indeed. Although basic window move seems fairly easy to get it working, seems that the corner cases of having it are quite complex. I'd suggest you to study the X11 code as well, looking for things like aura::client::WindowMoveClient: and the way that X11 implements it on views::X11DesktopWindowMoveClient: |
@kalyankondapally Thanks ! This parameter seems to be sent to the Aura Window, without any function to get it back. I have the impression I need to write helper functions from Chromium down to Ozone to get it. Will work on this. @tiagovignatti Thanks, will look at this. |
@Tarnyko not sure if I understand your comment correctly. check InitWaylandWindow in ui/desktop_aura/desktop_window_tree_host_wayland.cc, case Widget::InitParams::TYPE_WINDOW_FRAMELESS is not implemented. I see that as the only missing link here. |
@Tarnyko Please check the instructions here https://github.com/01org/ozone-wayland/wiki/Collaborating-and-Submitting-Changes |
@Tarnyko Are you looking into this still ? |
This patch build on Release branch (Milestone Valentine) and allows moving windows by dragging their titlebars.
Here, we arbitrarily consider an upper 20px surface ; but what is the window is frameless (TYPE_WINDOW_FRAMELESS) ? What's the correct way to request an Aura window type ?
The text was updated successfully, but these errors were encountered: