summaryrefslogtreecommitdiff
path: root/protocol
AgeCommit message (Collapse)AuthorFilesLines
2011-11-17Add display event to acknowledge ID deletionKristian Høgsberg1-0/+4
We need to make sure the client doesn't reuse an object ID until the server has seen the destroy request. When a client destroys an ID the server will now respond with the display.delete_id event, which lets the client block reuse until it receives the event.
2011-10-24protocol: Change global_remove arg to be 'name' insteadl of 'id'Kristian Høgsberg1-1/+1
Consistent with global args.
2011-10-24scanner: Catch more invalid attribute combinations for argKristian Høgsberg1-1/+1
Spotted by Jakob Bornecrantz.
2011-08-31Remove the wl_visual interfaceKristian Høgsberg1-20/+13
The visual interface was meant to be a generic mechanism for specifying the content of a buffer. It goes back to before we had the buffer factory interfaces (like wl_drm and wl_shm) and we wanted to keep it open-ended enough that yuv, png or even svg buffer or so would be possible. Now that we have the buffer abstraction, we can add different buffer types by introducing new interfaces that create buffers. It only makes sense to leave it to those interfaces to specify the contents of the buffers. For wl_shm, this means that we now just specify the pixel format using an enum. For EGL buffers, the exact pixel formats are controlled by the implementation (part of wl_drm and similar), and from the client point of view, everything is controlled using EGLConfigs.
2011-08-27Remove range protocolKristian Høgsberg1-8/+0
2011-08-27Always allocate a new wl_resource when binding an objectKristian Høgsberg1-3/+3
Previously we would bind some resources into multiple client hash tables.
2011-08-27Bind globals to client provided object IDsKristian Høgsberg1-1/+2
2011-08-27Use a callback object instead of ad-hoc lists for sync and frame eventsKristian Høgsberg1-18/+13
So obvious in retrospect. The object system can do all the work for us and keep track of pending calls as regular objects and we don't need to abuse the resource system to get them cleaned up on client exit. We don't need the custom key management or (broken) lookup, we just sue object IDs. And last but not least, anybody can receive the callback, not just display listeners.
2011-07-26protocol: Delete screenshooter.xmlTiago Vignatti1-7/+0
The protocol interface is on compositor's side now. Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
2011-07-25scanner: Take copyright notice from xml fileKristian Høgsberg1-0/+26
2011-07-15protocol: fix key event and related commentsTiago Vignatti1-3/+3
2011-07-15protocol: Fix type of visual arg in token_visual eventKristian Høgsberg1-1/+1
2011-07-11protocol: Make id arg of display.global event be just a uintKristian Høgsberg1-1/+1
Global names are different from object IDs.
2011-06-29Add touch events to protocol.Laszlo Agocs1-0/+27
2011-06-21Merge remote-tracking branch 'bnf/buffer.release'Kristian Høgsberg1-0/+3
2011-06-21Add buffer.release eventBenjamin Franzke1-0/+3
2011-06-21Add more protocol for communicating screen geometryKristian Høgsberg1-1/+26
2011-06-20Add wl_display_remove_global.Laszlo Agocs1-0/+5
Change 4453ba084aae5a00318b9dfdeda95e8eaa17494c disallows using post_global with objects not on the global list. Therefore selection and drag offers have to be added to the global list from now on. However these may often get replaced by a newer object and thus need a way to remove a global from the global list.
2011-06-18Move map functionality into shellKristian Høgsberg1-28/+33
Initial surface.attach makes the surface visible and clients can set the surface type using shell.set_transient etc or other interfaces prior to that.
2011-05-12Add event to associate visuals with a pixel format tokenKristian Høgsberg1-0/+11
2011-05-11Define shm specific errorsKristian Høgsberg1-0/+6
We stop abusing the wl_display error codes for shm purposes.
2011-05-11Unify error eventsKristian Høgsberg1-14/+10
Consolidate the different error events into one. This event will also be usable for other interaces.
2011-04-22Add buffer.damage request to the protocolBenjamin Franzke1-8/+18
Thus remove the server-side used vfunc buffer::damage.
2011-04-20scanner: Don't hardcode the wl_ prefix in the code generatorKristian Høgsberg1-35/+35
2011-04-18Introduce display.bind to request events from a globalKristian Høgsberg1-0/+6
2011-03-16Extent frame event to be surface dependentBenjamin Franzke1-0/+1
2011-02-28protocol/wayland: Drop drm interface (move into mesa)Benjamin Franzke1-36/+0
2011-01-28Add initial basic support for fullscreen surfacesKristian Høgsberg1-0/+10
2011-01-21Define the shell resize enumeration in the xml specKristian Høgsberg1-0/+12
2011-01-21Add new surface.map_transient() request to map a surface relative to anotherKristian Høgsberg1-0/+15
2011-01-19First attempt at selection supportKristian Høgsberg1-0/+51
2010-12-17Update surface.attach and change surface.map to surface.map_toplevelKristian Høgsberg1-12/+7
The new map_toplevel() request no longer specifies a position and takes the size from the attached buffer. The attach request now takes a position relative to the top-left corner of the old buffer to let clients specify the relative position of the new buffer.
2010-12-09Document the shell.configure event a bitKristian Høgsberg1-0/+6
2010-12-01Add origin information to output.geometry eventKristian Høgsberg1-0/+2
2010-11-30Add reject round trip to dnd protocolKristian Høgsberg1-0/+5
This lets a drag target reject a drop.
2010-11-29Consolidate 'sync' and 'frame' events into just one 'key' eventKristian Høgsberg1-13/+6
2010-11-29Describe the protocol using inline XML commentsYuval Fledel1-4/+120
Signed-off-by: Yuval Fledel <yuvalfl@gmail.com>
2010-11-22xml tag should close, or some parsers failYuval Fledel1-1/+1
2010-10-12Use automakeKristian Høgsberg2-0/+285