aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/reload.c
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-03-03 16:36:05 +0100
committerDominique Martinet <asmadeus@codewreck.org>2018-03-03 16:37:14 +0100
commit95963e4a1fa714858e3ff640945f015a8ba4795d (patch)
tree7c35e6101237e133904ff16e44af82cc6c66ac9f /sway/commands/reload.c
parent8a97d3a4941f2f46021ff83b98d684676f53e8c1 (diff)
xwayland: do not send surface configure when no width/height
The code in apply_horiz_layout systematically does `set_position` then `set_size`, so for new windows there is an invalid call. For old windows there are two calls when only one is needed, with the current code set_position could not send any surface configure without impact, but in the future it might be needed? Native wayland surfaces do not need to know where they are (the set_position handled only updates the sway internal view variable), why does X11 window need that?
Diffstat (limited to 'sway/commands/reload.c')
0 files changed, 0 insertions, 0 deletions