mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
Fix crash that occurs when stupid apps claim that a window is its own
2005-02-23 Elijah Newren <newren@gmail.com> * src/window.c: (meta_window_new_with_attrs): Fix crash that occurs when stupid apps claim that a window is its own parent. #168207
This commit is contained in:
parent
8ac94e45b5
commit
ebae340a1e
@ -1,3 +1,9 @@
|
||||
2005-02-23 Elijah Newren <newren@gmail.com>
|
||||
|
||||
* src/window.c: (meta_window_new_with_attrs): Fix crash that
|
||||
occurs when stupid apps claim that a window is its own parent.
|
||||
#168207
|
||||
|
||||
2005-02-21 Elijah Newren <newren@gmail.com>
|
||||
|
||||
* configure.in: post-release version bump to 2.9.34
|
||||
|
@ -648,7 +648,7 @@ meta_window_new_with_attrs (MetaDisplay *display,
|
||||
parent = meta_display_lookup_x_window (window->display,
|
||||
window->xtransient_for);
|
||||
|
||||
if (parent)
|
||||
if (parent && parent->workspace)
|
||||
{
|
||||
meta_topic (META_DEBUG_PLACEMENT,
|
||||
"Putting window %s on same workspace as parent %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user