diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-01 04:30:59 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-01 04:30:59 +0000 |
| commit | 5dafdaf2856aa709db57cd06e080faa8cf01faee (patch) | |
| tree | f8f9ec781d5416abf0ee418a2b3ae8deb16ade30 /openbox | |
| parent | 3ab0fc481471c4f2e5f0938ef0bfbc0320d2fd17 (diff) | |
dont crash when flashing a window when it goes away, remove the timer when dying
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/frame.c b/openbox/frame.c index 700f2eac..3bceec99 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -19,6 +19,8 @@ f->cbwidth_y) static void layout_title(ObFrame *self); +static void flash_done(gpointer data); +static gboolean flash_timeout(gpointer data); static Window createWindow(Window parent, unsigned long mask, XSetWindowAttributes *attrib) @@ -475,6 +477,8 @@ void frame_release_client(ObFrame *self, ObClient *client) g_hash_table_remove(window_map, &self->tlresize); g_hash_table_remove(window_map, &self->trresize); + ob_main_loop_timeout_remove(ob_main_loop, flash_timeout); + frame_free(self); } |
