1. 02 Apr, 2015 3 commits
    • 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
    • Martin Flöser's avatar
      [wayland] WaylandCursorTheme takes ShmPool instead of WaylandBackend · 265af8e7
      Martin Flöser authored
      Allows to use the WaylandCursorTheme without needing a WaylandBackend.
      WaylandBackend was only used for getting the ShmPool.
    • Martin Flöser's avatar
      [wayland] Fix checking id to Surface in xwayland client message · bb404f7d
      Martin Flöser authored
      We need to also pass the client to the verification.
  2. 01 Apr, 2015 18 commits
  3. 31 Mar, 2015 3 commits
    • Mika Allan Rauhala's avatar
      Adapt to KDecoration API changes · 3389c756
      Mika Allan Rauhala authored
      Adapt to API changes introduced by b62e8888cd39301e00ad98dfe791fa66676408fb.
      It adds DecoratedClient::color(group, role) for getting colors that are
      not included in QPalette. Breeze used to read these colors from
      kdeglobals, breaking per window color schemes. KWin now handles reading
      these colors along with QPalette loading with DecorationPalette.
      REVIEW: 122883
    • Martin Flöser's avatar
      [wayland] Initialize WaylandSeat::m_touch · 66e92347
      Martin Flöser authored
      Without it results in a nice crash when trying to use with touch support.
      Having ways to test clearly improves ;-)
    • Mika Allan Rauhala's avatar
      Add Quick Tile Window to the Top and Bottom shortcuts · 2217c103
      Mika Allan Rauhala authored
      This adds "Quick Tile Window to the Top" and "Quick Title Window to the Bottom" shortcuts. These are
      useful for those using displays that are in portrait orientation.
      CCBUG: 310005
      REVIEW: 123153
  4. 26 Mar, 2015 2 commits
  5. 25 Mar, 2015 4 commits
  6. 24 Mar, 2015 4 commits
  7. 23 Mar, 2015 6 commits