protect scene access, fix instant segfault when non compositing
This commit is contained in:
parent
cf66e4c86d
commit
9442855834
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ Client* Workspace::createClient(Window w, bool is_mapped)
|
||||||
|
|
||||||
Unmanaged* Workspace::createUnmanaged(Window w)
|
Unmanaged* Workspace::createUnmanaged(Window w)
|
||||||
{
|
{
|
||||||
if (w == scene->overlayWindow()->window())
|
if (compositing() && w == scene->overlayWindow()->window())
|
||||||
return NULL;
|
return NULL;
|
||||||
Unmanaged* c = new Unmanaged(this);
|
Unmanaged* c = new Unmanaged(this);
|
||||||
if (!c->track(w)) {
|
if (!c->track(w)) {
|
||||||
|
|
Loading…
Reference in a new issue