Subject: Notification: incoming/827

From: [email-masked]
Date: Fri, 14 Dec 2001 08:54:27 -0600

FVWM Bug Tracking notification

new message incoming/827

Message summary for PR#827
	From: [email-masked]
	Subject: Unmanaged window
	Date: Fri, 14 Dec 2001 08:54:26 -0600
	0 replies 	0 followups

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

>From [email-masked] Fri Dec 14 08:54:27 2001
From: [email-masked]
To: [email-masked]
Subject: Unmanaged window
Date: Fri, 14 Dec 2001 08:54:26 -0600

Full_Name: Darren Marshall
Version: 2.4.3
CVS_Date: 
OS: Linux 2.4.16
X_Server: XFree86 4.1.0
Submission from: (NULL) (195.99.244.69)

We have an application that appears to break fvwm. The problem is caused by
this application calling XtPopup(), XtPopdown(), XtPopup() on one window in
quick succession. This results in a window without any decorations and is
absent from the window list. This scenario appears to work correctly with
other window managers, such as mwm (open motif), twm and WindowMaker. Below
is a program that reproduces this problem:

#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include <X11/StringDefs.h>

int main(int argc, char **argv) 
{   
    XtAppContext appContext;
    Display *display;
    Widget shell;
    Arg al[2];
    short ac = 0;

    XtToolkitInitialize();
    appContext = XtCreateApplicationContext();
    display = XtOpenDisplay(appContext, 0, argv[0], argv[0], 0, 0, &argc,
argv);
    XtSetArg(al[ac], XtNheight, 500); ac++;
    XtSetArg(al[ac], XtNwidth, 500); ac++;
    shell = XtAppCreateShell(0, "shell", applicationShellWidgetClass,
display, al, ac);
    XtPopup(shell, XtGrabNone);
    XtPopdown(shell);
    XtPopup(shell, XtGrabNone);
    XtAppMainLoop(appContext);
    return 0;
}   

This problem is reproducible with the system .fvwmrc file.

--
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]