Kristian Høgsberg
b3131d9268
Add client side demarshalling for events.
...
This also consolidates the marshalling code in connection.c and
uses the same functions in the server and client for marshalling.
16 years ago
Kristian Høgsberg
fabd4395ba
Track objects client side using a hash too.
...
This leads up to using the demarshal machinery for decoding events
in the client library.
16 years ago
Kristian Høgsberg
12ea62e211
Add a proxy for the server side output object.
16 years ago
Kristian Høgsberg
ee02ca6fa4
Add hook to allow globals to send cold-plug events to new clients.
...
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.
16 years ago
Kristian Høgsberg
8049cbb88a
Also check for interface version wl_display_get_object_id().
16 years ago
Kristian Høgsberg
97079ad52c
Send client id range as an event.
...
This also makes the server send the event again when the client is
about to exhaust its current client range.
16 years ago
Kristian Høgsberg
fe831a7494
Move protocol metadata to wayland-protocol.[ch].
...
This lets us share the metadata between server and client and we
can now use a va_arg marshalling function for sending client
requets.
16 years ago
Kristian Høgsberg
bf967b469f
Advertise globals using a new display event.
16 years ago
Kristian Høgsberg
112c0bee18
Remove visual debug prints.
16 years ago
Kristian Høgsberg
de31d5ca6f
Add preliminary visual support.
16 years ago
Kristian Høgsberg
d2412e2c2e
Redesign the compositor / server interface.
...
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.
16 years ago
Kristian Høgsberg
dc0f355f0a
Fix API to always include socket name length.
16 years ago
Kristian Høgsberg
ffd710e653
Put Wayland under the MIT license.
16 years ago
Kristian Høgsberg
4097923a64
Add commit request + ack event to wayland core.
...
Use in window.c to manage life cycle of buffer correctly.
16 years ago
Kristian Høgsberg
1e4b86af1a
Expose screenshooting as an interface, drop SIGUSR hack.
...
This pulls in a bit of extra infrastructure for discovering adertised objects on the
client side.
16 years ago
Kristian Høgsberg
b7a01928be
Add prototypes warnings, use -fvisibility.
16 years ago
Kristian Høgsberg
fb59084fbf
Add glib main loop integration, use it in flower client.
16 years ago
Kristian Høgsberg
7f77bd8fbe
Add copy and damage surface requests.
16 years ago
Kristian Høgsberg
5a27f3e6a7
Add a new client that draws a pointer.
16 years ago
Kristian Høgsberg
f9bc795a7d
Add crude input device support.
...
Just pointer motion and button clicks for now, broadcast to all clients.
16 years ago
Kristian Høgsberg
362a34ed89
Drop unused struct definition.
16 years ago
Kristian Høgsberg
f921289954
Handle multiple clients better.
16 years ago
Kristian Høgsberg
427524aedf
Use new connection object in client code too.
16 years ago
Kristian Høgsberg
05eff51e41
Add surface.map request.
16 years ago
Kristian Høgsberg
a67a71a7cf
Bunch of new stuff: simple compositor, cairo+gem use in client, events.
16 years ago