Commit graph

2505 commits

Author SHA1 Message Date
Johan Malm
7afc189c06 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.
2020-08-31 08:17:34 +01:00
Johan Malm
127eddfd96 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.
2020-08-31 08:12:44 +01:00
Johan Malm
9d408aad73 tools/hex: print mean #rrggbb value 2020-08-21 20:35:42 +01:00
Johan Malm
83331e57ed Support inactive unpressed icons 2020-08-21 20:35:06 +01:00
Johan Malm
e62c251a74 common/dir.c: fix double free 2020-08-21 20:01:08 +01:00
Johan Malm
cda27da33e theme: set sane values if no theme found 2020-08-21 19:54:28 +01:00
Johan Malm
e25118d8ec rcxml: set empty variables in post_processing()
Avoid crash if no config file can be found
2020-08-21 19:47:50 +01:00
Johan Malm
5122a9be69 Support icon colors
xbm/parse: support specifiying color when loading icon
theme.c: parse window.active.button.unpressed.image.color
2020-08-21 19:43:34 +01:00
Johan Malm
4f96230ebf view: add defence 2020-08-20 21:13:37 +01:00
Johan Malm
a72c40a6b4 Move xwl_nr_parents() 2020-08-20 21:13:04 +01:00
Johan Malm
814ea5cb11 deco: add missing return type 2020-08-19 21:06:27 +01:00
Johan Malm
eabeb70081 xwl: tidy up linked lists on destroy 2020-08-19 20:52:27 +01:00
Johan Malm
41b60e1cae src/deco.c: add some defence 2020-08-19 20:51:26 +01:00
Johan Malm
44d8245cfc src/view.c: focus_view() handle xwayland children 2020-08-19 20:47:49 +01:00
Johan Malm
40c606a78d src/view.c: refactor is_toplevel() 2020-08-19 20:27:28 +01:00
Johan Malm
7610063b46 meson.build: remove werror=true 2020-08-18 20:16:05 +01:00
Johan Malm
fd20570861 common/dir.c: add strfreev() 2020-08-18 20:15:14 +01:00
Johan Malm
66b490d853 main.c: release default font map on exit 2020-08-18 20:07:14 +01:00
Johan Malm
9fc6e27252 labwc.1.md: fix typo 2020-08-18 20:03:52 +01:00
Johan Malm
9289fc6980 Update README.md 2020-08-17 21:26:03 +01:00
Johan Malm
ac2faf02f1 tools/dirs: tidy up 2020-08-17 21:25:38 +01:00
Johan Malm
c85c51c077 tools/build: add some options 2020-08-14 22:39:23 +01:00
Johan Malm
759b8e2757 common/font.c: add cairo_destroy() 2020-08-14 17:57:18 +01:00
Johan Malm
7affa5f05d
Merge pull request #2 from brodi1/patch-1
README.md: add grim URL
2020-08-14 17:55:07 +01:00
Brodi
41ca7dba59
added grim href/URL in README.md 2020-08-14 10:14:39 +02:00
Johan Malm
3e8c28b131 Add tools/run 2020-08-13 20:27:34 +01:00
Johan Malm
68fb8a3af5 rcxml: add rcxml_finish() 2020-08-13 20:20:44 +01:00
Johan Malm
c6c73366d2 view: is_toplevel() deal with !view 2020-08-12 19:44:54 +01:00
Johan Malm
fc2754ac89 xbm/parse: use uint32 instead of int for << 24 2020-08-12 19:42:59 +01:00
Johan Malm
2a17df0f8b Add log.c with info() and warn() 2020-08-12 19:37:44 +01:00
Johan Malm
5ea1527558 xbm: parse_xbm_builtin() remove hard-coded values 2020-08-11 21:45:52 +01:00
Johan Malm
5dbc87a1f9 xbm: remove "loading" message 2020-08-11 21:28:59 +01:00
Johan Malm
f1b4aaa89f xbm/parse: covert rgba to uint32 correctly 2020-08-11 21:20:38 +01:00
Johan Malm
f635d834ee rcxml: remove "[bind]" message 2020-08-11 21:12:02 +01:00
Johan Malm
ce2dc46855 server: fix wlr_xcursor_manager_load() ret val
Return value changed in wlroots 0.11.0
2020-08-11 21:07:23 +01:00
Johan Malm
f003abf608 Simplify and merge {config,theme}-dir.c 2020-08-10 17:24:17 +01:00
Johan Malm
fc6fca6945 src/theme/theme-dir.c: support colon separated XDG_* env vars 2020-08-07 20:40:46 +01:00
Johan Malm
ff03f1d6aa src/view.c: refactor 2020-08-07 20:39:11 +01:00
Johan Malm
d3e9f9a07f Update labwc(1) and labwc(5) 2020-08-07 20:35:18 +01:00
Johan Malm
649437e336 include/: tidy up header files 2020-08-07 20:21:14 +01:00
Johan Malm
2d6921039d Update labwc(5) 2020-08-06 15:13:27 +01:00
Johan Malm
f199fc4779 tokenize.c, parse.c: rename functions 2020-08-06 15:09:13 +01:00
Johan Malm
6627a47305 s/xbm_read_file()/grab_file/() 2020-08-06 15:01:08 +01:00
Johan Malm
042c157378 Track server-side-decoration per view 2020-08-06 14:51:45 +01:00
Johan Malm
44df6c896d view.c: tweak view_want_deco() 2020-08-05 20:54:15 +01:00
Johan Malm
2297e43cc0 Base rc.title_height on font vertical extents 2020-08-05 20:14:17 +01:00
Johan Malm
4d1363dcae include/: refactor header files more 2020-08-03 20:56:38 +01:00
Johan Malm
53266a0d5a include/: refactor header files 2020-07-31 21:31:03 +01:00
Johan Malm
82dc192217 rcxml.c: parse font name+size for ActiveWindow
For example:

    <theme>
      <font place="ActiveWindow">
        <name>sans</name>
        <size>8</size>
      </font>
    </theme>
2020-07-31 11:11:50 +01:00
Johan Malm
61843b120b Update README.md 2020-07-28 21:35:55 +01:00