xpra icon
Bug tracker and wiki

Changes between Initial Version and Version 5 of Ticket #772


Ignore:
Timestamp:
05/28/15 17:06:49 (5 years ago)
Author:
Antoine Martin
Comment:

Most of the code required should be in the patch above, and can be tested on posix by setting XPRA_EMULATE_MOVERESIZE=1 (which defaults to "1" on platforms without the X11 bindings).

Still TODO:

  • probably a good idea to grab the keyboard and cancel if ESC is pressed
  • need to capture the mouse motion events even when it is not hovering over the window (I thought that's what the win32api.SetCapture would do..)
  • need to keep track of the button state when we start, so we can cancel when it changes
  • need to catch focus-out events and cancel the moveresize state
  • need to catch window state changes and cancel (ie: maximize, minimize, etc)
  • our resize code triggers new motion events, which makes it go into a loop
  • honour width_inc, base_width, etc..

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #772

    • Property Owner changed from Antoine Martin to Antoine Martin
    • Property Status changed from new to assigned
    • Property Cc johnss1221@… added
  • Ticket #772 – Description

    initial v5  
    11Split from #765.
    22
    3 Chrome now runs borderless, but it expects the desktop environment to handle its "initiate move or resize" requests... Which we do on X11 by just forwarding the original X11 message.
     3Chrome now runs borderless, but it expects the desktop environment to handle its "initiate move or resize" requests... Which we do on X11 by just forwarding the original [http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472659776 _NET_WM_MOVERESIZE] X11 message.
    44
    55On MS Windows, looks like we will need [http://msdn.microsoft.com/en-us/library/windows/desktop/ms646262(v=vs.85).aspx SetCapture] and the [http://msdn.microsoft.com/en-us/library/windows/desktop/ms645605(v=vs.85).aspx WM_CAPTURECHANGED] event. We can then resize our window until the button is released, emulating what the window manager is expected to do for us.