Commit graph

425 commits

Author SHA1 Message Date
Ezequiel Garcia
ccfa7a60db meson: Use wrap files to manage dependencies
This simplifies building as there's no need to manually
git clone subprojects anymore.

Building is now as simple as:

    meson build
    ninja -C build

In order to update the subprojects, meson provides:

    meson subprojects update
2021-06-26 18:12:24 +01:00
Johan Malm
448b3c5870 build: bump wlroots dependency to 0.15.0 2021-06-26 10:12:52 +01:00
Jan Beich
874cc9e637 xdg: chase swaywm/wlroots@9e58301df7
src/xdg.c:269:48: error: no member named 'subsurfaces' in 'struct wlr_surface'
                wl_list_for_each(subsurface, &view->surface->subsurfaces,
                                              ~~~~~~~~~~~~~  ^
/usr/include/wayland-util.h:443:30: note: expanded from macro 'wl_list_for_each'
        for (pos = wl_container_of((head)->next, pos, member);  \
                                    ^~~~
/usr/include/wayland-util.h:409:32: note: expanded from macro 'wl_container_of'
        (__typeof__(sample))((char *)(ptr) -                            \
                                      ^~~

Based on 3162766eef
2021-06-03 19:27:33 +01:00
Johan Malm
0811c0c37d labwc-config(5): add followMouse and raiseOnFocus 2021-05-28 21:50:27 +01:00
Johan Malm
3c9f6c0551 rcxml: fix typo 2021-05-28 21:31:02 +01:00
Mikhail Kshevetskiy
00db22e44f focus: add basic follow mouse support 2021-05-28 21:25:19 +01:00
Johan Malm
892e93dd84 output: access texture width/height directly
wlr_texture_get_size() is removed in wlroots@6369f709 so we have to
access width and height directly.
2021-05-17 19:55:57 +01:00
Johan Malm
9769fad7a5 README: update wlroots dependency + minor tweak to intro 2021-04-17 14:34:29 +01:00
Johan Malm
6744e10301 meson.build: require wlroots ['>=0.14.0', '<0.15.0']
Also specify required version when using wlroots as subproject
2021-04-17 14:26:25 +01:00
Johan Malm
147bd706d4 meson.build: require wayland-server >=1.19.0
Fix typo - it previously said 0.19.0
2021-04-17 14:21:42 +01:00
Johan Malm
981c03e7e4 meson.build: update version 2021-04-17 14:18:52 +01:00
Johan Malm
9316c842b1 Update NEWS.md 2021-04-16 20:52:26 +01:00
Jan Beich
b997d8e793 meson: unbreak with system wlroots after fd4ea3542f
meson.build:50:2: ERROR: All keyword arguments must be after positional arguments.
2021-04-15 22:21:06 +01:00
Johan Malm
560a06cbf1 NEWS.md: fix typo 2021-04-15 21:49:52 +01:00
Johan Malm
fd4ea3542f labwc 0.2.0 2021-04-15 21:35:47 +01:00
Johan Malm
a120cc0cac README: remove old scrot 2021-04-15 21:32:14 +01:00
Johan Malm
20f9f320ac NEWS.md: update for v0.2.0 2021-04-15 21:31:09 +01:00
Johan Malm
985ffd3691 xdg: fix subsurface damage bug
Create struct view_child for each wlr_surface subsurface on first view
map. Firefox doesn't damage properly without this.
2021-04-15 20:37:57 +01:00
Johan Malm
2f5a44d34d theme: move title_height to theme struct
title_height is a derived variable which needs both config and theme
variables (font height and title padding). The code is tidier calling
post_processing() for this from theme_init()
2021-04-15 20:13:49 +01:00
Johan Malm
85c775c3b1 theme: update built-in theme colors
Use #dddad6 for active title/border and #f6f5f4 for inactive.
It matches default GTK colors reasonably well.
2021-04-10 19:30:39 +01:00
Johan Malm
be942a6413 theme: fix pattern match bug
Remove 'else' from if-statements in order for the pattern match to apply
to more than just the first instance of each match.
2021-04-10 19:17:39 +01:00
Johan Malm
8f8a6dfea1 theme: add window.inactive.border.color 2021-04-10 19:11:29 +01:00
Johan Malm
31d3a53e46 theme: add window.active.border.color
This replaces window.active.handle.bg.color which will no longer be
supported.
2021-04-10 18:40:43 +01:00
Johan Malm
f3a0db29f5 README: fix typo and refactor links 2021-04-10 09:30:48 +01:00
Johan Malm
44553d8bde README: turn configure section into a table 2021-04-10 09:20:10 +01:00
Johan Malm
d30a789fed labwc(1): minor re-wording 2021-04-10 09:19:35 +01:00
Johan Malm
bad3311ae5 Add example autostart and environment files 2021-04-10 09:18:30 +01:00
Johan Malm
fbfa0c4a9e Add labwc-environment(5) 2021-04-10 09:17:41 +01:00
Johan Malm
f5689410be README/meson.build: update dependencies 2021-04-10 08:30:56 +01:00
Johan Malm
11e376e050 README: update "what" section 2021-04-10 08:27:47 +01:00
Johan Malm
584c19e329 README: fix typo 2021-04-10 08:14:33 +01:00
Johan Malm
bb5e44a143 seat: remove warning for libinput finger count 2021-04-08 17:09:06 +01:00
Johan Malm
6952bdfebc README: update acceptance criteria section 2021-03-30 22:43:05 +01:00
Johan Malm
02628bde38 s/LAB_ADAPTIVE_SYNC/LABWC_ADAPTIVE_SYNC/
Use the the prefix LABWC_ for environment variable to increase
consistency.
2021-03-30 22:41:17 +01:00
Johan Malm
0a6eead36b rcxml: simplify debugging nodenames 2021-03-30 22:40:41 +01:00
Johan Malm
a5139815d6 config: add <theme><cornerRadius> 2021-03-30 22:39:52 +01:00
Johan Malm
cd313fd97a README: update progress summary 2021-03-29 19:36:46 +01:00
Johan Malm
2186aac610 seat: add missing damage_all_outputs() 2021-03-29 19:35:25 +01:00
Johan Malm
b3a73a9fdc theme: support border.width 2021-03-27 21:09:45 +00:00
Johan Malm
fdfb12b2ce Added support for rounded corners 2021-03-27 21:04:12 +00:00
Johan Malm
91374e09c0 cursor: damage output on pressing view 2021-03-26 20:12:01 +00:00
Johan Malm
be27024a2a output: optionally call wlr_output_enable_adaptive_sync()
Set environment variable LAB_ADAPTIVE_SYNC to enable adaptive sync.
2021-03-22 21:25:51 +00:00
Johan Malm
2a48f2801b Create a linked list of SSD for each view 2021-03-21 21:46:16 +00:00
Johan Malm
f863e1916d view: scale maximize geometry correctly 2021-03-21 21:06:45 +00:00
Johan Malm
fc76100fd5 Add ssd.h 2021-03-21 20:54:55 +00:00
Johan Malm
4127643cc1 README: add link to labwc-menu(5) 2021-03-20 14:42:23 +00:00
Johan Malm
a262b729df Rename deco.c ssd.c 2021-03-20 14:41:39 +00:00
Johan Malm
15ffee79f9 view: refactor view_maximize() 2021-03-20 14:36:40 +00:00
Johan Malm
04d2ae39a9 xdg: improve positioning of new xdg-toplevel views
Top/left align topmost parent.
Center-align children relative to parent.
2021-03-20 14:30:45 +00:00
Johan Malm
8898693160 view: scale view_maximize() 2021-03-20 14:26:32 +00:00