- 15 Jun, 2012 3 commits
-
-
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 7 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>
-
Daniel Stone authored
This event sends the current keyboard modifier/group state from the compositor to the client, allowing all clients to have a consistent view of the keyboard state (e.g. current layout, Caps Lock, et al). It should be sent after a keyboard enter event, and also immediately after any key event which changes the modifier state. Signed-off-by:
Daniel Stone <daniel@fooishbar.org>
-
Daniel Stone authored
If wl_pointer_set_focus or wl_keyboard_set_focus have been called before a listener has been established for that seat and client combination, the focus window will be set but the focus resource will be NULL. This changes these functions to always attempt to search for the relevant focus resource, allowing the resource to be set by calling wl_keyboard_set_focus and wl_pointer_set_focus again when a listener has been established. Signed-off-by:
Daniel Stone <daniel@fooishbar.org>
-
Daniel Stone authored
Make sure we find the right include paths. krh: Edited to use $(top_builddir) Signed-off-by:
Daniel Stone <daniel@fooishbar.org>
-
Martin Minarik authored
-
Martin Minarik authored
The core libwayland libraries should not handle logging, only passing the error messages to subscribed functions. An application linked to libwayland-server or libwayland-client will be able to set own functions (one per library) to handle error messages. Change in this series: make the wl_log return int, because of compatibility with printf. It will return the number of bytes logged.
-
- 29 May, 2012 4 commits
-
-
Pekka Paalanen authored
Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Pekka Paalanen authored
Required for building apps against wayland libraries that have not been installed. Signed-off-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Rob Bradford authored
LDADD is only used when linking programs not libraries. Spotted-by:
Pekka Paalanen <ppaalanen@gmail.com>
-
Ander Conselvan de Oliveira authored
Properly handle a drag with no data source, i.e., don't crash and send events only to the client that initiated the drag. This way a client can do self drag and drop without offering anything to other clients.
-
- 26 May, 2012 3 commits
-
-
Ander Conselvan de Oliveira authored
The commit that split wl_input_device into wl_seat and friends changed erroneously the drag icon destroy listener, causing it to operate into an invalid pointer to a wl_seat.
-
Ander Conselvan de Oliveira authored
-
Ander Conselvan de Oliveira authored
Defining a list of all cursors a theme, client or toolkit should have is not the purpose of libwayland-cursor. The cursor type enum existed for making lookups faster, but this kind of optmization belongs in the toolkits.
-
- 23 May, 2012 4 commits
-
-
Ander Conselvan de Oliveira authored
-
Yan Wang authored
Add extern "C" macro definition for C++.
-
Diego Viola authored
-
Kristian Høgsberg authored
-
- 22 May, 2012 4 commits
-
-
Rob Bradford authored
This avoids a valgrind error like: ==31496== Conditional jump or move depends on uninitialised value(s) ==31496== at 0x407620: weston_buffer_post_release (compositor.c:928) ==31496== by 0x406AEB: weston_surface_attach (compositor.c:725) ==31496== by 0x409EB8: pointer_attach (compositor.c:2009) ==31496== by 0x34ECE05D63: ffi_call_unix64 (unix64.S:75) ==31496== by 0x34ECE05784: ffi_call (ffi64.c:486) ==31496== by 0x5674C4D: wl_closure_invoke (connection.c:770) ==31496== by 0x566ECCB: wl_client_connection_data (wayland-server.c:255) ==31496== by 0x56722F9: wl_event_source_fd_dispatch (event-loop.c:79) ==31496== by 0x5672C99: wl_event_loop_dispatch (event-loop.c:410) ==31496== by 0x56705FF: wl_display_run (wayland-server.c:1004) ==31496== by 0x40C775: main (compositor.c:2937) ==31496== Uninitialised value was created by a heap allocation ==31496== at 0x4A074CD: malloc (vg_replace_malloc.c:236) ==31496== by 0x5670EA7: shm_pool_create_buffer (wayland-shm.c:113) ==31496== by 0x34ECE05D63: ffi_call_unix64 (unix64.S:75) ==31496== by 0x34ECE05784: ffi_call (ffi64.c:486) ==31496== by 0x5674C4D: wl_closure_invoke (connection.c:770) ==31496== by 0x566ECCB: wl_client_connection_data (wayland-server.c:255) ==31496== by 0x56722F9: wl_event_source_fd_dispatch (event-loop.c:79) ==31496== by 0x5672C99: wl_event_loop_dispatch (event-loop.c:410) ==31496== by 0x56705FF: wl_display_run (wayland-server.c:1004) ==31496== by 0x40C775: main (compositor.c:2937)
-
Rob Bradford authored
This ends up propagating through and creating a valgrind error like: ==22573== Conditional jump or move depends on uninitialised value(s) ==22573== at 0x409E57: pointer_attach (compositor.c:1999) ==22573== by 0x34ECE05D63: ffi_call_unix64 (unix64.S:75) ==22573== by 0x34ECE05784: ffi_call (ffi64.c:486) ==22573== by 0x5674C45: wl_closure_invoke (connection.c:770) ==22573== by 0x566ECCB: wl_client_connection_data (wayland-server.c:255) ==22573== by 0x56722F1: wl_event_source_fd_dispatch (event-loop.c:79) ==22573== by 0x5672C91: wl_event_loop_dispatch (event-loop.c:410) ==22573== by 0x56705F4: wl_display_run (wayland-server.c:1003) ==22573== by 0x40C775: main (compositor.c:2937)
-
Ander Conselvan de Oliveira authored
The purpose of this library is to be the equivalent of libXcursor in the X world. This library is compatible with X cursor themes and loads them directly into an shm pool making it easy for the clients to get buffer for each cursor image. The code for handling the X cursor theme was taken from libXcursor. The files cursor/xcursor.[ch] are a stripped down version of that library containing only the interfaces necessary for implementing the wayland counterpart.
-
Ander Conselvan de Oliveira authored
-