Johan Malm
fc76100fd5
Add ssd.h
2021-03-21 20:54:55 +00:00
Johan Malm
a262b729df
Rename deco.c ssd.c
2021-03-20 14:41:39 +00:00
Johan Malm
da5bceea93
session.h: update session_environment_init() comment
2021-03-18 19:39:08 +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
Johan Malm
fc3a170c78
Merge pull request #21 from apbryan/output-management
...
Output management
2021-03-06 18:15:48 +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
e0067536fc
view.c: refactor view_maximize()
2021-03-01 18:15:02 +00:00
Johan Malm
be3fea0c1a
view.c: remember unmaximized geometry
2021-02-28 18:12:10 +00: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
Alex Bryan
f5f8acc543
Merge branch 'maximize'
2021-02-27 17:14:24 -05:00
Alex Bryan
5e7f2c91a3
Added basic maximize support for xdg and xwayland
2021-02-27 17:10:53 -05:00
Johan Malm
133ea96f64
Simplify view margin/padding related code
...
Fix xdg-shell CSD resize bug
2021-02-27 16:55:10 +00:00
Johan Malm
de88b69d62
mv theme.c ..
2021-02-21 22:18:34 +00:00
Johan Malm
22d66c81ca
Merge theme.c and theme-builtin.c
2021-02-21 22:13:18 +00:00
Johan Malm
cb2a504440
theme: add theme_finish()
2021-02-21 22:03:14 +00:00
Johan Malm
9f61a819fc
Add zfree
2021-02-21 21:59:53 +00:00
Johan Malm
1b263e1f67
Un-global theme variable
2021-02-21 21:54:40 +00:00
Johan Malm
9af7bd744f
Reload buttons in SIGHUP
...
Call xbm_load() from theme_init()
2021-02-21 21:14:06 +00:00
Johan Malm
6cdf3d68f3
menu: minor refactoring
2021-02-19 23:31:30 +00:00
Johan Malm
f0d8eb0a60
menu: reload on SIGHUP
2021-02-19 23:05:14 +00:00
Johan Malm
9eac349046
rc.xml: move nodename() to nodename.c
2021-02-16 21:04:49 +00:00
Johan Malm
a97428020e
rc.xml: split out rstrip() to string-helpers.c
2021-02-16 21:03:38 +00:00
Johan Malm
bc04f50d14
Add basic menu theme options
2021-02-16 20:43:20 +00:00
Johan Malm
54804fd3df
Implement damage tracking
2021-01-09 22:51:20 +00:00
Johan Malm
cfc6e18cdc
Make xwayland support optional
2020-12-30 10:29:21 +00:00
Johan Malm
f4cbd4ff61
labwc.h: remove obsolete definitions
2020-12-23 18:56:11 +00:00
Johan Malm
cb44f047f3
Add view_move()
2020-12-23 18:52:46 +00:00
Johan Malm
7c29bcb45e
xdg-shell: await configure serial before moving (issue #11 )
2020-12-22 21:08:17 +00:00
Johan Malm
e0770a5672
Refactor view_move_resize()
2020-12-22 20:35:06 +00:00
Johan Malm
58fdf9776f
Move pango_cairo_font_map_set_default() to font.c
2020-10-31 15:41:06 +00:00
Johan Malm
a26fd5a75b
layers: handle top layer unmap/destroy better
...
On losing top layer focus, set focus on topmost mapped view.
2020-10-31 15:09:13 +00:00
Johan Malm
5d6143449f
desktop: rename desktop_cycle_view()
2020-10-31 14:46:33 +00:00
Johan Malm
5f9c5a9d01
desktop: refactor desktop_focus_topmost_mapped_view()
...
Rename from desktop_focus_next_mapped_view() to
desktop_focus_topmost_mapped_view() and only take struct server as
argument.
2020-10-31 14:32:31 +00:00
Johan Malm
e99e1003d0
string-helpers.h: fix typo in header guard
...
Reported-by: Jan Beich (@jbeich)
2020-10-28 20:41:46 +00:00
Johan Malm
aab7b71520
log: add die() for convenience
2020-10-23 20:23:56 +01:00
Johan Malm
d39b158cec
menu: add menu_finish()
2020-10-22 19:43:27 +01:00
Johan Malm
d5b9a65978
s/cursor_mode/input_mode/
2020-10-21 20:30:06 +01:00
Johan Malm
dc5d1ab976
Support a very simple root-menu
2020-10-19 22:14:17 +01:00
Johan Malm
a81b405150
output.c: define _POSIX_C_SOURCE (issue #4 )
2020-10-15 21:03:04 +01:00
Johan Malm
500ebaee4a
include/labwc.h: add <sys/time.h> (issue #4 )
2020-10-14 21:17:20 +01:00
Johan Malm
7e55e2cd09
Add string-helpers.c
2020-10-09 19:46:59 +01:00
Johan Malm
45b13fc9a0
Support ~/.config/labwc/{autostart,environment}
2020-10-08 20:50:20 +01:00
Johan Malm
9342b2b414
seat: refactor seat_focus_surface()
2020-10-08 20:22:52 +01:00
Johan Malm
f752610e0b
desktop: refactor desktop_focus_view()
2020-10-08 20:08:41 +01:00
Johan Malm
8e2b3ea89a
seat: remove seat_focused_surface()
2020-10-07 21:49:58 +01:00
Johan Malm
e400700a4a
seat: refactor seat_focus_surface()
2020-10-06 21:31:01 +01:00
Johan Malm
25829d122c
Refactor seat.c, keyboard.c, cursor.c
...
Use wlr_keyboard_group
2020-10-02 21:20:12 +01:00
Johan Malm
a4c22f7c4d
Add partial support for layer-shell
...
We can now run swaybg and waybar
2020-09-30 17:18:20 +01:00
Johan Malm
16c3869fca
view_impl: add for_each_surface()
2020-09-29 20:48:50 +01:00
Johan Malm
763f5c3455
output: add output_init() and refactor
2020-09-29 19:53:46 +01:00