1. 08 May, 2015 3 commits
  2. 24 Apr, 2015 1 commit
  3. 21 Apr, 2015 1 commit
    • Martin Flöser's avatar
      [wayland] Abort if Xwayland connection breaks · 8ec3f55f
      Martin Flöser authored
      If Xwayland goes down it's better to abort than staying alive. If
      Xwayland goes down the next roundtrip to X (most likely during call
      to xStackingOrder) will just freeze completely, which is kind of the
      worst as one cannot VT-switch anymore. So a clean abort is a bad but
      better solution.
  4. 02 Apr, 2015 2 commits
    • Martin Flöser's avatar
      [wayland] Use a DPI of 96 to calculate physical size for the server's outputs · d2cd1086
      Martin Flöser authored
      Not perfect but better than a hardcoded physical size.
    • Martin Flöser's avatar
      [wayland] Set internal cursor through WaylandCursorTheme in AbstractBackend · 2b185fa7
      Martin Flöser authored
      Getting the cursor image from the cursor theme is unfortunately not
      straight forward. We have three different libraries and all have
      * XCursor - we just kicked it out
      * xcb-util/cursor - only provides xcb_cursor_t, so a dependency on X
      * wayland-cursor - only a client side API
      The picked solution is using wayland-cursor. It provides the cursor in a
      wl_buffer. Unfortunately the client side API does not easily allow to
      a) read it back
      b) init without a wl_shm_pool
      Thus we need to work this around:
      * create an internal connection
      * get a ShmPool on it
      * init WaylandCursorTheme with this ShmPool
      * get the cursor wl_buffer from the theme
      * trigger a roundtrip
      * get the corresponding BufferInterface for the buffer
      * set the content as the software cursor
  5. 20 Mar, 2015 1 commit
  6. 17 Mar, 2015 6 commits