projects
/
dana
/
dcompmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f66e0
)
some better timing for fading maybe. and reset the opacity when a window is finished...
author
Dana Jansens
<danakj@orodu.net>
Thu, 6 Mar 2008 15:49:01 +0000
(10:49 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 6 Mar 2008 15:49:01 +0000
(10:49 -0500)
fade.c
patch
|
blob
|
history
window.c
patch
|
blob
|
history
diff --git
a/fade.c
b/fade.c
index eb59ec61ddce6cd1422c050cf4509c11c5824232..9ba6c495d131af6e4204b0acb8785ffe66133080 100644
(file)
--- a/
fade.c
+++ b/
fade.c
@@
-52,8
+52,8
@@
fade_init(d_screen_t *sc, int id)
sc->window_hide = fade_window_hide;
d->fades = list_new();
- d->fade_step_time =
10
000; /* 5 milliseconds */
- d->fade_total_time =
200
000; /* 0.15 seconds */
+ d->fade_step_time =
5
000; /* 5 milliseconds */
+ d->fade_total_time =
166
000; /* 0.15 seconds */
}
void
diff --git
a/window.c
b/window.c
index fb26a59de30d2b76685ea92d4cfe3f42d39f513f..cc579a5a6bec0ff5578f604afed2491a6d627fb4 100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-676,5
+676,8
@@
window_zombie_unref(d_window_t *pubw)
}
w->sc->window_zombie_dead(pubw);
+
+ /* reset the opacity */
+ w->opacity = 0xffff;
}
}