Commit graph

425 commits

Author SHA1 Message Date
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
a8a60c695a README.md: add some dependency versions 2020-12-21 18:51:31 +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
0347e5d903 README.md: add scope links 2020-11-23 22:14:32 +00:00
Johan Malm
1a34eba43e docs/rc.xml: use Clearlooks-3.4 2020-11-23 21:23:33 +00:00
Johan Malm
fcd83ec671 Update README.md 2020-11-23 21:22:47 +00:00
Johan Malm
64b6c37e7c Sort #includes 2020-11-01 22:22:15 +00:00
Johan Malm
4023007dd4 Update README.md 2020-11-01 22:21:24 +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
fe31de806b Update layer-shell protocol 1.2 -> 1.3 2020-10-28 21:08:21 +00:00
Johan Malm
edb996384c Update README.md 2020-10-28 21:06:30 +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
e99e1003d0 string-helpers.h: fix typo in header guard
Reported-by: Jan Beich (@jbeich)
2020-10-28 20:41:46 +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
7dc5643bd6 docs/rc.xml: move <font> to right section 2020-10-22 19:40:57 +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
f49a3a0395 README.md: update dependencies (issue #4) 2020-10-15 21:08:49 +01:00
Johan Malm
a81b405150 output.c: define _POSIX_C_SOURCE (issue #4) 2020-10-15 21:03:04 +01:00
Johan Malm
500ebaee4a include/labwc.h: add <sys/time.h> (issue #4) 2020-10-14 21:17:20 +01:00
Johan Malm
678d327d6f rcxml,theme: update info() message 2020-10-13 19:41:55 +01:00
Johan Malm
8cf6b4203e Update README.md 2020-10-12 16:27:35 +01:00
Johan Malm
571307d12d Update README.md 2020-10-12 16:25:58 +01:00
Johan Malm
a99f4a30c8 labwc(1): fix formatting 2020-10-09 19:56:48 +01:00
Johan Malm
6b4b5abf5c docs/rc.xml: remove <lab><keyboard> 2020-10-09 19:52:19 +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
138251abbe Update man pages 2020-10-08 21:18:09 +01:00