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

5 years agosrc/view.c: refactor is_toplevel()
Johan Malm [Wed, 19 Aug 2020 19:27:28 +0000 (20:27 +0100)]
src/view.c: refactor is_toplevel()

5 years agomeson.build: remove werror=true
Johan Malm [Tue, 18 Aug 2020 19:16:05 +0000 (20:16 +0100)]
meson.build: remove werror=true

5 years agocommon/dir.c: add strfreev()
Johan Malm [Tue, 18 Aug 2020 19:15:14 +0000 (20:15 +0100)]
common/dir.c: add strfreev()

5 years agomain.c: release default font map on exit
Johan Malm [Tue, 18 Aug 2020 19:07:14 +0000 (20:07 +0100)]
main.c: release default font map on exit

5 years agolabwc.1.md: fix typo
Johan Malm [Tue, 18 Aug 2020 19:03:52 +0000 (20:03 +0100)]
labwc.1.md: fix typo

5 years agoUpdate README.md
Johan Malm [Mon, 17 Aug 2020 20:26:03 +0000 (21:26 +0100)]
Update README.md

5 years agotools/dirs: tidy up
Johan Malm [Mon, 17 Aug 2020 20:25:38 +0000 (21:25 +0100)]
tools/dirs: tidy up

5 years agotools/build: add some options
Johan Malm [Fri, 14 Aug 2020 21:39:23 +0000 (22:39 +0100)]
tools/build: add some options

5 years agocommon/font.c: add cairo_destroy()
Johan Malm [Fri, 14 Aug 2020 16:57:18 +0000 (17:57 +0100)]
common/font.c: add cairo_destroy()

5 years agoMerge pull request #2 from brodi1/patch-1
Johan Malm [Fri, 14 Aug 2020 16:55:07 +0000 (17:55 +0100)]
Merge pull request #2 from brodi1/patch-1

README.md: add grim URL

5 years agoadded grim href/URL in README.md
Brodi [Fri, 14 Aug 2020 08:14:39 +0000 (10:14 +0200)]
added grim href/URL in README.md

5 years agoAdd tools/run
Johan Malm [Thu, 13 Aug 2020 19:27:34 +0000 (20:27 +0100)]
Add tools/run

5 years agorcxml: add rcxml_finish()
Johan Malm [Thu, 13 Aug 2020 19:18:48 +0000 (20:18 +0100)]
rcxml: add rcxml_finish()

5 years agoview: is_toplevel() deal with !view
Johan Malm [Wed, 12 Aug 2020 18:44:54 +0000 (19:44 +0100)]
view: is_toplevel() deal with !view

5 years agoxbm/parse: use uint32 instead of int for << 24
Johan Malm [Wed, 12 Aug 2020 18:42:59 +0000 (19:42 +0100)]
xbm/parse: use uint32 instead of int for << 24

5 years agoAdd log.c with info() and warn()
Johan Malm [Wed, 12 Aug 2020 18:37:44 +0000 (19:37 +0100)]
Add log.c with info() and warn()

5 years agoxbm: parse_xbm_builtin() remove hard-coded values
Johan Malm [Tue, 11 Aug 2020 20:45:52 +0000 (21:45 +0100)]
xbm: parse_xbm_builtin() remove hard-coded values

5 years agoxbm: remove "loading" message
Johan Malm [Tue, 11 Aug 2020 20:28:59 +0000 (21:28 +0100)]
xbm: remove "loading" message

5 years agoxbm/parse: covert rgba to uint32 correctly
Johan Malm [Tue, 11 Aug 2020 20:20:38 +0000 (21:20 +0100)]
xbm/parse: covert rgba to uint32 correctly

5 years agorcxml: remove "[bind]" message
Johan Malm [Tue, 11 Aug 2020 20:12:02 +0000 (21:12 +0100)]
rcxml: remove "[bind]" message

5 years agoserver: fix wlr_xcursor_manager_load() ret val
Johan Malm [Tue, 11 Aug 2020 20:07:23 +0000 (21:07 +0100)]
server: fix wlr_xcursor_manager_load() ret val

Return value changed in wlroots 0.11.0

5 years agoSimplify and merge {config,theme}-dir.c
Johan Malm [Mon, 10 Aug 2020 16:24:17 +0000 (17:24 +0100)]
Simplify and merge {config,theme}-dir.c

5 years agosrc/theme/theme-dir.c: support colon separated XDG_* env vars
Johan Malm [Fri, 7 Aug 2020 19:40:46 +0000 (20:40 +0100)]
src/theme/theme-dir.c: support colon separated XDG_* env vars

5 years agosrc/view.c: refactor
Johan Malm [Fri, 7 Aug 2020 19:39:11 +0000 (20:39 +0100)]
src/view.c: refactor