Commit graph

361 commits

Author SHA1 Message Date
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
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
7eb33334d2 Update README.md 2020-10-07 21:40:53 +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
00adc7ed34 Remove .clang-format
Can't get it to work on wlroots style
2020-09-29 20:50:27 +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