- 30 Jun, 2012 9 commits
-
-
Dylan Noblesmith authored
It was failing with missing include files. While here, destroy the ugly "../src/..." include paths used in the tests that was just hacking around this problem in the Makefile: sed -i s/..\\/src\\/// tests/*.c
-
Dylan Noblesmith authored
-
Dylan Noblesmith authored
Attempting to write anything longer into the embedded char array would create a non-null-terminated string, and all later reads would run off the end into invalid memory. This is a hard limitation of AF_LOCAL/AF_UNIX sockets.
-
Dylan Noblesmith authored
Attempting to write anything longer into the embedded char array would create a non-null-terminated string, and all later reads would run off the end into invalid memory. This is a hard limitation of AF_LOCAL/AF_UNIX sockets.
-
Dylan Noblesmith authored
-
Dylan Noblesmith authored
Always unlink() the lock file before closing the file descriptor for it. Otherwise, there is a race like this: Process A closes fd, releasing the lock Process B opens the same file, taking the lock Process A unlinks the lock file Process C opens the same file, which now no longer exists, and takes the lock on the newly created lock file Process B and C both 'own' the same display socket. unlink()ing while holding the lock is effectively a better way to release the lock atomically.
-
Dylan Noblesmith authored
And restructure get_socket_lock() so it's clearer that it's allocating a new file descriptor. Uncovered by an upcoming test.
-
Dylan Noblesmith authored
It isn't thread-safe. Use the %m conversion specifier instead, like the rest of the code already does.
-
Dylan Noblesmith authored
Make it clear what the significance of '5' and '113' actually is. Also drop an unneeded function argument.
-
- 29 Jun, 2012 1 commit
-
-
Kristian Høgsberg authored
When the server send a new object ID, the client used to have to allocate the proxy manually and without type-safety. We now allocate the proxy in a client-side post-processing step on the incoming closure.
-
- 28 Jun, 2012 1 commit
-
-
Ander Conselvan de Oliveira authored
Change the description of pointer.set_cursor() so that a client without pointer focus but that currently owns the pointer surface can update the hotspot using it.
-
- 27 Jun, 2012 1 commit
-
-
Kristian Høgsberg authored
The set_transient and set_popup requests take a wl_shell_surface as the parent surface argument. We don't need the parent surface to be a shell surface and this restricts the types of surfaces we can use the transient and popup surface types on.
-
- 25 Jun, 2012 1 commit
-
-
Kristian Høgsberg authored
-
- 22 Jun, 2012 3 commits
-
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Daniel Stone authored
Provide a slot for keyboard modifier state inside wl_keyboard for implementations to update, and use this to send wl_keyboard:;modifier events whenever the keyboard or pointer focus changes. Signed-off-by:
Daniel Stone <daniel@fooishbar.org>
-
- 19 Jun, 2012 1 commit
-
-
Ander Conselvan de Oliveira authored
-
- 18 Jun, 2012 2 commits
-
-
Daniel Stone authored
XFS doesn't return the file type with opendir(), and instead only returns it when you stat() the file itself. c66f2602 introduced a check to ensure that only files and symlinks were loaded, while not checking for DT_UNKNOWN. Properly handle DT_UNKNOWN by just proceeding anyway. Signed-off-by:
Daniel Stone <daniel@fooishbar.org>
-
Kristian Høgsberg authored
If the data source is destroyed, the corresponding offers may stay around for a little longer (until the owning client destroys it). When the offer is finally destroyed, we have to be careful to only remove the source destroy listener if the source hasn't yet been destroyed. Thanks to Martin Minarik for tracking down where the corruption happened.
-
- 15 Jun, 2012 4 commits
-
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Ander Conselvan de Oliveira authored
Given a pointer to struct wl_cursor and an elapsed time in ms., wl_cursor_frame() will return the index of the cursor image the should be displayed.
-
Ander Conselvan de Oliveira authored
-
- 13 Jun, 2012 5 commits
-
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
This lets us allocate the closure just big enough and is a first step towards a message queue.
-
Jonas Ådahl authored
Signed-off-by:
Jonas Ådahl <jadahl@gmail.com>
-
Jonas Ådahl authored
Signed-off-by:
Jonas Ådahl <jadahl@gmail.com>
-
- 08 Jun, 2012 1 commit
-
-
Ander Conselvan de Oliveira authored
Some distros (e.g. gentoo) install cursor themes in non-standard directories. Add option --with-icondir to configure.sh that sets the directory in which to look for cursors.
-
- 06 Jun, 2012 2 commits
-
-
Pekka Paalanen authored
An arbitrary fallback to the current directory is only confusing. Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Pekka Paalanen authored
An arbitrary fallback to the current directory is only confusing. Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
- 05 Jun, 2012 1 commit
-
-
Kristian Høgsberg authored
-
- 04 Jun, 2012 1 commit
-
-
Kristian Høgsberg authored
We have a reasonable prototype in weston now and we're going to conclude that the persistent selection functionality is either going to be part of the compositor (as for weston) or use a custom protocol.
-
- 03 Jun, 2012 1 commit
-
-
Kristian Høgsberg authored
The wl_data_source object used to specify the implementation for data offers created for it. This means you need a data offer to retrieve the data from the source, which makes it awkward to use in-process in a compositor. Now we instead have three virtual functions that can be connected to a protocol object or in-process data-sources such as an X server proxy or clipboard.
-
- 01 Jun, 2012 4 commits
-
-
Daniel Stone authored
With this event, the compositor generates one canonical keymap for all clients, and then sends an mmap()able fd over the wire, rather than all the clients generating possibly disparate keymaps. Signed-off-by:
Daniel Stone <daniel@fooishbar.org>
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
If the current keyboard focus client doesn't have a resource for the data_device, don't send out the selection event.
-
- 31 May, 2012 2 commits
-
-
Daniel Stone authored
Which allows for smooth scrolling, among other things. Signed-off-by:
Daniel Stone <daniel@fooishbar.org>
-
Daniel Stone authored
Rather than hardcoding 0 and 1 everywhere. Signed-off-by:
Daniel Stone <daniel@fooishbar.org>
-