Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree/view: fix segfault in view_update_title #5506

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

emersion
Copy link
Member

@emersion emersion commented Jul 2, 2020

xdg-shell doesn't allow clients to set the title to NULL, so we
shouldn't need to call wlr_foreign_toplevel_handle_v1_set_title with an
empty string to reset the old one.

Closes: #5488

sway/tree/view.c Outdated Show resolved Hide resolved
Copy link
Member

@Xyene Xyene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

xdg-shell doesn't allow clients to set the title to NULL, so we
shouldn't need to call wlr_foreign_toplevel_handle_v1_set_title with an
empty string to reset the old one.

Closes: swaywm#5488
@emersion emersion force-pushed the foreign-toplevel-set-title branch from 1f7277c to 8b36539 Compare July 3, 2020 07:21
@emersion emersion merged commit b5a35c4 into swaywm:master Jul 3, 2020
@emersion emersion deleted the foreign-toplevel-set-title branch July 3, 2020 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Maximized X11 app crashes Sway
3 participants