Commit graph

2326 commits

Author SHA1 Message Date
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
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