Commit graph

30 commits

Author SHA1 Message Date
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
090e78b85a view: add 'struct border margin'
Simplify various view interfaces as a result
2020-09-15 20:41:01 +01:00
Johan Malm
35015e57c6 view: remove view_hasfocus() 2020-09-14 17:42:39 +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
d782e48204 view: move xwayland sub-views to front on focus 2020-09-08 20:35:20 +01:00
Johan Malm
e99d0bb34e labwc.h: remove "extern struct server server" 2020-09-08 20:18:12 +01:00
Johan Malm
db02ef86b1 view: read xwayland_surface->{w,h} in .commit 2020-09-07 20:08:55 +01:00
Johan Malm
afaf78aa72 view: refactor view_next() 2020-09-07 19:47:11 +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
b99977368d view.c: simplify view_at() 2020-09-02 20:26:18 +01:00
Johan Malm
c56fe23b2e Add struct view_impl
Support .configure
2020-09-02 20:20:52 +01:00
Johan Malm
a042aad9f6 xwl.c: only add surfaces to view-list on first map
X11 apps produce surfaces which are never mapped. Excluding these from
the view-list simplifices the code.
2020-08-31 08:33:23 +01:00
Johan Malm
4f96230ebf view: add defence 2020-08-20 21:13:37 +01:00
Johan Malm
44d8245cfc src/view.c: focus_view() handle xwayland children 2020-08-19 20:47:49 +01:00
Johan Malm
40c606a78d src/view.c: refactor is_toplevel() 2020-08-19 20:27:28 +01:00
Johan Malm
c6c73366d2 view: is_toplevel() deal with !view 2020-08-12 19:44:54 +01:00
Johan Malm
ff03f1d6aa src/view.c: refactor 2020-08-07 20:39:11 +01:00
Johan Malm
042c157378 Track server-side-decoration per view 2020-08-06 14:51:45 +01:00
Johan Malm
44df6c896d view.c: tweak view_want_deco() 2020-08-05 20:54:15 +01:00
Johan Malm
7440919452 Add action.c 2020-06-18 20:18:01 +01:00
Johan Malm
5bd55570ba src/output.c: support theme.window_inactive_title_bg_color 2020-06-15 21:44:57 +01:00
Johan Malm
49d2e029aa view.c: next_toplevel(): handle NULL pointer 2020-06-10 16:48:25 +01:00
Johan Malm
6166e9b370 Read rc.xml and begin parsing 2020-06-05 23:04:54 +01:00
Johan Malm
6e0d11bff5 Adjust xdg-shell view position on first map 2020-06-01 19:42:15 +01:00
Johan Malm
bcdd553477 view.c: enable deco on xdg-shell views 2020-06-01 07:07:09 +01:00
Johan Malm
c07acc9ee6 Add deco parts top, right and bottom 2020-05-30 21:28:17 +01:00
Johan Malm
d28465dfc3 Put code in src/ and include/ 2020-05-27 14:29:05 +01:00
Renamed from view.c (Browse further)