summaryrefslogtreecommitdiff
path: root/wayland-client.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-14Move core protocol libraries into wayland/ subdirectoryKristian Høgsberg1-533/+0
2010-09-07Return the closure from wl_connection_vmarshal()Kristian Høgsberg1-3/+7
And provide a function to write it to a connection.
2010-09-03Replace commit/ack/frame protocol with simpler sync and frame callbacksKristian Høgsberg1-1/+98
2010-09-02Use a transient object for the dnd sessionKristian Høgsberg1-0/+12
2010-09-01Fix const warningKristian Høgsberg1-1/+1
2010-08-30Return a closure object from wl_connection_demarshalKristian Høgsberg1-11/+17
This way we can invoke it multiple times without having to demarshal and build the cfi every time.
2010-08-18First step towards drag and drop protocolKristian Høgsberg1-6/+2
2010-08-17Always consume message, even if no proxy was foundKristian Høgsberg1-11/+9
Doh.
2010-08-13Drop noisy warningKristian Høgsberg1-18/+12
2010-08-10Don't track globals in the client lib, just send out eventsKristian Høgsberg1-123/+26
Users of the client library must install an global handler to get access to globals.
2010-08-10Generate the wl_*_add_listener() stubs as wellKristian Høgsberg1-66/+1
2010-08-09Generate client side marshal stubs from protocol specKristian Høgsberg1-107/+18
2010-08-09Introduce 'buffer' object for attaching, image cahce and cursor imagesKristian Høgsberg1-5/+56
The buffer object is created by a 'drm' object, which encapsulates the buffer sharing and authentication mechanism. Once the buffer is created it can be attached to a surface.
2010-08-06Send out coordinates with pointer_focus eventKristian Høgsberg1-2/+0
We can't rely on motion events happening right away, pointer_focus could change because of windows coming or going etc.
2010-08-05Handle failure to reference a buffer name betterKristian Høgsberg1-0/+3
2010-08-04Introduce 'shell' object for moving and resizing surfaces in the compositorKristian Høgsberg1-0/+34
2010-08-03Generate protocol types and metadata from xmlKristian Høgsberg1-14/+1
2010-06-08Drop surface::copyKristian Høgsberg1-9/+0
2010-02-26Import Eric Anholts hash table implementationKristian Høgsberg1-6/+9
Adapted from git://people.freedesktop.org/~anholt/hash_table.
2010-02-26Add wl_list_for_each() and simplify some loopsKristian Høgsberg1-27/+4
2009-09-18Implement user_data for surfaceKristian Høgsberg1-0/+13
Not sure if we need more than one piece of user_data per surface. And this should be a general feature of any proxy object.
2009-02-22Add new surfaces to client hash table.Kristian Høgsberg1-0/+1
2009-01-26Add a toy-display object that caches state.Kristian Høgsberg1-3/+0
This will be GdkDisplay for GTK+ on Wayland etc. This restores the terminal fullscreen mode.
2008-12-30Add listener interfaces for output and input_device objects.Kristian Høgsberg1-137/+231
2008-12-24Add client side demarshalling for events.Kristian Høgsberg1-147/+129
This also consolidates the marshalling code in connection.c and uses the same functions in the server and client for marshalling.
2008-12-22Track objects client side using a hash too.Kristian Høgsberg1-24/+51
This leads up to using the demarshal machinery for decoding events in the client library.
2008-12-22Add a proxy for the server side output object.Kristian Høgsberg1-13/+31
2008-12-21Add hook to allow globals to send cold-plug events to new clients.Kristian Høgsberg1-0/+27
This lets us boot strap the client side state cache. This commit also adds the first user of this feature, an output object that represents the current output. Very simple at this point, but will grow to something more like RandR 1.2.
2008-12-21Also check for interface version wl_display_get_object_id().Kristian Høgsberg1-4/+6
2008-12-21Send client id range as an event.Kristian Høgsberg1-25/+49
This also makes the server send the event again when the client is about to exhaust its current client range.
2008-12-21Move protocol metadata to wayland-protocol.[ch].Kristian Høgsberg1-86/+73
This lets us share the metadata between server and client and we can now use a va_arg marshalling function for sending client requets.
2008-12-21Advertise globals using a new display event.Kristian Høgsberg1-26/+39
2008-12-19Remove visual debug prints.Kristian Høgsberg1-4/+0
2008-12-18Add preliminary visual support.Kristian Høgsberg1-2/+55
2008-12-15Redesign the compositor / server interface.Kristian Høgsberg1-12/+35
This lets the compositor directly provide the implementation of the RMI objects for the surface object and a new compositor object. We avoid the manual forwarding of requests into the compositor and the clumsy compositor interface struct.
2008-12-07Fix API to always include socket name length.Kristian Høgsberg1-6/+6
2008-12-02Put Wayland under the MIT license.Kristian Høgsberg1-0/+22
2008-11-25Add commit request + ack event to wayland core.Kristian Høgsberg1-6/+20
Use in window.c to manage life cycle of buffer correctly.
2008-11-24Expose screenshooting as an interface, drop SIGUSR hack.Kristian Høgsberg1-8/+61
This pulls in a bit of extra infrastructure for discovering adertised objects on the client side.
2008-11-08Add prototypes warnings, use -fvisibility.Kristian Høgsberg1-16/+21
2008-11-07Add glib main loop integration, use it in flower client.Kristian Høgsberg1-4/+28
2008-11-07Add copy and damage surface requests.Kristian Høgsberg1-3/+42
2008-11-06Add a new client that draws a pointer.Kristian Høgsberg1-6/+20
2008-11-06Add crude input device support.Kristian Høgsberg1-9/+8
Just pointer motion and button clicks for now, broadcast to all clients.
2008-11-06Drop unused struct definition.Kristian Høgsberg1-5/+0
2008-11-06Handle multiple clients better.Kristian Høgsberg1-1/+4
2008-11-06Use new connection object in client code too.Kristian Høgsberg1-95/+53
2008-11-06Add surface.map request.Kristian Høgsberg1-1/+37
2008-10-07Bunch of new stuff: simple compositor, cairo+gem use in client, events.Kristian Høgsberg1-0/+214