Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
mutter.17919
mutter-bsc1045440-remove-stray-assert.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mutter-bsc1045440-remove-stray-assert.patch of Package mutter.17919
From fd41db64169f6e0b36d56e054967cb406e32fa74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org> Date: Mon, 26 Jun 2017 17:56:36 +0200 Subject: [PATCH] screen: Remove stray assert When the number of (static) workspaces decreases, we relocate windows from extra workspaces before removing them. As removing a non-empty workspace is not allowed, we assert that it doesn't contain any windows before removing it. However that assert is - pointless, because meta_workspace_remove() already asserts that the workspace is empty - wrong, because even empty workspaces contain windows that are set to show on all workspaces Simply drop the assert to avoid a crash when trying to remove a workspace while on-all-workspaces windows are present. https://bugzilla.gnome.org/show_bug.cgi?id=784223 Index: mutter-3.20.3/src/core/screen.c =================================================================== --- mutter-3.20.3.orig/src/core/screen.c +++ mutter-3.20.3/src/core/screen.c @@ -1203,7 +1203,6 @@ update_num_workspaces (MetaScreen *scree { MetaWorkspace *w = l->data; - g_assert (w->windows == NULL); meta_workspace_remove (w); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor