summaryrefslogtreecommitdiff
path: root/src/compositor/compositor.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-12-02 11:08:12 -0500
committerVictor Kareh <[email protected]>2019-12-06 10:11:22 -0500
commitbaef3d7f25bbd4665ecced218be3b4e97c4d8a02 (patch)
tree966f3c56fa8f7e258dfd36e973b39caeb2e3d378 /src/compositor/compositor.c
parent65ca099740d44e39bbda8d5955df47ce1047b459 (diff)
downloadmarco-baef3d7f25bbd4665ecced218be3b4e97c4d8a02.tar.bz2
marco-baef3d7f25bbd4665ecced218be3b4e97c4d8a02.tar.xz
Revert "compositor: fix possible crash closing/destroying window"
This reverts commit df56628979abc17474b001c58c28c6f3637ada9d. It causes an issue where windows remain in the background even when being drawn in the foreground.
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