1. 19 Jan, 2012 2 commits
  2. 18 Jan, 2012 1 commit
    • Jesse Barnes's avatar
      scanner: Support documentation elements · 5cd04713
      Jesse Barnes authored
      On Wed, 18 Jan 2012 12:29:37 -0800
      "Kristensen, Kristian H" <kristian.h.kristensen@intel.com> wrote:
      > Yeah, that looks good.  I was thinking of a separate <description> tag
      > to avoid stuffing too much into an attribute.
      How does this look?  It adds a summary attribute to atomic elements,
      and a <description> tag with a summary for others.  Spits out enum
      documentation like this:
       * wl_display_error - global error values
       * @WL_DISPLAY_ERROR_INVALID_OBJECT: server couldn't find object
       * @WL_DISPLAY_ERROR_INVALID_METHOD: method doesn't exist on the specified interface
       * @WL_DISPLAY_ERROR_NO_MEMORY: server is out of memory
       * These errors are global and can be emitted in response to any server request.
      enum wl_display_error {
      and structure documentation like this:
       * wl_display - core global object
       * @bind: bind an object to the display
       * @sync: (none)
       * The core global object. This is a special singleton object. It is used for
       * internal wayland protocol features.
      struct wl_display_interface {
      	void (*bind)(struct wl_client *client,
      		     struct wl_resource *resource,
      		     uint32_t name,
      		     const char *interface,
      		     uint32_t version,
      		     uint32_t id);
      	void (*sync)(struct wl_client *client,
      		     struct wl_resource *resource,
      		     uint32_t callback);
  3. 13 Jan, 2012 1 commit
  4. 12 Jan, 2012 1 commit
    • Neil Roberts's avatar
      server: In default grab, update focus resource after sending release · e0b6af03
      Neil Roberts authored
      The default grab implementation in wayland-server was updating the
      focus resource before sending the button event. This would cause the
      button release to be dropped from the implicit grab if the pointer is
      moved away from the focus surface. This patch just swaps the order
  5. 11 Jan, 2012 1 commit
  6. 06 Jan, 2012 4 commits
    • Kristian Høgsberg's avatar
      Add new wl_shell popup surface type · b2e619c7
      Kristian Høgsberg authored
    • Kristian Høgsberg's avatar
    • Kristian Høgsberg's avatar
    • Kristian Høgsberg's avatar
      New grab API · 5ffe9f47
      Kristian Høgsberg authored
      This commit changes the way struct wl_grab works in a couple of ways:
       - The grab itself now decides when it ends instead of hardcoding button
         up as the terminating event.  We remove the end vfunc since a grab now
         always know when it ends and can just clean up at that point.
       - We add a new focus vfunc that is invoked every time the pointer enters
         a new surface, regardless of any grabs.  The callback receives the
         surface and the surface-relative pointer coordinates.  The callback lets
         a grab send enter/leave events and change the grab focus.
       - The grab has a focus surface, wich determines the coordinate space
         for the motion callback coordinates.
       - The input device always tracks the current surface, ie the surface that
         currently contains the pointer, and coordinates relative to that surface.
      With these changes, we will be able to pull the core input event delivery
      and the drag and drop grab into the core wayland-server library.
  7. 04 Jan, 2012 1 commit
  8. 03 Jan, 2012 2 commits
  9. 29 Dec, 2011 1 commit
  10. 27 Dec, 2011 1 commit
  11. 22 Dec, 2011 3 commits
  12. 21 Dec, 2011 1 commit
  13. 19 Dec, 2011 1 commit
  14. 17 Dec, 2011 2 commits
  15. 14 Dec, 2011 2 commits
  16. 13 Dec, 2011 1 commit
  17. 05 Dec, 2011 1 commit
    • Pekka Paalanen's avatar
      client: unset WAYLAND_SOCKET env variable · 58bb064a
      Pekka Paalanen authored
      WAYLAND_SOCKET contains a file descriptor that is an open connection to
      a Wayland server. It is private to us, and makes no sense to relay the
      same value (or any value) to our child processes.
      Unset the environment variable to prevent it from being accidentally
      relayed to other processes.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <ppaalanen@gmail.com>
  18. 29 Nov, 2011 5 commits
  19. 23 Nov, 2011 2 commits
    • Kristian Høgsberg's avatar
      New drag and drop / selection protocol · eae3bcb4
      Kristian Høgsberg authored
      This commit brings a big change to the DND and copy/paste interfaces.
      Most importantly the functionality is now independent of wl_shell.
      The wl_shell interface is intended for desktop style UI interaction and
      an optional and experimental interface.
      The new interface also allows receiving the DND data multiple times or
      multiple times during the drag, and the mechanism for offering and receiving
      data is now shared between DND and selections.
    • Kristian Høgsberg's avatar
      server: Stop special casing the compositor · 0b7d1e86
      Kristian Høgsberg authored
      wl_compositor_init() was just adding the global and providing a helper
      bind function.  Not useful enough to warrent API.
  20. 22 Nov, 2011 2 commits
  21. 19 Nov, 2011 1 commit
  22. 18 Nov, 2011 2 commits
  23. 17 Nov, 2011 2 commits
    • Kristian Høgsberg's avatar
      Introduce wl_resource_queue_event() for sending events later · 4abc56bd
      Kristian Høgsberg authored
      Some events, such as the display.delete_id, aren't very urgent and we
      would like to not always send them immdiately and cause an unnecessary
      context switch.  The wl_resource_queue_event() function will place the
      event in the connection output buffer but not request the main loop to
      poll for writable.  The effect is that the event will just sit in the
      output buffer until a more important event comes around and requires
    • Kristian Høgsberg's avatar
      Add display event to acknowledge ID deletion · 3a1e6df3
      Kristian Høgsberg authored
      We need to make sure the client doesn't reuse an object ID until the
      server has seen the destroy request.  When a client destroys an ID
      the server will now respond with the display.delete_id event, which lets
      the client block reuse until it receives the event.