Commit graph

213 commits

Author SHA1 Message Date
Johan Malm
25829d122c Refactor seat.c, keyboard.c, cursor.c
Use wlr_keyboard_group
2020-10-02 21:20:12 +01:00
Johan Malm
96e05057a3 Update .clang-format
Align with wlroots style
2020-09-28 20:41:41 +01:00
Johan Malm
4ecc5efa73 deco: refactor button code
- Make the height+width of buttons the same as the title bar.
- Center icons within the 'button space'
- Show button background color on hover (just hard-coded grey for now)
2020-09-21 19:24:27 +01:00
Johan Malm
090e78b85a view: add 'struct border margin'
Simplify various view interfaces as a result
2020-09-15 20:41:01 +01:00
Johan Malm
fb6f7d42a5 Add desktop.c
Move from view.c functions which work on server->views
2020-09-11 20:48:28 +01:00
Johan Malm
49e499d255 view: add functions view_{un,}minimize 2020-09-08 20:51:33 +01:00
Johan Malm
bf3e4aa8d5 Add view_impl .map and .unmap
Hook up iconify button to view->impl->unmap
2020-09-03 21:05:00 +01:00
Johan Malm
625722cb66 Add view_impl .close 2020-09-02 21:00:28 +01:00
Johan Malm
c07acc9ee6 Add deco parts top, right and bottom 2020-05-30 21:28:17 +01:00
Johan Malm
a6ac2a0439 Minor style fixes 2020-05-29 22:26:16 +01:00
Johan Malm
298d869092 Move server_new_output() to output.c 2020-05-29 22:18:03 +01:00
Johan Malm
bc5accb089 Rename some {cursor,keyboard}_ functions 2020-05-29 22:10:41 +01:00
Johan Malm
40d3e1b175 Add cursor.c 2020-05-29 21:36:12 +01:00