all repos — openbox @ 02dda1ef65dc71ec0b7f375c939c3d1a56ac7034

openbox fork - make it a bit more like ryudo

set the usertime on windows if they dont provide one, to something reasonable.
Dana Jansens danakj@orodu.net
commit

02dda1ef65dc71ec0b7f375c939c3d1a56ac7034

parent

b71f1cd6a53801b51a830705a664fd14a164712a

1 files changed, 3 insertions(+), 1 deletions(-)

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

@@ -277,7 +277,7 @@ /* non-zero defaults */

self->wmstate = WithdrawnState; /* make sure it gets updated first time */ self->layer = -1; self->desktop = screen_num_desktops; /* always an invalid value */ - self->user_time = CurrentTime; + self->user_time = focus_client ? focus_client->user_time : CurrentTime; client_get_all(self); /* per-app settings override stuff, and return the settings for other

@@ -1201,6 +1201,8 @@ if (c != self && (!c->transient_for ||

c->transient_for != OB_TRAN_GROUP)) c->transients = g_slist_append(c->transients, self); } + +/* XXX can i remove this ?? */ /* remove all transients which are in the group, that causes circlular pointer hell of doom */