Commit graph

381 commits

Author SHA1 Message Date
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
Johan Malm
4d1363dcae include/: refactor header files more 2020-08-03 20:56:38 +01:00
Johan Malm
f7fa28ab42 Render close, iconify and maximize buttons 2020-07-06 21:58:51 +01:00
Johan Malm
baca410560 Render window close button 2020-06-29 19:27:59 +01:00
Johan Malm
f6578248c0 src/keybind.c: move keybind_print() to dbg.c 2020-06-18 20:39:55 +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
6166e9b370 Read rc.xml and begin parsing 2020-06-05 23:04:54 +01:00
Johan Malm
fdc131049c server.c: minor refactoring 2020-06-05 21:07:57 +01:00
Johan Malm
af11ef771a Refactor main.c and server.c
Create server_{init,start,finish} functions.
2020-06-03 18:39:46 +01:00
Johan Malm
6e0d11bff5 Adjust xdg-shell view position on first map 2020-06-01 19:42:15 +01:00
Johan Malm
0eb64a29aa labwc.h: remove unnecessary function definitions 2020-06-01 07:08:55 +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
a6ac2a0439 Minor style fixes 2020-05-29 22:26:16 +01:00
Johan Malm
298d869092 Move server_new_output() to output.c 2020-05-29 22:18:03 +01:00
Johan Malm
bc5accb089 Rename some {cursor,keyboard}_ functions 2020-05-29 22:10:41 +01:00
Johan Malm
aa294330ea Add keyboard.c 2020-05-29 21:44:50 +01:00
Johan Malm
3b7e2c9e09 Add interactive.c 2020-05-29 21:27:34 +01:00
Johan Malm
d28465dfc3 Put code in src/ and include/ 2020-05-27 14:29:05 +01:00
Renamed from labwc.h (Browse further)