]> git.mdlowis.com Git - proto/labwc.git/log
proto/labwc.git
5 years agoREADME: set scrot sizes
Johan Malm [Mon, 8 Mar 2021 21:24:44 +0000 (21:24 +0000)]
README: set scrot sizes

5 years agoREADME: move install notes to wiki
Johan Malm [Mon, 8 Mar 2021 21:21:21 +0000 (21:21 +0000)]
README: move install notes to wiki

5 years agoMerge branch 'master' of https://github.com/johanmalm/labwc
Johan Malm [Mon, 8 Mar 2021 07:06:17 +0000 (07:06 +0000)]
Merge branch 'master' of https://github.com/johanmalm/labwc

5 years agooutput: set layout-coords coorectly for cycle box
Johan Malm [Mon, 8 Mar 2021 07:05:47 +0000 (07:05 +0000)]
output: set layout-coords coorectly for cycle box

5 years agodocs: Add Fedora installation instructions
Artem Polishchuk [Sun, 7 Mar 2021 19:25:04 +0000 (21:25 +0200)]
docs: Add Fedora installation instructions

5 years agointeractive.c: do not allow move/resize when maximized
Johan Malm [Sat, 6 Mar 2021 18:34:52 +0000 (18:34 +0000)]
interactive.c: do not allow move/resize when maximized

5 years agooutput.c: fix formatting
Johan Malm [Sat, 6 Mar 2021 18:30:53 +0000 (18:30 +0000)]
output.c: fix formatting

5 years agoMerge pull request #21 from apbryan/output-management
Johan Malm [Sat, 6 Mar 2021 18:15:48 +0000 (18:15 +0000)]
Merge pull request #21 from apbryan/output-management

Output management

5 years agoAdd NEWS.md and update README.md
Johan Malm [Sat, 6 Mar 2021 11:45:45 +0000 (11:45 +0000)]
Add NEWS.md and update README.md

5 years agomain.c: add -v, -V, -d command line options
Johan Malm [Sat, 6 Mar 2021 11:38:17 +0000 (11:38 +0000)]
main.c: add -v, -V, -d command line options

5 years agoConvert man pages from md to scd
Johan Malm [Fri, 5 Mar 2021 22:14:02 +0000 (22:14 +0000)]
Convert man pages from md to scd

5 years agothemerc: fix syntax inconsistency
Johan Malm [Thu, 4 Mar 2021 20:30:23 +0000 (20:30 +0000)]
themerc: fix syntax inconsistency

5 years agorc.xml: add A-F3 for bemenu-run to reflect defaults
Johan Malm [Thu, 4 Mar 2021 20:29:28 +0000 (20:29 +0000)]
rc.xml: add A-F3 for bemenu-run to reflect defaults

5 years agomenu.xml: format XML better
Johan Malm [Thu, 4 Mar 2021 20:28:38 +0000 (20:28 +0000)]
menu.xml: format XML better

5 years agodocs: move manpages to proper section directories
Jan Beich [Thu, 4 Mar 2021 06:21:45 +0000 (06:21 +0000)]
docs: move manpages to proper section directories

Arbitrary sections may not be supported by all man(1) implementations.
labwc manpages have numeric sections but installed in the wrong place:

$ meson setup --prefix=/usr _build && meson install -C _build
[...]
Installing docs/labwc.1 to /usr/share/man/man.1
Installing docs/labwc-config.5 to /usr/share/man/man-config.5
Installing docs/labwc-theme.5 to /usr/share/man/man-theme.5
Installing docs/labwc-actions.5 to /usr/share/man/man-actions.5
[...]

5 years agoAdd man-pages option like swaywm/sway@ba16f16e4d5a
Jan Beich [Thu, 4 Mar 2021 00:56:37 +0000 (00:56 +0000)]
Add man-pages option like swaywm/sway@ba16f16e4d5a

5 years agocursor: cursor_name fix
Johan Malm [Wed, 3 Mar 2021 21:19:52 +0000 (21:19 +0000)]
cursor: cursor_name fix

The current implementation detects resize edges over the wlr_surface,
sometimes preventing the correct cursor_name to be set.

5 years agoview-child: extend damage
Johan Malm [Wed, 3 Mar 2021 20:54:44 +0000 (20:54 +0000)]
view-child: extend damage

5 years agoxdg-popup: extend damage
Johan Malm [Wed, 3 Mar 2021 20:51:19 +0000 (20:51 +0000)]
xdg-popup: extend damage

5 years agoview-child: do not damage on finish
Johan Malm [Wed, 3 Mar 2021 20:42:34 +0000 (20:42 +0000)]
view-child: do not damage on finish

5 years agoCreate xdg-deco.c
Johan Malm [Tue, 2 Mar 2021 20:53:03 +0000 (20:53 +0000)]
Create xdg-deco.c

5 years agoxdg-popup: uncontrain popups
Johan Malm [Tue, 2 Mar 2021 20:51:32 +0000 (20:51 +0000)]
xdg-popup: uncontrain popups

5 years agoHandle wlr_surface->events.new_subsurface
Johan Malm [Tue, 2 Mar 2021 20:37:23 +0000 (20:37 +0000)]
Handle wlr_surface->events.new_subsurface

Add view-child.c, xdg-popup.c, subsurface.c in order to track damage
associated with new XDG subsurfaces.

5 years agoUpdate README.md
Johan Malm [Mon, 1 Mar 2021 18:41:01 +0000 (18:41 +0000)]
Update README.md

5 years agoSet default A-F3 binding to bemenu instead of dmenu
Johan Malm [Mon, 1 Mar 2021 18:40:11 +0000 (18:40 +0000)]
Set default A-F3 binding to bemenu instead of dmenu

5 years agoview.c: refactor view_maximize()
Johan Malm [Mon, 1 Mar 2021 18:15:02 +0000 (18:15 +0000)]
view.c: refactor view_maximize()

5 years agomaximize: choose output based on center of view
Johan Malm [Mon, 1 Mar 2021 17:59:09 +0000 (17:59 +0000)]
maximize: choose output based on center of view

5 years agoview.c: remember unmaximized geometry
Johan Malm [Sun, 28 Feb 2021 18:12:10 +0000 (18:12 +0000)]
view.c: remember unmaximized geometry

5 years agoMerge branch 'master' into output-management
Alex Bryan [Sun, 28 Feb 2021 18:11:33 +0000 (13:11 -0500)]
Merge branch 'master' into output-management

5 years agoUpdate layer-shell protocol 1.3 -> 1.4 (issue #18)
Johan Malm [Sun, 28 Feb 2021 17:32:58 +0000 (17:32 +0000)]
Update layer-shell protocol 1.3 -> 1.4 (issue #18)

5 years agoMerge pull request #17 from apbryan/master
Johan Malm [Sun, 28 Feb 2021 09:32:39 +0000 (09:32 +0000)]
Merge pull request #17 from apbryan/master

Add basic maximize support

5 years agoAdd placeholder output-config verification
Alex Bryan [Sun, 28 Feb 2021 05:08:47 +0000 (00:08 -0500)]
Add placeholder output-config verification

Added a placeholder function to verify an output configuration that
we've received from a client via output-management-v1. Currently we just
assume the config is valid and teturn true, but we should really look
at the config before applying it

5 years agoAdded initial wlr-output-management-unstable-v1 support
Alex Bryan [Sun, 28 Feb 2021 04:15:02 +0000 (23:15 -0500)]
Added initial wlr-output-management-unstable-v1 support

Was able to use wlr-randr to arrange my monitors correctly.

TODO: test w/ kanshi and handle output_manager->events.test event

5 years agoMerge branch 'maximize'
Alex Bryan [Sat, 27 Feb 2021 22:14:24 +0000 (17:14 -0500)]
Merge branch 'maximize'

5 years agoAdded basic maximize support for xdg and xwayland
Alex Bryan [Sat, 27 Feb 2021 22:10:53 +0000 (17:10 -0500)]
Added basic maximize support for xdg and xwayland

5 years agocursor.c: set cursor_name correctly when not over decoration
Johan Malm [Sat, 27 Feb 2021 19:26:13 +0000 (19:26 +0000)]
cursor.c: set cursor_name correctly when not over decoration

5 years agoSimplify view margin/padding related code
Johan Malm [Sat, 27 Feb 2021 16:55:10 +0000 (16:55 +0000)]
Simplify view margin/padding related code

Fix xdg-shell CSD resize bug

5 years agoUpdate README.md
Johan Malm [Fri, 26 Feb 2021 19:18:52 +0000 (19:18 +0000)]
Update README.md

5 years agomain.c: declare theme within main()
Johan Malm [Thu, 25 Feb 2021 22:14:07 +0000 (22:14 +0000)]
main.c: declare theme within main()

5 years agomv theme.c ..
Johan Malm [Sun, 21 Feb 2021 22:18:34 +0000 (22:18 +0000)]
mv theme.c ..

5 years agoMerge theme.c and theme-builtin.c
Johan Malm [Sun, 21 Feb 2021 22:13:18 +0000 (22:13 +0000)]
Merge theme.c and theme-builtin.c

5 years agotheme: add theme_finish()
Johan Malm [Sun, 21 Feb 2021 22:03:14 +0000 (22:03 +0000)]
theme: add theme_finish()

5 years agoAdd zfree
Johan Malm [Sun, 21 Feb 2021 21:59:53 +0000 (21:59 +0000)]
Add zfree

5 years agoUn-global theme variable
Johan Malm [Sun, 21 Feb 2021 21:54:40 +0000 (21:54 +0000)]
Un-global theme variable

5 years agoReload buttons in SIGHUP
Johan Malm [Sun, 21 Feb 2021 21:14:06 +0000 (21:14 +0000)]
Reload buttons in SIGHUP

Call xbm_load() from theme_init()

5 years agoREADME.md: re-order dependencies
Johan Malm [Fri, 19 Feb 2021 23:33:21 +0000 (23:33 +0000)]
README.md: re-order dependencies

5 years agomenu: minor refactoring
Johan Malm [Fri, 19 Feb 2021 23:31:14 +0000 (23:31 +0000)]
menu: minor refactoring

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