all repos — openbox @ 5dafdaf2856aa709db57cd06e080faa8cf01faee

openbox fork - make it a bit more like ryudo

dont crash when flashing a window when it goes away, remove the timer when dying
Dana Jansens danakj@orodu.net
commit

5dafdaf2856aa709db57cd06e080faa8cf01faee

parent

3ab0fc481471c4f2e5f0938ef0bfbc0320d2fd17

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M openbox/frame.copenbox/frame.c

@@ -19,6 +19,8 @@ #define FRAME_HANDLE_Y(f) (f->innersize.top + f->client->area.height + \

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)

@@ -474,6 +476,8 @@ g_hash_table_remove(window_map, &self->lgrip);

g_hash_table_remove(window_map, &self->rgrip); 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); }