Johan Malm
543f00131c
action: add "ShowMenu" option
...
Parse the following in rc.xml:
<keyboard>
<keybind key="">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
</keyboard>
2020-10-31 15:27:22 +00:00
Johan Malm
a26fd5a75b
layers: handle top layer unmap/destroy better
...
On losing top layer focus, set focus on topmost mapped view.
2020-10-31 15:09:13 +00:00
Johan Malm
5d6143449f
desktop: rename desktop_cycle_view()
2020-10-31 14:46:33 +00:00
Johan Malm
5f9c5a9d01
desktop: refactor desktop_focus_topmost_mapped_view()
...
Rename from desktop_focus_next_mapped_view() to
desktop_focus_topmost_mapped_view() and only take struct server as
argument.
2020-10-31 14:32:31 +00:00
Johan Malm
11ce73f2d6
layers.c: rename notify-functions
2020-10-28 21:28:37 +00:00
Johan Malm
01041d4d45
layers.c: handle_surface_commit() use correct wlr_output
2020-10-28 20:49:26 +00:00
Johan Malm
36d9496149
session.c: fix memory leak
...
Reported-by: Jan Beich (@jbeich)
2020-10-28 20:44:35 +00:00
Johan Malm
f459fed4a8
server: add drop_permissions() (issue #5 )
2020-10-23 20:25:56 +01:00
Johan Malm
aab7b71520
log: add die() for convenience
2020-10-23 20:23:56 +01:00
Johan Malm
c8040e4d3b
server: free() in correct order
2020-10-23 20:19:07 +01:00
Johan Malm
93145ebc2a
main: add -v option
2020-10-23 20:08:56 +01:00
Johan Malm
109d942534
server: refactor server_finish()
2020-10-22 19:54:45 +01:00
Johan Malm
d39b158cec
menu: add menu_finish()
2020-10-22 19:43:27 +01:00
Johan Malm
4d1acf645c
session: improve info() message
2020-10-22 19:42:06 +01:00
Johan Malm
266f625306
menu: vertically center-align items
2020-10-21 20:32:08 +01:00
Johan Malm
1fae45b1f7
action: fix reconfigure
2020-10-21 20:30:59 +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
678d327d6f
rcxml,theme: update info() message
2020-10-13 19:41:55 +01:00
Johan Malm
7e55e2cd09
Add string-helpers.c
2020-10-09 19:46:59 +01:00
Johan Malm
51507df2e7
rcxml: remove <lab><keyboard><layout> support
...
The preferred method is now to set this environment variable in
~/.config/labwc/enrivonment
2020-10-08 21:18:36 +01:00
Johan Malm
45b13fc9a0
Support ~/.config/labwc/{autostart,environment}
2020-10-08 20:50:20 +01:00
Johan Malm
80947e56ee
output: add wl_list_remove()s
2020-10-08 20:37:42 +01:00
Johan Malm
9342b2b414
seat: refactor seat_focus_surface()
2020-10-08 20:22:52 +01:00
Johan Malm
f752610e0b
desktop: refactor desktop_focus_view()
2020-10-08 20:08:41 +01:00
Johan Malm
aa0b2b8e9e
xdg-shell: add wlr_xdg_surface_ping()
2020-10-08 19:58:47 +01:00
Johan Malm
8e2b3ea89a
seat: remove seat_focused_surface()
2020-10-07 21:49:58 +01:00
Johan Malm
e400700a4a
seat: refactor seat_focus_surface()
2020-10-06 21:31:01 +01:00
Johan Malm
50bcfa00f3
seat: use wlr_seat_keyboard_notify_enter() correctly
2020-10-05 20:27:52 +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
53b360dd11
Tiny .clang-format tweak
2020-09-28 21:35:18 +01:00
Johan Malm
adf0f70a04
mv dbg.c osd.c
2020-09-28 20:59:38 +01:00
Johan Malm
581f4ea0c3
s/BUG_ON/assert/
2020-09-28 20:53:59 +01:00
Johan Malm
96e05057a3
Update .clang-format
...
Align with wlroots style
2020-09-28 20:41:41 +01:00
Johan Malm
166ad6e1dc
Refactor header files
2020-09-25 20:25:45 +01:00
Johan Malm
5351299cdd
xdg: only position topmost view
2020-09-25 20:22:18 +01:00
Johan Malm
33d02aa83e
action: fix build warning
2020-09-25 20:05:20 +01:00
Johan Malm
1721b339da
Reload config+theme on SIGHUP
2020-09-25 19:42:40 +01:00
Johan Malm
745915c0ba
action: refactor action()
2020-09-25 19:37:51 +01:00
Johan Malm
60f9624a19
server: support screen recording
...
Works with wf-recorder
2020-09-21 19:54: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
3c90cb7945
desktop: focus next 'mapped' view on minimize
2020-09-18 20:28:48 +01:00
Johan Malm
b46fa5e006
xwayland: constrain view to top/left edge
2020-09-17 21:11:54 +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
5a77c84fc8
Split theme-builtin.c into a separate file
2020-09-15 20:01:41 +01:00