]> git.mdlowis.com Git - proto/labwc.git/log
proto/labwc.git
5 years agomenu: reload on SIGHUP
Johan Malm [Fri, 19 Feb 2021 23:05:14 +0000 (23:05 +0000)]
menu: reload on SIGHUP

5 years agoREADME.md: fix typo
Johan Malm [Wed, 17 Feb 2021 21:10:37 +0000 (21:10 +0000)]
README.md: fix typo

5 years agoAdd docs/menu.xml
Johan Malm [Wed, 17 Feb 2021 21:08:38 +0000 (21:08 +0000)]
Add docs/menu.xml

5 years agoxdg.c: damage outside view for popups
Johan Malm [Wed, 17 Feb 2021 20:42:50 +0000 (20:42 +0000)]
xdg.c: damage outside view for popups

5 years agomenu.c: parse menu.xml root-menu
Johan Malm [Wed, 17 Feb 2021 20:38:16 +0000 (20:38 +0000)]
menu.c: parse menu.xml root-menu

5 years agorc.xml: move nodename() to nodename.c
Johan Malm [Tue, 16 Feb 2021 21:04:49 +0000 (21:04 +0000)]
rc.xml: move nodename() to nodename.c

5 years agorc.xml: split out rstrip() to string-helpers.c
Johan Malm [Tue, 16 Feb 2021 21:03:38 +0000 (21:03 +0000)]
rc.xml: split out rstrip() to string-helpers.c

5 years agoAdd basic menu theme options
Johan Malm [Tue, 16 Feb 2021 20:43:20 +0000 (20:43 +0000)]
Add basic menu theme options

5 years agooutput.c: remove unnecessary _remove() and _destroy()
Johan Malm [Mon, 15 Feb 2021 18:36:30 +0000 (18:36 +0000)]
output.c: remove unnecessary _remove() and _destroy()

5 years agocursor.c: set damage for changing button states
Johan Malm [Mon, 15 Feb 2021 18:04:04 +0000 (18:04 +0000)]
cursor.c: set damage for changing button states

5 years agoMerge branch 'master' of https://github.com/johanmalm/labwc
Johan Malm [Mon, 15 Feb 2021 17:58:36 +0000 (17:58 +0000)]
Merge branch 'master' of https://github.com/johanmalm/labwc

5 years agodeco.c: simplify initialization
Johan Malm [Mon, 15 Feb 2021 17:58:04 +0000 (17:58 +0000)]
deco.c: simplify initialization

5 years agospawn.c: s/exit()/_exit()/
Johan Malm [Mon, 15 Feb 2021 17:57:20 +0000 (17:57 +0000)]
spawn.c: s/exit()/_exit()/

5 years agoseat.c: check finger count before enabling tapfor libinput device
Johan Malm [Sat, 6 Feb 2021 15:47:51 +0000 (15:47 +0000)]
seat.c: check finger count before enabling tapfor libinput device

5 years agomeson.build: link with -lm
Johan Malm [Tue, 12 Jan 2021 16:47:26 +0000 (16:47 +0000)]
meson.build: link with -lm

5 years agodamage: render deco in output local coordinates
Johan Malm [Sun, 10 Jan 2021 13:00:30 +0000 (13:00 +0000)]
damage: render deco in output local coordinates

5 years agoImplement damage tracking
Johan Malm [Sat, 9 Jan 2021 22:51:20 +0000 (22:51 +0000)]
Implement damage tracking

5 years agoadd libinput as a dependency to meson.build
Ben Lönnqvist [Sat, 2 Jan 2021 14:33:14 +0000 (16:33 +0200)]
add libinput as a dependency to meson.build

5 years agoseat: enable libinput tap
Johan Malm [Wed, 30 Dec 2020 11:09:36 +0000 (11:09 +0000)]
seat: enable libinput tap

5 years agolog: s/warn/info/ on missing config/theme files
Johan Malm [Wed, 30 Dec 2020 10:59:39 +0000 (10:59 +0000)]
log: s/warn/info/ on missing config/theme files

5 years agolog: remove color
Johan Malm [Wed, 30 Dec 2020 10:53:48 +0000 (10:53 +0000)]
log: remove color

5 years agoconfig: change default font size from 8 to 10
Johan Malm [Wed, 30 Dec 2020 10:44:57 +0000 (10:44 +0000)]
config: change default font size from 8 to 10

5 years agoMake xwayland support optional
Johan Malm [Wed, 30 Dec 2020 10:29:21 +0000 (10:29 +0000)]
Make xwayland support optional

5 years agokeybind: use XKB_KEYSYM_CASE_INSENSITIVE
Johan Malm [Tue, 29 Dec 2020 19:02:04 +0000 (19:02 +0000)]
keybind: use XKB_KEYSYM_CASE_INSENSITIVE

5 years agospawn: avoid zombie children without handling SIGCHLD
Johan Malm [Tue, 29 Dec 2020 18:08:35 +0000 (18:08 +0000)]
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

5 years agolabwc.h: remove obsolete definitions
Johan Malm [Wed, 23 Dec 2020 18:56:11 +0000 (18:56 +0000)]
labwc.h: remove obsolete definitions

5 years agoAdd view_move()
Johan Malm [Wed, 23 Dec 2020 18:52:46 +0000 (18:52 +0000)]
Add view_move()

5 years agocommon/spawn.c: add G_SPAWN_DO_NOT_REAP_CHILD
Johan Malm [Wed, 23 Dec 2020 18:40:35 +0000 (18:40 +0000)]
common/spawn.c: add G_SPAWN_DO_NOT_REAP_CHILD

5 years agoUpdate README.md
Johan Malm [Wed, 23 Dec 2020 18:38:49 +0000 (18:38 +0000)]
Update README.md

5 years agoxwayland: await configure before moving (issue #11)
Johan Malm [Wed, 23 Dec 2020 18:36:40 +0000 (18:36 +0000)]
xwayland: await configure before moving (issue #11)

5 years agoxdg-shell: await configure serial before moving (issue #11)
Johan Malm [Tue, 22 Dec 2020 21:08:17 +0000 (21:08 +0000)]
xdg-shell: await configure serial before moving (issue #11)

5 years agoRefactor view_move_resize()
Johan Malm [Tue, 22 Dec 2020 20:35:06 +0000 (20:35 +0000)]
Refactor view_move_resize()

5 years agoserver: handle SIGINT and SIGTERM
Johan Malm [Mon, 21 Dec 2020 18:56:46 +0000 (18:56 +0000)]
server: handle SIGINT and SIGTERM

5 years agocommon/spawn.c: remove G_SPAWN_DO_NOT_REAP_CHILD
Johan Malm [Mon, 21 Dec 2020 18:54:01 +0000 (18:54 +0000)]
common/spawn.c: remove G_SPAWN_DO_NOT_REAP_CHILD

5 years agoREADME.md: add some dependency versions
Johan Malm [Mon, 21 Dec 2020 18:51:31 +0000 (18:51 +0000)]
README.md: add some dependency versions

5 years agoUse enum wl_keyboard_key_state
Johan Malm [Tue, 1 Dec 2020 17:14:59 +0000 (17:14 +0000)]
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

5 years agoFix zombie children
Wenhua Zhao [Tue, 1 Dec 2020 04:15:37 +0000 (04:15 +0000)]
Fix zombie children

5 years agoDo not overwrite cursor for app view
Wenhua Zhao [Sun, 29 Nov 2020 05:42:06 +0000 (05:42 +0000)]
Do not overwrite cursor for app view

5 years agoResize via dragging corners
Wenhua Zhao [Sun, 29 Nov 2020 01:20:01 +0000 (01:20 +0000)]
Resize via dragging corners

5 years agoREADME.md: add scope links
Johan Malm [Mon, 23 Nov 2020 22:14:32 +0000 (22:14 +0000)]
README.md: add scope links

5 years agodocs/rc.xml: use Clearlooks-3.4
Johan Malm [Mon, 23 Nov 2020 21:23:33 +0000 (21:23 +0000)]
docs/rc.xml: use Clearlooks-3.4

5 years agoUpdate README.md
Johan Malm [Mon, 23 Nov 2020 21:22:47 +0000 (21:22 +0000)]
Update README.md

5 years agoSort #includes
Johan Malm [Sun, 1 Nov 2020 22:22:15 +0000 (22:22 +0000)]
Sort #includes

5 years agoUpdate README.md
Johan Malm [Sun, 1 Nov 2020 22:21:24 +0000 (22:21 +0000)]
Update README.md

5 years agooutput: use output-local coordinates (issue #5)
Johan Malm [Sun, 1 Nov 2020 22:20:39 +0000 (22:20 +0000)]
output: use output-local coordinates (issue #5)

5 years agoMove pango_cairo_font_map_set_default() to font.c
Johan Malm [Sat, 31 Oct 2020 15:41:06 +0000 (15:41 +0000)]
Move pango_cairo_font_map_set_default() to font.c

5 years agoRemove clang-format on/off comments
Johan Malm [Sat, 31 Oct 2020 15:33:46 +0000 (15:33 +0000)]
Remove clang-format on/off comments

5 years agoaction: add "ShowMenu" option
Johan Malm [Sat, 31 Oct 2020 15:27:22 +0000 (15:27 +0000)]
action: add "ShowMenu" option

Parse the following in rc.xml:

<keyboard>
  <keybind key="">
    <action name="ShowMenu">
      <menu>root-menu</menu>
    </action>
  </keybind>
</keyboard>

5 years agolayers: handle top layer unmap/destroy better
Johan Malm [Sat, 31 Oct 2020 15:09:13 +0000 (15:09 +0000)]
layers: handle top layer unmap/destroy better

On losing top layer focus, set focus on topmost mapped view.

5 years agodesktop: rename desktop_cycle_view()
Johan Malm [Sat, 31 Oct 2020 14:46:33 +0000 (14:46 +0000)]
desktop: rename desktop_cycle_view()

5 years agodesktop: refactor desktop_focus_topmost_mapped_view()
Johan Malm [Sat, 31 Oct 2020 14:32:31 +0000 (14:32 +0000)]
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.

5 years agolayers.c: rename notify-functions
Johan Malm [Wed, 28 Oct 2020 21:28:37 +0000 (21:28 +0000)]
layers.c: rename notify-functions

5 years agoUpdate layer-shell protocol 1.2 -> 1.3
Johan Malm [Wed, 28 Oct 2020 21:08:21 +0000 (21:08 +0000)]
Update layer-shell protocol 1.2 -> 1.3

5 years agoUpdate README.md
Johan Malm [Wed, 28 Oct 2020 21:06:30 +0000 (21:06 +0000)]
Update README.md

5 years agolayers.c: handle_surface_commit() use correct wlr_output
Johan Malm [Wed, 28 Oct 2020 20:49:26 +0000 (20:49 +0000)]
layers.c: handle_surface_commit() use correct wlr_output

5 years agosession.c: fix memory leak
Johan Malm [Wed, 28 Oct 2020 20:44:35 +0000 (20:44 +0000)]
session.c: fix memory leak

Reported-by: Jan Beich (@jbeich)
5 years agostring-helpers.h: fix typo in header guard
Johan Malm [Wed, 28 Oct 2020 20:41:46 +0000 (20:41 +0000)]
string-helpers.h: fix typo in header guard

Reported-by: Jan Beich (@jbeich)
5 years agoserver: add drop_permissions() (issue #5)
Johan Malm [Fri, 23 Oct 2020 19:25:56 +0000 (20:25 +0100)]
server: add drop_permissions() (issue #5)

5 years agolog: add die() for convenience
Johan Malm [Fri, 23 Oct 2020 19:23:56 +0000 (20:23 +0100)]
log: add die() for convenience

5 years agoserver: free() in correct order
Johan Malm [Fri, 23 Oct 2020 19:19:07 +0000 (20:19 +0100)]
server: free() in correct order

5 years agomain: add -v option
Johan Malm [Fri, 23 Oct 2020 19:08:56 +0000 (20:08 +0100)]
main: add -v option

5 years agoserver: refactor server_finish()
Johan Malm [Thu, 22 Oct 2020 18:54:30 +0000 (19:54 +0100)]
server: refactor server_finish()

5 years agomenu: add menu_finish()
Johan Malm [Thu, 22 Oct 2020 18:43:27 +0000 (19:43 +0100)]
menu: add menu_finish()

5 years agosession: improve info() message
Johan Malm [Thu, 22 Oct 2020 18:42:06 +0000 (19:42 +0100)]
session: improve info() message

5 years agodocs/rc.xml: move <font> to right section
Johan Malm [Thu, 22 Oct 2020 18:40:57 +0000 (19:40 +0100)]
docs/rc.xml: move <font> to right section

5 years agomenu: vertically center-align items
Johan Malm [Wed, 21 Oct 2020 19:32:08 +0000 (20:32 +0100)]
menu: vertically center-align items

5 years agoaction: fix reconfigure
Johan Malm [Wed, 21 Oct 2020 19:30:59 +0000 (20:30 +0100)]
action: fix reconfigure

5 years agos/cursor_mode/input_mode/
Johan Malm [Wed, 21 Oct 2020 19:30:06 +0000 (20:30 +0100)]
s/cursor_mode/input_mode/

5 years agoSupport a very simple root-menu
Johan Malm [Mon, 19 Oct 2020 21:14:17 +0000 (22:14 +0100)]
Support a very simple root-menu

5 years agoREADME.md: update dependencies (issue #4)
Johan Malm [Thu, 15 Oct 2020 20:08:49 +0000 (21:08 +0100)]
README.md: update dependencies (issue #4)

5 years agooutput.c: define _POSIX_C_SOURCE (issue #4)
Johan Malm [Thu, 15 Oct 2020 20:03:04 +0000 (21:03 +0100)]
output.c: define _POSIX_C_SOURCE (issue #4)

5 years agoinclude/labwc.h: add <sys/time.h> (issue #4)
Johan Malm [Wed, 14 Oct 2020 20:17:20 +0000 (21:17 +0100)]
include/labwc.h: add <sys/time.h> (issue #4)

5 years agorcxml,theme: update info() message
Johan Malm [Tue, 13 Oct 2020 18:41:55 +0000 (19:41 +0100)]
rcxml,theme: update info() message

5 years agoUpdate README.md
Johan Malm [Mon, 12 Oct 2020 15:27:35 +0000 (16:27 +0100)]
Update README.md

5 years agoUpdate README.md
Johan Malm [Mon, 12 Oct 2020 15:25:58 +0000 (16:25 +0100)]
Update README.md

5 years agolabwc(1): fix formatting
Johan Malm [Fri, 9 Oct 2020 18:56:48 +0000 (19:56 +0100)]
labwc(1): fix formatting

5 years agodocs/rc.xml: remove <lab><keyboard>
Johan Malm [Fri, 9 Oct 2020 18:52:19 +0000 (19:52 +0100)]
docs/rc.xml: remove <lab><keyboard>

5 years agoAdd string-helpers.c
Johan Malm [Fri, 9 Oct 2020 18:46:59 +0000 (19:46 +0100)]
Add string-helpers.c

5 years agorcxml: remove <lab><keyboard><layout> support
Johan Malm [Thu, 8 Oct 2020 20:18:36 +0000 (21:18 +0100)]
rcxml: remove <lab><keyboard><layout> support

The preferred method is now to set this environment variable in
~/.config/labwc/enrivonment

5 years agoUpdate man pages
Johan Malm [Thu, 8 Oct 2020 20:18:09 +0000 (21:18 +0100)]
Update man pages

5 years agoSupport ~/.config/labwc/{autostart,environment}
Johan Malm [Thu, 8 Oct 2020 19:50:20 +0000 (20:50 +0100)]
Support ~/.config/labwc/{autostart,environment}

5 years agooutput: add wl_list_remove()s
Johan Malm [Thu, 8 Oct 2020 19:37:42 +0000 (20:37 +0100)]
output: add wl_list_remove()s

5 years agoseat: refactor seat_focus_surface()
Johan Malm [Thu, 8 Oct 2020 19:22:52 +0000 (20:22 +0100)]
seat: refactor seat_focus_surface()

5 years agodesktop: refactor desktop_focus_view()
Johan Malm [Thu, 8 Oct 2020 19:08:41 +0000 (20:08 +0100)]
desktop: refactor desktop_focus_view()

5 years agoxdg-shell: add wlr_xdg_surface_ping()
Johan Malm [Thu, 8 Oct 2020 18:58:47 +0000 (19:58 +0100)]
xdg-shell: add wlr_xdg_surface_ping()

5 years agoseat: remove seat_focused_surface()
Johan Malm [Wed, 7 Oct 2020 20:49:58 +0000 (21:49 +0100)]
seat: remove seat_focused_surface()

5 years agoUpdate README.md
Johan Malm [Wed, 7 Oct 2020 20:40:53 +0000 (21:40 +0100)]
Update README.md

5 years agoseat: refactor seat_focus_surface()
Johan Malm [Tue, 6 Oct 2020 20:31:01 +0000 (21:31 +0100)]
seat: refactor seat_focus_surface()

5 years agoseat: use wlr_seat_keyboard_notify_enter() correctly
Johan Malm [Mon, 5 Oct 2020 19:27:52 +0000 (20:27 +0100)]
seat: use wlr_seat_keyboard_notify_enter() correctly

5 years agoRefactor seat.c, keyboard.c, cursor.c
Johan Malm [Fri, 2 Oct 2020 20:19:56 +0000 (21:19 +0100)]
Refactor seat.c, keyboard.c, cursor.c

Use wlr_keyboard_group

5 years agoAdd partial support for layer-shell
Johan Malm [Wed, 30 Sep 2020 16:18:20 +0000 (17:18 +0100)]
Add partial support for layer-shell

We can now run swaybg and waybar

5 years agoRemove .clang-format
Johan Malm [Tue, 29 Sep 2020 19:50:27 +0000 (20:50 +0100)]
Remove .clang-format

Can't get it to work on wlroots style

5 years agoview_impl: add for_each_surface()
Johan Malm [Tue, 29 Sep 2020 19:48:50 +0000 (20:48 +0100)]
view_impl: add for_each_surface()

5 years agooutput: add output_init() and refactor
Johan Malm [Tue, 29 Sep 2020 18:53:46 +0000 (19:53 +0100)]
output: add output_init() and refactor

5 years agoTiny .clang-format tweak
Johan Malm [Mon, 28 Sep 2020 20:35:18 +0000 (21:35 +0100)]
Tiny .clang-format tweak

5 years agoMove data/* to docs/
Johan Malm [Mon, 28 Sep 2020 20:09:19 +0000 (21:09 +0100)]
Move data/* to docs/

5 years agoRemove tools/ and tests/
Johan Malm [Mon, 28 Sep 2020 20:06:13 +0000 (21:06 +0100)]
Remove tools/ and tests/

5 years agomv dbg.c osd.c
Johan Malm [Mon, 28 Sep 2020 19:59:38 +0000 (20:59 +0100)]
mv dbg.c osd.c

5 years agolabwc-theme(5): add "Reconfigure"
Johan Malm [Mon, 28 Sep 2020 19:56:37 +0000 (20:56 +0100)]
labwc-theme(5): add "Reconfigure"

5 years agos/BUG_ON/assert/
Johan Malm [Mon, 28 Sep 2020 19:53:59 +0000 (20:53 +0100)]
s/BUG_ON/assert/