xpra icon
Bug tracker and wiki

Changes between Version 15 and Version 16 of NetworkProtocol


Ignore:
Timestamp:
03/28/14 13:59:23 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetworkProtocol

    v15 v16  
    1414
    1515
     16----
     17
    1618* General packets that flow in both directions:
    1719||= Packet Type =||= Arguments =||= Purpose =||= Actions Required =||
     
    2224||{{{connection-lost}}}||none||sent by the network layer when the network connection has dropped||free any resources||
    2325||{{{gibberish}}}||none||sent by the network layer when the network received unparseable data, data decompression failed or decryption failed||disconnect the connection and free any resources||
     26
     27[[BR]]
     28----
     29[[BR]]
    2430
    2531* Packets sent by the server
     
    4551||{{{control}}}||control command and arguments||the server is requesting a configuration change||the client ''may'' honour it||{{{control_commands}}} (list)||
    4652
     53[[BR]]
     54----
     55[[BR]]
     56
    4757* Packets sent by the client
    4858||= Packet Type =||= Arguments =||= Purpose =||= Actions Required =||= Server Capability Required =||
     
    5262||{{{set-notify}}}||new state||enable or disable sending of notifications||the server ''should'' honour the request||{{{toggle_cursors_bell_notify}}}||
    5363||{{{set-bell}}}||new state||enable or disable sending of bell events||the server ''should'' honour the request||{{{toggle_cursors_bell_notify}}}||
     64||{{{map-window}}}||window ID, position and properties||tells the server where the window has been mapped on the client||the server ''must'' ensure its window is at the same location||none||
     65||{{{unmap-window}}}||window ID||the window is no longer shown||the server ''should'' do the same and ''park'' the window||none||
     66||{{{configure-window}}}||window ID, position, size and properties||the client has modified the window in some way||the server ''must'' ensure its window matches||none||
     67||{{{close-window}}}||window ID||the client has requested that the window be closed||the server ''should'' ask the application to close the window, it ''may'' force it to do so||none||
     68||{{{focus}}}||window ID and keyboard state||the client has focused a different window, or none at all||the server should ensure its focus state matches||none||
     69||{{{button-action}}}||window ID, button, pressed or unpressed, position and keyboard modifiers state||the client has clicked on a window (or used the mouse wheel)||the server ''should'' try to simulate pressing or unpressing the same button||none||
     70||{{{pointer-position}}}||window ID, position and keyboard modifiers state||the user is moving its mouse over a window||the server ''should'' try to move its mouse to the same position||none||
     71||{{{key-action}}}||key definition (keycode, key name, pressed or unpressed, etc)||the user has pressed a key||the server ''should'' try to simulate pressing the same key||none||
     72||{{{key-repeat}}}||key definition (as above)||the key is still pressed||the server ''may'' use this information to continue pressing the same key, cancelling any timeouts it may have - this is only relevant when the keyboard state is ''synchronized''||none||
     73||{{{layout-changed}}}||layout and variant||the client keyboard configuration has changed||the server ''should'' try to update its keyboard configuration to match||none||
     74||{{{keymap-changed}}}||a dictionary of keyboard definitions||the client keyboard configuration has changed||the server ''should'' try to update its keyboard configuration to match||none||
     75