• Olivier Fourdan's avatar
    session: use initial workspace if no workspace set · fbd5a74a
    Olivier Fourdan authored
    Having “on_all_workspaces_requested” FALSE on a window does not imply a
    workspace is set.
    
    If the X11 window is placed on a secondary monitor while workspaces
    applies on primary monitor only  (“workspaces-only-on-primary” set) then
    “on_all_workspaces_requested” is FALSE while “on_all_workspaces“ is TRUE
    and the associated workspace is NULL, leading to a crash when saving the
    gnome-shell/mutter session.
    
    So if no workspace is set, use the “initial_workspace” instead to avoid
    a NULL pointer dereference.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=792818
    fbd5a74a
Name
Last commit
Last update
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...