diff options
author | 2023-10-07 11:28:07 -0500 | |
---|---|---|
committer | 2023-10-27 17:36:32 -0700 | |
commit | 647521244a99f7dbda8fa7c21d7eee781692dc22 (patch) | |
tree | a5cf759a956d659f93e24396cb54dc77f31aaeee /swaynag | |
parent | view: check if the buffer was uploaded on save (diff) | |
download | sway-647521244a99f7dbda8fa7c21d7eee781692dc22.tar.gz sway-647521244a99f7dbda8fa7c21d7eee781692dc22.tar.zst sway-647521244a99f7dbda8fa7c21d7eee781692dc22.zip |
xdg_shell: don't update wlr_toplevel if the container has no size yet
3d5ae9813d390ea747462fc0026ee43b7c77d0f2 added logic to change the
underlying wlr_toplevel size for floating containers, but it does it
even if the container has no actual coordinates yet. This doesn't really
make sense to update the toplevel size in this case since there's many
things that could affect the initial coordinates (sway commands,
fullscreen state, etc.). Skip this by doing a crude check to see if the
current container state has any width.
Diffstat (limited to 'swaynag')
0 files changed, 0 insertions, 0 deletions