Kristian Høgsberg
b036ad4a9a
Drop noisy warning
14 years ago
Kristian Høgsberg
4fe1a3ed3a
Don't track globals in the client lib, just send out events
...
Users of the client library must install an global handler to get access
to globals.
15 years ago
Kristian Høgsberg
ccb75867ac
Generate the wl_*_add_listener() stubs as well
15 years ago
Kristian Høgsberg
3862e43779
Generate client side marshal stubs from protocol spec
15 years ago
Kristian Høgsberg
5fcd0aa58e
Introduce 'buffer' object for attaching, image cahce and cursor images
...
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.
15 years ago
Kristian Høgsberg
6d70202f80
Send out coordinates with pointer_focus event
...
We can't rely on motion events happening right away, pointer_focus could
change because of windows coming or going etc.
15 years ago
Kristian Høgsberg
c071f4d008
Handle failure to reference a buffer name better
15 years ago
Kristian Høgsberg
83fc061c9c
Introduce 'shell' object for moving and resizing surfaces in the compositor
15 years ago
Kristian Høgsberg
a1f3f60bea
Generate protocol types and metadata from xml
15 years ago
Kristian Høgsberg
38bb716383
Drop surface::copy
15 years ago
Kristian Høgsberg
f52e03ff47
Import Eric Anholts hash table implementation
...
Adapted from git://people.freedesktop.org/~anholt/hash_table.
15 years ago
Kristian Høgsberg
a5db589efa
Add wl_list_for_each() and simplify some loops
15 years ago
Kristian Høgsberg
ecf65fe041
Implement user_data for surface
...
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.
15 years ago
Kristian Høgsberg
2c837483ec
Add new surfaces to client hash table.
16 years ago
Kristian Høgsberg
43c28eee32
Add a toy-display object that caches state.
...
This will be GdkDisplay for GTK+ on Wayland etc. This restores
the terminal fullscreen mode.
16 years ago
Kristian Høgsberg
94448c0ad7
Add listener interfaces for output and input_device objects.
16 years ago
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