Commit graph

3232 commits

Author SHA1 Message Date
Johan Malm
5181a0ac52 log: simplify info message 2020-09-10 22:26:10 +01:00
Johan Malm
0b834c2efa output: draw openbox style view-cycle border 2020-09-10 22:25:26 +01:00
Johan Malm
c0a807765e rcxml: remove invalid keybind 2020-09-09 18:58:02 +01:00
Johan Malm
49e499d255 view: add functions view_{un,}minimize 2020-09-08 20:51:33 +01:00
Johan Malm
d782e48204 view: move xwayland sub-views to front on focus 2020-09-08 20:35:20 +01:00
Johan Malm
e99d0bb34e labwc.h: remove "extern struct server server" 2020-09-08 20:18:12 +01:00
Johan Malm
84ebd2dae5 tests: avoid fontconfig ASAN warnings 2020-09-07 20:14:46 +01:00
Johan Malm
db02ef86b1 view: read xwayland_surface->{w,h} in .commit 2020-09-07 20:08:55 +01:00
Johan Malm
17f7ef53be output: avoid calling wlr_xdg_surface_get_geometry()
Try to only call wlr_xdg_surface_get_geometry() in .commit and .map
2020-09-07 19:50:19 +01:00
Johan Malm
afaf78aa72 view: refactor view_next() 2020-09-07 19:47:11 +01:00
Johan Malm
b8fd4fed53 xwayland.c: add view to list in new/destroy 2020-09-07 19:34:11 +01:00
Johan Malm
8846998b75 mv xwl.c xwayland.c 2020-09-04 20:32:41 +01:00
Johan Malm
8e7f2e78cd Add xwayland-unmanaged.c
Handle xwayland override_direct surfaces separately from the view
struct - in order to simplify code, particularly in view.c
2020-09-04 20:25:20 +01:00
Johan Malm
d831743b25 xdg,xwl: rename functions 2020-09-03 21:40:27 +01:00
Johan Malm
1b65456f8c labwc(1): add references to new man pages 2020-09-03 21:06:30 +01:00
Johan Malm
175985c96a Update README.md 2020-09-03 21:06:08 +01:00
Johan Malm
bf3e4aa8d5 Add view_impl .map and .unmap
Hook up iconify button to view->impl->unmap
2020-09-03 21:05:00 +01:00
Johan Malm
98c556be2a Split labwc(5) into {-config, -theme, -actions} 2020-09-02 21:09:38 +01:00
Johan Malm
b2504bdf9a keybind: s/add/create/ 2020-09-02 21:05:28 +01:00
Johan Malm
97c29987e2 deco.c: add enum end-marker 2020-09-02 21:04:31 +01:00
Johan Malm
625722cb66 Add view_impl .close 2020-09-02 21:00:28 +01:00
Johan Malm
b99977368d view.c: simplify view_at() 2020-09-02 20:26:18 +01:00
Johan Malm
c56fe23b2e Add struct view_impl
Support .configure
2020-09-02 20:20:52 +01:00
Johan Malm
8fb56a94ba Update README.md 2020-09-01 19:45:36 +01:00
Johan Malm
d9b1d24919 mv dbg.c .. 2020-08-31 20:04:47 +01:00
Johan Malm
fd8d9a395d mv xbm/ .. 2020-08-31 20:01:08 +01:00
Johan Malm
a042aad9f6 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.
2020-08-31 08:33:23 +01:00
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