aboutsummaryrefslogtreecommitdiff
path: root/swaynag
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2023-10-07 11:28:07 -0500
committerFurkan Sahin <furkan-dev@proton.me>2023-10-07 11:28:07 -0500
commit62e5428cc4fba2d32f7f1abc72546dddef3b65fe (patch)
treea5cf759a956d659f93e24396cb54dc77f31aaeee /swaynag
parentb2ee1247bdf03efef096ef7eedd5ff4586553191 (diff)
xdg_shell: don't update wlr_toplevel if the container has no size yet
9974e5cb92f963b4f47fb04adde79a79b5e12b50 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