small fix

git-svn-id: http://tint2.googlecode.com/svn/trunk@86 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr 2009-06-05 20:19:14 +00:00
parent 41b8b3aa53
commit 1e8206e268
2 changed files with 4 additions and 4 deletions

View file

@ -302,15 +302,15 @@ void event_property_notify (XEvent *e)
}
Window w1 = window_get_active ();
Task *t = task_get_task(w1);
if (task_urgent == t) {
init_precision();
task_urgent = 0;
}
if (!t) {
Window w2;
if (XGetTransientForHint(server.dsp, w1, &w2) != 0)
if (w2) t = task_get_task(w2);
}
if (task_urgent == t) {
init_precision();
task_urgent = 0;
}
if (t) {
for (i=0 ; i < nb_panel ; i++) {
for (j=0 ; j < panel1[i].nb_desktop ; j++) {

BIN
src/tint2

Binary file not shown.