aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-06 11:27:40 -0400
committerLibravatar emersion <contact@emersion.fr>2018-04-06 11:45:40 -0400
commit516f5454adb3fc7dd2e02258251b7cb6d6949aa3 (patch)
tree22c6bdfa1f79224daca6403162d24acdf611a6f9 /sway/desktop/xdg_shell_v6.c
parentMerge pull request #1755 from emersion/view-child-hidpi (diff)
downloadsway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.tar.gz
sway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.tar.zst
sway-516f5454adb3fc7dd2e02258251b7cb6d6949aa3.zip
Simplify damage tracking functions, use them in layer shell
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 8361aab3..b82eec8f 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -169,7 +169,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
169 // TODO: Let floating views do whatever 169 // TODO: Let floating views do whatever
170 view_update_size(view, xdg_shell_v6_view->pending_width, 170 view_update_size(view, xdg_shell_v6_view->pending_width,
171 xdg_shell_v6_view->pending_height); 171 xdg_shell_v6_view->pending_height);
172 view_damage_from(view); 172 view_damage(view, false);
173} 173}
174 174
175static void handle_new_popup(struct wl_listener *listener, void *data) { 175static void handle_new_popup(struct wl_listener *listener, void *data) {