summaryrefslogtreecommitdiff
path: root/src/compositor/compositor.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-05-01 14:35:34 +0200
committerraveit65 <[email protected]>2017-05-10 16:22:13 +0200
commit38940edf002a137a7e6c041462d334967fd9ff29 (patch)
tree1322bf8668b6c4f16816706bdb378f80cf6f8b46 /src/compositor/compositor.c
parent6d9adde1f91d399f5e429f9f09f996aecb7cfa35 (diff)
downloadmarco-38940edf002a137a7e6c041462d334967fd9ff29.tar.bz2
marco-38940edf002a137a7e6c041462d334967fd9ff29.tar.xz
Revert "compositor: fix possible crash closing/destroying window"
This reverts commit 768fdd8d3852e67555a585da28b6404a97853cbd. fixes probably "strange window switching foreground/background behavior" https://github.com/mate-desktop/marco/issues/251
Diffstat (limited to 'src/compositor/compositor.c')
-rw-r--r--src/compositor/compositor.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 39344e82..7e3c79c2 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -156,10 +156,6 @@ void meta_compositor_end_move (MetaCompositor *compositor,
void meta_compositor_free_window (MetaCompositor *compositor,
MetaWindow *window)
{
-#ifdef HAVE_COMPOSITE_EXTENSIONS
- if (compositor && compositor->free_window)
- compositor->free_window (compositor, window);
-#endif
}
void