aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-08-17 13:33:21 +0100
committerGitHub <noreply@github.com>2018-08-17 13:33:21 +0100
commit782d0e087e7d345d8218a96d13f2a4844765e8ed (patch)
tree0add5e55f85331938043eb5b0962b259d7a4af0a /sway/desktop/render.c
parent32193c7e4def7c0ba9cf8a7fcff02b1840d2b279 (diff)
parent1801b725e267b2fba6b98171adcd2de8f7db9235 (diff)
downloadsway-782d0e087e7d345d8218a96d13f2a4844765e8ed.tar.xz
Merge pull request #2474 from RyanDwyer/transactionise-csd
Add using_csd variable to transaction state
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r--sway/desktop/render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index cdac9c72..6e1e31f0 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -266,7 +266,7 @@ static void render_view(struct sway_output *output, pixman_region32_t *damage,
render_view_toplevels(view, output, damage, view->swayc->alpha);
}
- if (view->using_csd) {
+ if (view->swayc->current.using_csd) {
return;
}
@@ -585,7 +585,7 @@ static void render_container_simple(struct sway_output *output,
marks_texture = view->marks_unfocused;
}
- if (!view->using_csd) {
+ if (!view->swayc->current.using_csd) {
if (state->border == B_NORMAL) {
render_titlebar(output, damage, child, state->swayc_x,
state->swayc_y, state->swayc_width, colors,
@@ -777,7 +777,7 @@ static void render_floating_container(struct sway_output *soutput,
marks_texture = view->marks_unfocused;
}
- if (!view->using_csd) {
+ if (!view->swayc->current.using_csd) {
if (con->current.border == B_NORMAL) {
render_titlebar(soutput, damage, con, con->current.swayc_x,
con->current.swayc_y, con->current.swayc_width, colors,