Subject: Notification: incoming/709

From: [email-masked]
Date: Sat, 28 Apr 2001 07:27:58 -0500

FVWM Bug Tracking notification

new message incoming/709

Message summary for PR#709
	From: [email-masked]
	Subject: Tk raise (again)
	Date: Sat, 28 Apr 2001 07:27:51 -0500
	0 replies 	0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From [email-masked] Sat Apr 28 07:27:57 2001
From: [email-masked]
To: [email-masked]
Subject: Tk raise (again)
Date: Sat, 28 Apr 2001 07:27:51 -0500

Full_Name: Slaven Rezic
Version: 2.3.31
CVS_Date: 
OS: FreeBSD-3.5
X_Server: XFree86 3.3.5
Submission from: (NULL) (62.104.208.72)

Although marked as fixed, the Tk raise problem still exists. The following
patch works for me:

--- old.work/fvwm-2.3.31/fvwm/events.c  Sat Apr 28 13:15:53 2001
+++ work/fvwm-2.3.31/fvwm/events.c      Sat Apr 28 13:18:50 2001
@@ -2067,6 +2067,9 @@
        cre->value_mask |= (ecre->value_mask & CWStackMode);
        cre->above = ecre->above;
        cre->detail = ecre->detail;
+
+       /* srt: see below about Tk note */
+       do_send_event = True;
       }
     } /* while */
   } /* if */
@@ -2365,6 +2368,10 @@
       */
       BroadcastRestackThisWindow(Tmp_win);
     }
+
+    /* srt (28-Apr-2001): Tk needs a ConfigureNotify event after a raise,
+     * otherwise it would hang for two seconds */
+    do_send_event = True;
   }
 
 #if 1

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]