Commit graph

399 commits

Author SHA1 Message Date
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
Johan Malm
6737aeabcd output: scale sdd and menu 2021-03-20 14:24:31 +00:00
Johan Malm
2061c6af14 Add labwc-menu(5) 2021-03-19 21:20:54 +00:00
Johan Malm
54e458147a README: link to man pages in raw format to improve readability 2021-03-18 21:43:13 +00:00
Johan Malm
a8160a7857 README: minor appearance tweaks 2021-03-18 21:42:37 +00:00
Johan Malm
188900c4ba README: update aims 2021-03-18 21:41:54 +00:00
Johan Malm
da5bceea93 session.h: update session_environment_init() comment 2021-03-18 19:39:08 +00:00
Johan Malm
1cb8095bb7 meson.build: add rev-parse to version number 2021-03-17 21:21:49 +00:00
Johan Malm
d839889972 xdg: start unmaximized
Some xdg-shell applications remember the (un)maximized states when last
closed. We could honour this state, but it makes the code cumbersome
regarding padding and position. Prefer to keep it simple.
2021-03-17 20:56:03 +00:00
Johan Malm
887cddd770 README: update table-of-contents 2021-03-16 21:27:10 +00:00
Johan Malm
6ad6579db1 README: add link to acceptance criteria 2021-03-16 21:25:01 +00:00
Johan Malm
fddeb74527 meson.build: remove -Wno-enum-compare 2021-03-15 18:11:44 +00:00
Johan Malm
0723ae2644 README.md: update dependecy versions 2021-03-15 18:09:36 +00:00
Johan Malm
1fb9d5eaa4 meson.build: add drm dependency for drm_fourcc.h 2021-03-13 23:33:32 +00:00
Jan Beich
0ca3eb8f79 meson: require wlroots 0.13.0 after 15ebd25294
src/server.c:93:61: error: too few arguments to function call, expected 2, have 1
        server->backend = wlr_backend_autocreate(server->wl_display);
                          ~~~~~~~~~~~~~~~~~~~~~~                   ^
subprojects/wlroots/include/wlr/backend.h:43:21: note: 'wlr_backend_autocreate' declared here
struct wlr_backend *wlr_backend_autocreate(struct wl_display *display,
                    ^
src/xdg.c:180:2: warning: implicit declaration of function 'wlr_xdg_surface_for_each_popup_surface' is invalid in C99 [-Wimplicit-function-declaration]
        wlr_xdg_surface_for_each_popup_surface(view->xdg_surface, iterator, data);
        ^
ld: error: undefined symbol: wlr_xdg_surface_for_each_popup_surface
>>> referenced by xdg.c:180 (src/xdg.c:180)
>>>               labwc.p/src_xdg.c.o:(xdg_toplevel_view_for_each_popup_surface)
2021-03-13 23:23:33 +00:00
Jan Beich
c9023dd2c6 menu,xbm: chase swaywm/wlroots@27fba3df43
$ labwc
[...]
00:00:00.063 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.063 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.063 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.063 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.063 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.063 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.064 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.064 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.064 [render/gles2/texture.c:162] Unsupported pixel format 0x0
00:00:00.064 [render/gles2/texture.c:162] Unsupported pixel format 0x0

Based on 66343839b1
2021-03-13 23:23:33 +00:00
Jan Beich
ad07acc13c xdg: chase swaywm/wlroots@f574ca934c
src/xdg.c:180:2: warning: implicit declaration of function 'wlr_xdg_surface_for_each_popup' is invalid in C99 [-Wimplicit-function-declaration]
        wlr_xdg_surface_for_each_popup(view->xdg_surface, iterator, data);
        ^
ld: error: undefined symbol: wlr_xdg_surface_for_each_popup
>>> referenced by xdg.c:180 (src/xdg.c:180)
>>>               labwc.p/src_xdg.c.o:(xdg_toplevel_view_for_each_popup)

Based on 5438cc158a
2021-03-13 23:23:33 +00:00
Jan Beich
2ee21e9a82 server: chase swaywm/wlroots@4b03bdc3ab
src/server.c:93:63: error: too many arguments to function call, expected single argument 'display', have 2 arguments
        server->backend = wlr_backend_autocreate(server->wl_display, NULL);
                          ~~~~~~~~~~~~~~~~~~~~~~                     ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
 #define NULL    ((void *)0)
                 ^~~~~~~~~~~
/usr/local/include/wlr/backend.h:35:21: note: 'wlr_backend_autocreate' declared here
struct wlr_backend *wlr_backend_autocreate(struct wl_display *display);
                    ^

Based on 53f5197c26
2021-03-13 23:23:33 +00:00
Johan Malm
f842394737 output: simplify render_cycle_box() 2021-03-13 11:20:47 +00:00
Johan Malm
954d1fa54e view: only (un)maximize when required 2021-03-12 21:27:17 +00:00
Johan Malm
b8c6f9c216 xdg: update padding on commit
Maximize/unmaximize changes padding on XDG-shell views with CSD, so we
need to update padding to render cycle-view decoration correctly.
2021-03-12 21:23:46 +00:00
Johan Malm
c1269adc40 xdg: on init, set maximize according to wlr_xdg_surface status 2021-03-08 21:56:57 +00:00
Johan Malm
64a80e144e README: fix formatting 2021-03-08 21:54:23 +00:00
Johan Malm
12a46cf469 README: add kanshi and wlr-randr to suggested apps 2021-03-08 21:33:30 +00:00
Johan Malm
2dae1b242c README: set scrot sizes 2021-03-08 21:24:44 +00:00
Johan Malm
25bfe84318 README: move install notes to wiki 2021-03-08 21:21:21 +00:00
Johan Malm
6b5adfea6e Merge branch 'master' of https://github.com/johanmalm/labwc 2021-03-08 07:06:17 +00:00