]> git.mdlowis.com Git - proto/labwc.git/log
proto/labwc.git
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/

5 years agoUpdate .clang-format
Johan Malm [Mon, 28 Sep 2020 19:41:41 +0000 (20:41 +0100)]
Update .clang-format

Align with wlroots style

5 years agolabwc(1): add note on SIGHUP
Johan Malm [Fri, 25 Sep 2020 19:35:48 +0000 (20:35 +0100)]
labwc(1): add note on SIGHUP

5 years agoUpdate README.md
Johan Malm [Fri, 25 Sep 2020 19:27:03 +0000 (20:27 +0100)]
Update README.md

5 years agoRefactor header files
Johan Malm [Fri, 25 Sep 2020 19:25:45 +0000 (20:25 +0100)]
Refactor header files

5 years agoxdg: only position topmost view
Johan Malm [Fri, 25 Sep 2020 19:22:18 +0000 (20:22 +0100)]
xdg: only position topmost view

5 years agoaction: fix build warning
Johan Malm [Fri, 25 Sep 2020 19:05:20 +0000 (20:05 +0100)]
action: fix build warning

5 years agoReload config+theme on SIGHUP
Johan Malm [Fri, 25 Sep 2020 18:42:40 +0000 (19:42 +0100)]
Reload config+theme on SIGHUP

5 years agoaction: refactor action()
Johan Malm [Fri, 25 Sep 2020 18:37:51 +0000 (19:37 +0100)]
action: refactor action()

5 years agoUpdate README.md
Johan Malm [Mon, 21 Sep 2020 19:02:29 +0000 (20:02 +0100)]
Update README.md

5 years agoserver: support screen recording
Johan Malm [Mon, 21 Sep 2020 18:52:14 +0000 (19:52 +0100)]
server: support screen recording

Works with wf-recorder

5 years agoUpdate README.md
Johan Malm [Mon, 21 Sep 2020 18:51:16 +0000 (19:51 +0100)]
Update README.md

5 years agodeco: refactor button code
Johan Malm [Mon, 21 Sep 2020 18:24:27 +0000 (19:24 +0100)]
deco: refactor button code

- Make the height+width of buttons the same as the title bar.
- Center icons within the 'button space'
- Show button background color on hover (just hard-coded grey for now)

5 years agodesktop: focus next 'mapped' view on minimize
Johan Malm [Fri, 18 Sep 2020 19:28:48 +0000 (20:28 +0100)]
desktop: focus next 'mapped' view on minimize

5 years agoxwayland: constrain view to top/left edge
Johan Malm [Thu, 17 Sep 2020 20:11:54 +0000 (21:11 +0100)]
xwayland: constrain view to top/left edge

5 years agorcxml: s/csd/xdg_shell_server_side_deco
Johan Malm [Tue, 15 Sep 2020 20:10:02 +0000 (21:10 +0100)]
rcxml: s/csd/xdg_shell_server_side_deco

5 years agoview: add 'struct border margin'
Johan Malm [Tue, 15 Sep 2020 19:41:01 +0000 (20:41 +0100)]
view: add 'struct border margin'

Simplify various view interfaces as a result

5 years agoSplit theme-builtin.c into a separate file
Johan Malm [Tue, 15 Sep 2020 19:01:41 +0000 (20:01 +0100)]
Split theme-builtin.c into a separate file

5 years agoImprove log messages for reading config+theme
Johan Malm [Mon, 14 Sep 2020 17:17:36 +0000 (18:17 +0100)]
Improve log messages for reading config+theme

5 years agoview: remove view_hasfocus()
Johan Malm [Mon, 14 Sep 2020 16:42:39 +0000 (17:42 +0100)]
view: remove view_hasfocus()

5 years agodesktop: handle minimized views better
Johan Malm [Mon, 14 Sep 2020 16:35:44 +0000 (17:35 +0100)]
desktop: handle minimized views better

5 years agoREADME.md: add default keybinds
Johan Malm [Fri, 11 Sep 2020 20:01:47 +0000 (21:01 +0100)]
README.md: add default keybinds

5 years agorcxml: amend default keybinds
Johan Malm [Fri, 11 Sep 2020 19:51:25 +0000 (20:51 +0100)]
rcxml: amend default keybinds

A-F2 to cycle view
A-F3 to launch dmenu_run

5 years agoAdd desktop.c
Johan Malm [Fri, 11 Sep 2020 19:48:28 +0000 (20:48 +0100)]
Add desktop.c

Move from view.c functions which work on server->views

5 years agolog: simplify info message
Johan Malm [Thu, 10 Sep 2020 21:26:10 +0000 (22:26 +0100)]
log: simplify info message

5 years agooutput: draw openbox style view-cycle border
Johan Malm [Thu, 10 Sep 2020 21:25:26 +0000 (22:25 +0100)]
output: draw openbox style view-cycle border

5 years agorcxml: remove invalid keybind
Johan Malm [Wed, 9 Sep 2020 17:58:02 +0000 (18:58 +0100)]
rcxml: remove invalid keybind

5 years agoview: add functions view_{un,}minimize
Johan Malm [Tue, 8 Sep 2020 19:51:33 +0000 (20:51 +0100)]
view: add functions view_{un,}minimize

5 years agoview: move xwayland sub-views to front on focus
Johan Malm [Tue, 8 Sep 2020 19:35:20 +0000 (20:35 +0100)]
view: move xwayland sub-views to front on focus

5 years agolabwc.h: remove "extern struct server server"
Johan Malm [Tue, 8 Sep 2020 19:18:12 +0000 (20:18 +0100)]
labwc.h: remove "extern struct server server"

5 years agotests: avoid fontconfig ASAN warnings
Johan Malm [Mon, 7 Sep 2020 19:14:46 +0000 (20:14 +0100)]
tests: avoid fontconfig ASAN warnings

5 years agoview: read xwayland_surface->{w,h} in .commit
Johan Malm [Mon, 7 Sep 2020 19:08:55 +0000 (20:08 +0100)]
view: read xwayland_surface->{w,h} in .commit

5 years agooutput: avoid calling wlr_xdg_surface_get_geometry()
Johan Malm [Mon, 7 Sep 2020 18:50:19 +0000 (19:50 +0100)]
output: avoid calling wlr_xdg_surface_get_geometry()

Try to only call wlr_xdg_surface_get_geometry() in .commit and .map

5 years agoview: refactor view_next()
Johan Malm [Mon, 7 Sep 2020 18:47:11 +0000 (19:47 +0100)]
view: refactor view_next()

5 years agoxwayland.c: add view to list in new/destroy
Johan Malm [Mon, 7 Sep 2020 18:34:11 +0000 (19:34 +0100)]
xwayland.c: add view to list in new/destroy

5 years agomv xwl.c xwayland.c
Johan Malm [Fri, 4 Sep 2020 19:32:41 +0000 (20:32 +0100)]
mv xwl.c xwayland.c

5 years agoAdd xwayland-unmanaged.c
Johan Malm [Fri, 4 Sep 2020 19:25:20 +0000 (20:25 +0100)]
Add xwayland-unmanaged.c

Handle xwayland override_direct surfaces separately from the view
struct - in order to simplify code, particularly in view.c

5 years agoxdg,xwl: rename functions
Johan Malm [Thu, 3 Sep 2020 20:40:27 +0000 (21:40 +0100)]
xdg,xwl: rename functions

5 years agolabwc(1): add references to new man pages
Johan Malm [Thu, 3 Sep 2020 20:06:30 +0000 (21:06 +0100)]
labwc(1): add references to new man pages

5 years agoUpdate README.md
Johan Malm [Thu, 3 Sep 2020 20:06:08 +0000 (21:06 +0100)]
Update README.md

5 years agoAdd view_impl .map and .unmap
Johan Malm [Thu, 3 Sep 2020 19:50:35 +0000 (20:50 +0100)]
Add view_impl .map and .unmap

Hook up iconify button to view->impl->unmap

5 years agoSplit labwc(5) into {-config, -theme, -actions}
Johan Malm [Wed, 2 Sep 2020 20:09:38 +0000 (21:09 +0100)]
Split labwc(5) into {-config, -theme, -actions}

5 years agokeybind: s/add/create/
Johan Malm [Wed, 2 Sep 2020 20:05:28 +0000 (21:05 +0100)]
keybind: s/add/create/

5 years agodeco.c: add enum end-marker
Johan Malm [Wed, 2 Sep 2020 20:04:31 +0000 (21:04 +0100)]
deco.c: add enum end-marker

5 years agoAdd view_impl .close
Johan Malm [Wed, 2 Sep 2020 20:00:28 +0000 (21:00 +0100)]
Add view_impl .close

5 years agoview.c: simplify view_at()
Johan Malm [Wed, 2 Sep 2020 19:26:18 +0000 (20:26 +0100)]
view.c: simplify view_at()

5 years agoAdd struct view_impl
Johan Malm [Wed, 2 Sep 2020 19:20:52 +0000 (20:20 +0100)]
Add struct view_impl

Support .configure

5 years agoUpdate README.md
Johan Malm [Tue, 1 Sep 2020 18:45:36 +0000 (19:45 +0100)]
Update README.md

5 years agomv dbg.c ..
Johan Malm [Mon, 31 Aug 2020 19:04:47 +0000 (20:04 +0100)]
mv dbg.c ..

5 years agomv xbm/ ..
Johan Malm [Mon, 31 Aug 2020 19:01:08 +0000 (20:01 +0100)]
mv xbm/ ..

5 years agoxwl.c: only add surfaces to view-list on first map
Johan Malm [Mon, 31 Aug 2020 07:33:23 +0000 (08:33 +0100)]
xwl.c: only add surfaces to view-list on first map

X11 apps produce surfaces which are never mapped. Excluding these from
the view-list simplifices the code.

5 years agocommon/dir.c: do not include openbox/ dirs
Johan Malm [Mon, 31 Aug 2020 07:17:34 +0000 (08:17 +0100)]
common/dir.c: do not include openbox/ dirs

It is better to be explicit with config files and only using those
specifically intended for labwc. Whilst compatibility with openbox is
intended, there are areas where it just doesn't make sense to include
settings intended for openbox, for example in the case of
$HOME/.config/openbox/autostart

With built-in icons and theme/config settings, it should be easy for new
users to get started without spending time on config files anyway.

5 years agoHandle commit signal
Johan Malm [Mon, 31 Aug 2020 07:12:44 +0000 (08:12 +0100)]
Handle commit signal

wlr_surface can change during xwayland map/unmap, so let's only update
view width and height after commit signal has been received.

5 years agotools/hex: print mean #rrggbb value
Johan Malm [Fri, 21 Aug 2020 19:35:42 +0000 (20:35 +0100)]
tools/hex: print mean #rrggbb value

5 years agoSupport inactive unpressed icons
Johan Malm [Fri, 21 Aug 2020 19:35:06 +0000 (20:35 +0100)]
Support inactive unpressed icons

5 years agocommon/dir.c: fix double free
Johan Malm [Fri, 21 Aug 2020 19:01:08 +0000 (20:01 +0100)]
common/dir.c: fix double free

5 years agotheme: set sane values if no theme found
Johan Malm [Fri, 21 Aug 2020 18:54:28 +0000 (19:54 +0100)]
theme: set sane values if no theme found

5 years agorcxml: set empty variables in post_processing()
Johan Malm [Fri, 21 Aug 2020 18:47:50 +0000 (19:47 +0100)]
rcxml: set empty variables in post_processing()

Avoid crash if no config file can be found

5 years agoSupport icon colors
Johan Malm [Fri, 21 Aug 2020 18:43:34 +0000 (19:43 +0100)]
Support icon colors

xbm/parse: support specifiying color when loading icon
theme.c: parse window.active.button.unpressed.image.color

5 years agoview: add defence
Johan Malm [Thu, 20 Aug 2020 20:13:37 +0000 (21:13 +0100)]
view: add defence

5 years agoMove xwl_nr_parents()
Johan Malm [Thu, 20 Aug 2020 20:13:04 +0000 (21:13 +0100)]
Move xwl_nr_parents()

5 years agodeco: add missing return type
Johan Malm [Wed, 19 Aug 2020 20:06:27 +0000 (21:06 +0100)]
deco: add missing return type

5 years agoxwl: tidy up linked lists on destroy
Johan Malm [Wed, 19 Aug 2020 19:52:27 +0000 (20:52 +0100)]
xwl: tidy up linked lists on destroy

5 years agosrc/deco.c: add some defence
Johan Malm [Wed, 19 Aug 2020 19:51:26 +0000 (20:51 +0100)]
src/deco.c: add some defence

5 years agosrc/view.c: focus_view() handle xwayland children
Johan Malm [Wed, 19 Aug 2020 19:47:49 +0000 (20:47 +0100)]
src/view.c: focus_view() handle xwayland children