Commit graph

25 commits

Author SHA1 Message Date
Johan Malm
763f5c3455 output: add output_init() and refactor 2020-09-29 19:53:46 +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
35ff6e5bb0 rcxml: s/csd/xdg_shell_server_side_deco 2020-09-15 21:10:02 +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
35015e57c6 view: remove view_hasfocus() 2020-09-14 17:42:39 +01:00
Johan Malm
0b834c2efa output: draw openbox style view-cycle border 2020-09-10 22:25:26 +01:00
Johan Malm
e99d0bb34e labwc.h: remove "extern struct server server" 2020-09-08 20:18:12 +01:00
Johan Malm
17f7ef53be output: avoid calling wlr_xdg_surface_get_geometry()
Try to only call wlr_xdg_surface_get_geometry() in .commit and .map
2020-09-07 19:50:19 +01:00
Johan Malm
8e7f2e78cd Add xwayland-unmanaged.c
Handle xwayland override_direct surfaces separately from the view
struct - in order to simplify code, particularly in view.c
2020-09-04 20:25:20 +01:00
Johan Malm
83331e57ed Support inactive unpressed icons 2020-08-21 20:35:06 +01:00
Johan Malm
042c157378 Track server-side-decoration per view 2020-08-06 14:51:45 +01:00
Johan Malm
4d1363dcae include/: refactor header files more 2020-08-03 20:56:38 +01:00
Johan Malm
f7fa28ab42 Render close, iconify and maximize buttons 2020-07-06 21:58:51 +01:00
Johan Malm
baca410560 Render window close button 2020-06-29 19:27:59 +01:00
Johan Malm
f6578248c0 src/keybind.c: move keybind_print() to dbg.c 2020-06-18 20:39:55 +01:00
Johan Malm
7440919452 Add action.c 2020-06-18 20:18:01 +01:00
Johan Malm
5bd55570ba src/output.c: support theme.window_inactive_title_bg_color 2020-06-15 21:44:57 +01:00
Johan Malm
c7a179f5b3 theme: add window_active_handle_bg_color 2020-06-12 21:41:30 +01:00
Johan Malm
d40445da1d Add theme.c to parse openbox's themerc 2020-06-11 21:20:43 +01:00
Johan Malm
6166e9b370 Read rc.xml and begin parsing 2020-06-05 23:04:54 +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
d28465dfc3 Put code in src/ and include/ 2020-05-27 14:29:05 +01:00
Renamed from output.c (Browse further)