diff options
author | Havoc Pennington <hp@pobox.com> | 2002-06-10 03:00:21 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-06-10 03:00:21 +0000 |
commit | dc9d951255663d39e2c6cae634a86f71f7026d9c (patch) | |
tree | cc413f4b32e409f34c74f2690b6c17b93f8c6f29 /src/delete.c | |
parent | fecaa4296263aef4e0c36ce2a698183485b4ec75 (diff) | |
download | metacity-dc9d951255663d39e2c6cae634a86f71f7026d9c.tar.gz metacity-dc9d951255663d39e2c6cae634a86f71f7026d9c.tar.bz2 |
add G_IO_NVAL to watch condition, patch from Gustavo Giraldez, avoids
2002-06-09 Havoc Pennington <hp@pobox.com>
* src/delete.c (delete_ping_timeout_func): add G_IO_NVAL to watch
condition, patch from Gustavo Giraldez, avoids another 100% CPU
thingy
Diffstat (limited to 'src/delete.c')
-rw-r--r-- | src/delete.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delete.c b/src/delete.c index c7416c4..7acb697 100644 --- a/src/delete.c +++ b/src/delete.c @@ -1,7 +1,7 @@ /* Metacity window deletion */ /* - * Copyright (C) 2001 Havoc Pennington + * Copyright (C) 2001, 2002 Havoc Pennington * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -341,7 +341,7 @@ delete_ping_timeout_func (MetaDisplay *display, channel = g_io_channel_unix_new (window->dialog_pipe); g_io_add_watch_full (channel, G_PRIORITY_DEFAULT, - G_IO_IN | G_IO_HUP | G_IO_ERR, + G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_NVAL, io_from_ping_dialog, NULL, NULL); g_io_channel_unref (channel); |