diff options
author | Robert David <[email protected]> | 2014-03-10 13:17:56 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-06-25 11:31:14 +0200 |
commit | 046dabb3993219c7b1d1c91aad20d49e678ba70b (patch) | |
tree | 24c70e20370f4adb8336c16077cddfbd16693492 /src/compositor/compositor-xrender.c | |
parent | 2b74916f3405603ef858815bb943ca0f97320608 (diff) | |
download | marco-046dabb3993219c7b1d1c91aad20d49e678ba70b.tar.bz2 marco-046dabb3993219c7b1d1c91aad20d49e678ba70b.tar.xz |
src/core/main.c sys/wait.h fix
Diffstat (limited to 'src/compositor/compositor-xrender.c')
-rw-r--r-- | src/compositor/compositor-xrender.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c index 805002e3..6294e9d7 100644 --- a/src/compositor/compositor-xrender.c +++ b/src/compositor/compositor-xrender.c @@ -1821,6 +1821,10 @@ add_win (MetaScreen *screen, if (xwindow == info->output) return; + + /* If already added, ignore */ + if (find_window_for_screen (screen, xwindow) != NULL) + return; cw = g_new0 (MetaCompWindow, 1); cw->screen = screen; |