After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756642 - session: Fix crash when saving sticky windows
session: Fix crash when saving sticky windows
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2015-10-15 13:42 UTC by Florian Müllner
Modified: 2015-10-15 14:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
session: Fix crash when saving sticky windows (1.64 KB, patch)
2015-10-15 13:42 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2015-10-15 13:42:45 UTC
See patch.
Comment 1 Florian Müllner 2015-10-15 13:42:54 UTC
Created attachment 313372 [details] [review]
session: Fix crash when saving sticky windows

Since commit 527c53a2a058, window->workspace is set to %NULL when
the window is sticky (see comment[0]), so don't try to save the
workspace index in that case.

[0] https://git.gnome.org/browse/mutter/tree/src/core/window.c#n4307
Comment 2 Rui Matos 2015-10-15 14:00:17 UTC
Review of attachment 313372 [details] [review]:

looks good
Comment 3 Florian Müllner 2015-10-15 14:31:17 UTC
Attachment 313372 [details] pushed as a95ae4d - session: Fix crash when saving sticky windows