aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-10-07 11:28:07 -0500
committerRonan Pigott <ronan@rjp.ie>2023-10-27 17:36:32 -0700
commit647521244a99f7dbda8fa7c21d7eee781692dc22 (patch)
treea5cf759a956d659f93e24396cb54dc77f31aaeee /sway/commands/bar
parent47263aca289ab4d89ba69a543357603e64719ff6 (diff)
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 'sway/commands/bar')
0 files changed, 0 insertions, 0 deletions