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
|
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
|
1b263e1f67
|
Un-global theme variable
|
2021-02-21 21:54:40 +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
|
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
|
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
|
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 |
|
Johan Malm
|
581f4ea0c3
|
s/BUG_ON/assert/
|
2020-09-28 20:53:59 +01:00 |
|
Johan Malm
|
96e05057a3
|
Update .clang-format
Align with wlroots style
|
2020-09-28 20:41:41 +01:00 |
|
Johan Malm
|
166ad6e1dc
|
Refactor header files
|
2020-09-25 20:25:45 +01:00 |
|
Johan Malm
|
33d02aa83e
|
action: fix build warning
|
2020-09-25 20:05:20 +01:00 |
|
Johan Malm
|
745915c0ba
|
action: refactor action()
|
2020-09-25 19:37:51 +01:00 |
|
Johan Malm
|
3c90cb7945
|
desktop: focus next 'mapped' view on minimize
|
2020-09-18 20:28:48 +01:00 |
|
Johan Malm
|
b46fa5e006
|
xwayland: constrain view to top/left edge
|
2020-09-17 21:11:54 +01:00 |
|
Johan Malm
|
35ff6e5bb0
|
rcxml: s/csd/xdg_shell_server_side_deco
|
2020-09-15 21:10:02 +01:00 |
|
Johan Malm
|
090e78b85a
|
view: add 'struct border margin'
Simplify various view interfaces as a result
|
2020-09-15 20:41:01 +01:00 |
|
Johan Malm
|
fb6f7d42a5
|
Add desktop.c
Move from view.c functions which work on server->views
|
2020-09-11 20:48:28 +01:00 |
|
Johan Malm
|
49e499d255
|
view: add functions view_{un,}minimize
|
2020-09-08 20:51:33 +01:00 |
|
Johan Malm
|
e99d0bb34e
|
labwc.h: remove "extern struct server server"
|
2020-09-08 20:18:12 +01:00 |
|
Johan Malm
|
afaf78aa72
|
view: refactor view_next()
|
2020-09-07 19:47: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
|
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
|
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
|
c56fe23b2e
|
Add struct view_impl
Support .configure
|
2020-09-02 20:20:52 +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
|
a72c40a6b4
|
Move xwl_nr_parents()
|
2020-08-20 21:13:04 +01:00 |
|
Johan Malm
|
649437e336
|
include/: tidy up header files
|
2020-08-07 20:21:14 +01:00 |
|
Johan Malm
|
042c157378
|
Track server-side-decoration per view
|
2020-08-06 14:51:45 +01:00 |
|