Johan Malm
6cdf3d68f3
menu: minor refactoring
2021-02-19 23:31:30 +00:00
Johan Malm
f0d8eb0a60
menu: reload on SIGHUP
2021-02-19 23:05:14 +00:00
Johan Malm
011f20ef6b
xdg.c: damage outside view for popups
2021-02-17 20:42:50 +00:00
Johan Malm
855f21b1b3
menu.c: parse menu.xml root-menu
2021-02-17 20:38:16 +00:00
Johan Malm
9eac349046
rc.xml: move nodename() to nodename.c
2021-02-16 21:04:49 +00:00
Johan Malm
a97428020e
rc.xml: split out rstrip() to string-helpers.c
2021-02-16 21:03:38 +00:00
Johan Malm
bc04f50d14
Add basic menu theme options
2021-02-16 20:43:20 +00:00
Johan Malm
f3a95d65ad
output.c: remove unnecessary _remove() and _destroy()
2021-02-15 18:36:30 +00:00
Johan Malm
0e69c9ee9f
cursor.c: set damage for changing button states
2021-02-15 18:04:04 +00:00
Johan Malm
0850a2edc4
Merge branch 'master' of https://github.com/johanmalm/labwc
2021-02-15 17:58:36 +00:00
Johan Malm
22654d5191
deco.c: simplify initialization
2021-02-15 17:58:04 +00:00
Johan Malm
d5108e291f
spawn.c: s/exit()/_exit()/
2021-02-15 17:57:20 +00:00
Johan Malm
4a8fcf5c6d
seat.c: check finger count before enabling tapfor libinput device
2021-02-06 15:47:51 +00:00
Johan Malm
29b9e3334d
damage: render deco in output local coordinates
2021-01-10 13:00:30 +00:00
Johan Malm
54804fd3df
Implement damage tracking
2021-01-09 22:51:20 +00:00
Johan Malm
c765b9883f
seat: enable libinput tap
2020-12-30 11:09:36 +00:00
Johan Malm
375084c40c
log: s/warn/info/ on missing config/theme files
2020-12-30 10:59:39 +00:00
Johan Malm
224e8db35c
log: remove color
2020-12-30 10:53:48 +00:00
Johan Malm
529d7016f2
config: change default font size from 8 to 10
2020-12-30 10:44:57 +00:00
Johan Malm
cfc6e18cdc
Make xwayland support optional
2020-12-30 10:29:21 +00:00
Johan Malm
cd9fe2900e
keybind: use XKB_KEYSYM_CASE_INSENSITIVE
2020-12-29 19:02:04 +00:00
Johan Malm
1a38898f34
spawn: avoid zombie children without handling SIGCHLD
...
Current handling of SIGCHLD prevents some terminals, for example
sakura and alacritty, to freeze on ctrl+D.
Related to PR #10
2020-12-29 18:08:35 +00:00
Johan Malm
cb44f047f3
Add view_move()
2020-12-23 18:52:46 +00:00
Johan Malm
c646343c1d
common/spawn.c: add G_SPAWN_DO_NOT_REAP_CHILD
2020-12-23 18:40:35 +00:00
Johan Malm
9c3159fddc
xwayland: await configure before moving (issue #11 )
2020-12-23 18:36:40 +00:00
Johan Malm
7c29bcb45e
xdg-shell: await configure serial before moving (issue #11 )
2020-12-22 21:08:17 +00:00
Johan Malm
e0770a5672
Refactor view_move_resize()
2020-12-22 20:35:06 +00:00
Johan Malm
57588aa173
server: handle SIGINT and SIGTERM
2020-12-21 18:56:46 +00:00
Johan Malm
f94c2add28
common/spawn.c: remove G_SPAWN_DO_NOT_REAP_CHILD
2020-12-21 18:54:01 +00:00
Johan Malm
ca24c215ee
Use enum wl_keyboard_key_state
...
In support of wlroots commit 7693f61d (which is after v0.12)
s/WLR_KEY_RELEASED/WL_KEYBOARD_KEY_STATE_RELEASED/
s/WLR_KEY_PRESSED/WL_KEYBOARD_KEY_STATE_PRESSED/
This change is backwards compatible, albeit with some compiler warnings
2020-12-01 17:14:59 +00:00
Wenhua Zhao
071fcc68db
Fix zombie children
2020-12-01 07:20:43 +00:00
Wenhua Zhao
860f949846
Do not overwrite cursor for app view
2020-11-29 08:03:44 +00:00
Wenhua Zhao
eee776de4f
Resize via dragging corners
2020-11-29 08:03:44 +00:00
Johan Malm
64b6c37e7c
Sort #includes
2020-11-01 22:22:15 +00:00
Johan Malm
18b6fd7e75
output: use output-local coordinates (issue #5 )
2020-11-01 22:20:39 +00:00
Johan Malm
58fdf9776f
Move pango_cairo_font_map_set_default() to font.c
2020-10-31 15:41:06 +00:00
Johan Malm
2f44e954aa
Remove clang-format on/off comments
2020-10-31 15:33:46 +00:00
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