diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-04-30 21:24:13 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-04-30 21:24:13 +1000 |
commit | e67f3543332349e63b5099a241fdd85ce28ea54b (patch) | |
tree | 54bede11d48f561693d1288e0980660c644b4dc3 /sway/desktop/wl_shell.c | |
parent | Merge pull request #1873 from RyanDwyer/remove-arrange-windows (diff) | |
download | sway-e67f3543332349e63b5099a241fdd85ce28ea54b.tar.gz sway-e67f3543332349e63b5099a241fdd85ce28ea54b.tar.zst sway-e67f3543332349e63b5099a241fdd85ce28ea54b.zip |
Implement borders
Implements rendering of borders. Title text is still to do.
Implements the following configuration directives:
* client.focused
* client.focused_inactive
* client.unfocused
* client.urgent
* border
* default_border
Diffstat (limited to 'sway/desktop/wl_shell.c')
-rw-r--r-- | sway/desktop/wl_shell.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c index 2d666d95..e97a898e 100644 --- a/sway/desktop/wl_shell.c +++ b/sway/desktop/wl_shell.c | |||
@@ -40,7 +40,6 @@ static void configure(struct sway_view *view, double ox, double oy, int width, | |||
40 | if (wl_shell_view == NULL) { | 40 | if (wl_shell_view == NULL) { |
41 | return; | 41 | return; |
42 | } | 42 | } |
43 | view_update_position(view, ox, oy); | ||
44 | wl_shell_view->pending_width = width; | 43 | wl_shell_view->pending_width = width; |
45 | wl_shell_view->pending_height = height; | 44 | wl_shell_view->pending_height = height; |
46 | wlr_wl_shell_surface_configure(view->wlr_wl_shell_surface, 0, width, height); | 45 | wlr_wl_shell_surface_configure(view->wlr_wl_shell_surface, 0, width, height); |