Johan Malm
2f44e954aa
Remove clang-format on/off comments
2020-10-31 15:33:46 +00:00
Johan Malm
c8040e4d3b
server: free() in correct order
2020-10-23 20:19:07 +01:00
Johan Malm
d5b9a65978
s/cursor_mode/input_mode/
2020-10-21 20:30:06 +01:00
Johan Malm
dc5d1ab976
Support a very simple root-menu
2020-10-19 22:14:17 +01:00
Johan Malm
a81b405150
output.c: define _POSIX_C_SOURCE (issue #4 )
2020-10-15 21:03:04 +01:00
Johan Malm
80947e56ee
output: add wl_list_remove()s
2020-10-08 20:37:42 +01:00
Johan Malm
8e2b3ea89a
seat: remove seat_focused_surface()
2020-10-07 21:49:58 +01:00
Johan Malm
25829d122c
Refactor seat.c, keyboard.c, cursor.c
...
Use wlr_keyboard_group
2020-10-02 21:20:12 +01:00
Johan Malm
a4c22f7c4d
Add partial support for layer-shell
...
We can now run swaybg and waybar
2020-09-30 17:18:20 +01:00
Johan Malm
16c3869fca
view_impl: add for_each_surface()
2020-09-29 20:48:50 +01:00
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