diff options
Diffstat (limited to 'sway/border.c')
-rw-r--r-- | sway/border.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sway/border.c b/sway/border.c index c3e1004a..f681e4f1 100644 --- a/sway/border.c +++ b/sway/border.c | |||
@@ -201,12 +201,6 @@ static void render_title_bar(swayc_t *view, cairo_t *cr, struct wlc_geometry *b, | |||
201 | } | 201 | } |
202 | } | 202 | } |
203 | 203 | ||
204 | void map_update_view_border(swayc_t *view, void *data) { | ||
205 | if (view->type == C_VIEW) { | ||
206 | update_view_border(view); | ||
207 | } | ||
208 | } | ||
209 | |||
210 | /** | 204 | /** |
211 | * Generate nested container title for tabbed/stacked layouts | 205 | * Generate nested container title for tabbed/stacked layouts |
212 | */ | 206 | */ |
@@ -293,7 +287,7 @@ void update_tabbed_stacked_titlebars(swayc_t *c, cairo_t *cr, struct wlc_geometr | |||
293 | } | 287 | } |
294 | } | 288 | } |
295 | 289 | ||
296 | void update_view_border(swayc_t *view) { | 290 | static void update_view_border(swayc_t *view) { |
297 | if (!view->visible) { | 291 | if (!view->visible) { |
298 | return; | 292 | return; |
299 | } | 293 | } |
@@ -417,6 +411,12 @@ void update_container_border(swayc_t *container) { | |||
417 | } | 411 | } |
418 | } | 412 | } |
419 | 413 | ||
414 | void map_update_view_border(swayc_t *view, void *data) { | ||
415 | if (view->type == C_VIEW) { | ||
416 | update_view_border(view); | ||
417 | } | ||
418 | } | ||
419 | |||
420 | void render_view_borders(wlc_handle view) { | 420 | void render_view_borders(wlc_handle view) { |
421 | swayc_t *c = swayc_by_handle(view); | 421 | swayc_t *c = swayc_by_handle(view); |
422 | 422 | ||