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
Johan Malm
83f6618e68
output: set layout-coords coorectly for cycle box
2021-03-08 07:05:47 +00:00
Artem Polishchuk
6971f8bfe2
docs: Add Fedora installation instructions
2021-03-07 21:13:54 +00:00
Johan Malm
6ece805e88
interactive.c: do not allow move/resize when maximized
2021-03-06 18:34:52 +00:00
Johan Malm
ebd167a5eb
output.c: fix formatting
2021-03-06 18:30:53 +00:00
Johan Malm
fc3a170c78
Merge pull request #21 from apbryan/output-management
...
Output management
2021-03-06 18:15:48 +00:00
Johan Malm
3a11005d72
Add NEWS.md and update README.md
2021-03-06 11:45:45 +00:00
Johan Malm
5101ee87eb
main.c: add -v, -V, -d command line options
2021-03-06 11:38:17 +00:00
Johan Malm
5a36fef547
Convert man pages from md to scd
2021-03-05 22:14:02 +00:00
Johan Malm
db4249dcc4
themerc: fix syntax inconsistency
2021-03-04 20:30:23 +00:00
Johan Malm
b50e8cbd0f
rc.xml: add A-F3 for bemenu-run to reflect defaults
2021-03-04 20:29:28 +00:00
Johan Malm
4f0c24d26e
menu.xml: format XML better
2021-03-04 20:28:38 +00:00
Jan Beich
945ae1cf55
docs: move manpages to proper section directories
...
Arbitrary sections may not be supported by all man(1) implementations.
labwc manpages have numeric sections but installed in the wrong place:
$ meson setup --prefix=/usr _build && meson install -C _build
[...]
Installing docs/labwc.1 to /usr/share/man/man.1
Installing docs/labwc-config.5 to /usr/share/man/man-config.5
Installing docs/labwc-theme.5 to /usr/share/man/man-theme.5
Installing docs/labwc-actions.5 to /usr/share/man/man-actions.5
[...]
2021-03-04 08:40:36 +00:00
Jan Beich
2dd5fce844
Add man-pages option like swaywm/sway@ba16f16e4d
2021-03-04 06:35:15 +00:00
Johan Malm
2738ff2673
cursor: cursor_name fix
...
The current implementation detects resize edges over the wlr_surface,
sometimes preventing the correct cursor_name to be set.
2021-03-03 21:19:52 +00:00
Johan Malm
d2133ec23d
view-child: extend damage
2021-03-03 20:54:44 +00:00
Johan Malm
badbeb2936
xdg-popup: extend damage
2021-03-03 20:51:19 +00:00
Johan Malm
35fe890572
view-child: do not damage on finish
2021-03-03 20:42:34 +00:00
Johan Malm
9760a8157f
Create xdg-deco.c
2021-03-02 20:53:03 +00:00
Johan Malm
954a5eadf1
xdg-popup: uncontrain popups
2021-03-02 20:51:32 +00:00
Johan Malm
d54a998dd8
Handle wlr_surface->events.new_subsurface
...
Add view-child.c, xdg-popup.c, subsurface.c in order to track damage
associated with new XDG subsurfaces.
2021-03-02 20:37:23 +00:00
Johan Malm
15a7910a02
Update README.md
2021-03-01 18:41:01 +00:00
Johan Malm
b9d6ce324f
Set default A-F3 binding to bemenu instead of dmenu
2021-03-01 18:40:11 +00:00
Johan Malm
e0067536fc
view.c: refactor view_maximize()
2021-03-01 18:15:02 +00:00
Johan Malm
b616bb6842
maximize: choose output based on center of view
2021-03-01 17:59:09 +00:00
Johan Malm
be3fea0c1a
view.c: remember unmaximized geometry
2021-02-28 18:12:10 +00:00
Alex Bryan
40aee31dc6
Merge branch 'master' into output-management
2021-02-28 13:11:33 -05:00
Johan Malm
3fe052222d
Update layer-shell protocol 1.3 -> 1.4 (issue #18 )
2021-02-28 17:32:58 +00:00
Johan Malm
8482b1720a
Merge pull request #17 from apbryan/master
...
Add basic maximize support
2021-02-28 09:32:39 +00:00
Alex Bryan
50137e0bbe
Add placeholder output-config verification
...
Added a placeholder function to verify an output configuration that
we've received from a client via output-management-v1. Currently we just
assume the config is valid and teturn true, but we should really look
at the config before applying it
2021-02-28 00:08:47 -05:00
Alex Bryan
2a0f171340
Added initial wlr-output-management-unstable-v1 support
...
Was able to use wlr-randr to arrange my monitors correctly.
TODO: test w/ kanshi and handle output_manager->events.test event
2021-02-27 23:15:02 -05:00