1. 28 Feb, 2012 1 commit
    • Samuel Rødal's avatar
      Rename client side wl_display_destroy() to wl_display_disconnect() · bf5a8fbb
      Samuel Rødal authored
      This avoids the clash with the wayland-server version with the same
      name, and allows linking against both wayland-client and wayland-server
      at the same time, which can be useful for unit testing purposes as
      well as for nested compositing.
      
      Without this there will be crashes as the wrong wl_display_destroy()
      is called.
      bf5a8fbb
  2. 09 Feb, 2012 1 commit
  3. 17 Dec, 2011 1 commit
  4. 14 Dec, 2011 1 commit
  5. 13 Dec, 2011 1 commit
  6. 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>
      58bb064a
  7. 23 Nov, 2011 1 commit
    • 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.
      eae3bcb4
  8. 22 Nov, 2011 1 commit
    • Kristian Høgsberg's avatar
      Add support for server allocated object IDs · bdbd6ef8
      Kristian Høgsberg authored
      We set aside a range of the object ID space for use by the server.  This
      allows the server to bind an object to an ID for a client and pass that
      object to the client.  The client can use the object immediately and the
      server can emit events to the object immdiately.
      bdbd6ef8
  9. 18 Nov, 2011 1 commit
  10. 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
      flushing.
      4abc56bd
    • 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.
      3a1e6df3
  11. 20 Oct, 2011 1 commit
  12. 27 Aug, 2011 6 commits
  13. 12 Aug, 2011 1 commit
  14. 18 Jul, 2011 1 commit
  15. 15 Jul, 2011 1 commit
  16. 20 Jun, 2011 2 commits
    • Laszlo Agocs's avatar
      Add wl_display_remove_global. · aae9f214
      Laszlo Agocs authored
      Change 4453ba08 disallows using
      post_global with objects not on the global list. Therefore selection
      and drag offers have to be added to the global list from now on.
      However these may often get replaced by a newer object and thus need a
      way to remove a global from the global list.
      aae9f214
    • Laszlo Agocs's avatar
      Do not leak globals and listeners. · 9c36ea77
      Laszlo Agocs authored
       From 3fa2ad7dec42f85795449f33b2a4c9461aa4924d Mon Sep 17 00:00:00 2001
      From: Laszlo Agocs <laszlo.p.agocs@nokia.com>
      Date: Tue, 14 Jun 2011 11:35:28 +0200
      Subject: [PATCH] Do not leak globals and listeners.
      9c36ea77
  17. 11 Jun, 2011 1 commit
  18. 13 May, 2011 1 commit
  19. 11 May, 2011 1 commit
    • Kristian Høgsberg's avatar
      Unify error events · 1db05255
      Kristian Høgsberg authored
      Consolidate the different error events into one.  This event will also be
      usable for other interaces.
      1db05255
  20. 10 May, 2011 1 commit
    • Robert Bragg's avatar
      display: Adds wl_display_flush to send buffered commands · dcfaf4ec
      Robert Bragg authored
      Previously for wayland clients to flush buffered connection data to the
      compositor they needed to first register an event-mask-update-callback
      via wl_display_get_fd() to determine if there is anything writeable
      pending.  (NB: It's considered an error to iterate connection data with
      an invalid mask)
      
      Since it's only possible to register a single update callback currently
      it's a bit awkward if you want to allow multiple orthogonal components
      to flush the connection data, such as Cogl and Clutter which both want
      to interact with wayland and may want to flush commands at different
      times.
      
      This adds a mechanism, wl_display_flush(), which makes it possible to
      flush writeable connection data without first checking the event mask.
      dcfaf4ec
  21. 20 Apr, 2011 1 commit
  22. 18 Apr, 2011 1 commit
  23. 13 Apr, 2011 1 commit
  24. 11 Apr, 2011 2 commits
  25. 16 Mar, 2011 1 commit
  26. 13 Mar, 2011 2 commits
  27. 18 Feb, 2011 1 commit
  28. 10 Feb, 2011 1 commit
  29. 23 Jan, 2011 1 commit
  30. 01 Dec, 2010 2 commits