Notification: incoming/1050
FVWM Bug Tracking notification new message incoming/1050 Message summary for PR#1050 From: [EMAIL PROTECTED] Subject: focus lost after option menu selection Date: Tue, 24 Jun 2003 03:37:50 -0500 0 replies 0 followups ORIGINAL MESSAGE FOLLOWS From [EMAIL PROTECTED] Tue Jun 24 03:37:50 2003 Received: from lserv00.math.uh.edu ([129.7.128.99]) by util2.math.uh.edu with esmtp (Exim 4.10) id 19UjJG-0007rf-00 for [EMAIL PROTECTED]; Tue, 24 Jun 2003 03:37:50 -0500 Received: from localhost (lserv00.math.uh.edu [127.0.0.1]) by lserv00.math.uh.edu (8.11.6/8.11.1) with ESMTP id h5O8bom01591 for [EMAIL PROTECTED]; Tue, 24 Jun 2003 03:37:50 -0500 Date: Tue, 24 Jun 2003 03:37:50 -0500 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: focus lost after option menu selection Full_Name: E. Weber Version: 2.4.14 CVS_Date: OS: red hat linux 8.0 X_Server: Xfree86, Exceed Submission from: (NULL) (53.122.197.194) The problem appears while using Motif (version 2.2.3) option menus under FVWM2 with the Focus Follows Mouse option. (It doesn't appear with fvwm1 or with Click To Focus option). Selecting option menu entries twice or more the option menu looses focus. The related window is still the active window, but there isn't a focus in the whole window. Focus reappears as the mouse is moved out of the window and in again. The problem seems to be caused by calling XmAddWMProtocolCallback for Atom WM_TAKE_FOCUS. Reproduction of the problem can be done with the following code: #include stdio.h #include stdlib.h #include Xm/Xm.h #include Xm/PushB.h #include Xm/RowColumn.h #include Xm/RowColumn.h #include Xm/Protocols.h void emptyCB(Widget widget, XtPointer clientDaten, XtPointer aufrufDaten) {} int main(int argc, char **argv) { XtAppContext kontext; Widget applShell; Widget box, option_menu, menu, button1, button2; int ac=0; Arg al[64]; applShell= XtAppInitialize( kontext, focustest, (XrmOptionDescRec*) NULL, 0, argc, argv, (String*) NULL, (Arg*) NULL, 0); box= XtCreateManagedWidget(box, xmRowColumnWidgetClass, applShell, (Arg*)NULL, 0); option_menu = XmCreateOptionMenu ( box, (char *) option_menu, al, ac ); menu = XmCreatePulldownMenu ( option_menu, (char *) menu, al, ac ); button1 = XtCreateManagedWidget(button1, xmPushButtonWidgetClass, menu, (Arg*)NULL, 0); button2 = XtCreateManagedWidget(button2, xmPushButtonWidgetClass, menu, (Arg*)NULL, 0); XtSetArg(al[ac], XmNsubMenuId, menu); ac++; XtSetValues(option_menu, al, ac); XtManageChild(option_menu); Atom wm_take_focus = XInternAtom( XtDisplay( applShell ),WM_TAKE_FOCUS, True ); XmAddWMProtocolCallback( applShell, wm_take_focus, emptyCB, (XtPointer) NULL ); XtRealizeWidget(applShell); XtAppMainLoop (kontext); } -- 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 PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Notification: incoming/1051
FVWM Bug Tracking notification new message incoming/1051 Message summary for PR#1051 From: [EMAIL PROTECTED] Subject: Fvwm and Java problems again Date: Tue, 24 Jun 2003 22:42:55 -0500 0 replies 0 followups ORIGINAL MESSAGE FOLLOWS From [EMAIL PROTECTED] Tue Jun 24 22:42:55 2003 Received: from lserv00.math.uh.edu ([129.7.128.99]) by util2.math.uh.edu with esmtp (Exim 4.10) id 19V1BP-Ua-00 for [EMAIL PROTECTED]; Tue, 24 Jun 2003 22:42:55 -0500 Received: from localhost (lserv00.math.uh.edu [127.0.0.1]) by lserv00.math.uh.edu (8.11.6/8.11.1) with ESMTP id h5P3gsm03338 for [EMAIL PROTECTED]; Tue, 24 Jun 2003 22:42:55 -0500 Date: Tue, 24 Jun 2003 22:42:55 -0500 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Fvwm and Java problems again Full_Name: Neil Zanella Version: 2.4.16 CVS_Date: OS: X_Server: Submission from: (NULL) (129.128.207.197) Hello, Once again fvwm support for java swing applications is plain bad. I installed the following from Sun's site: j2sdk-1_4_1_02-s1studio_ce-4u1-bin-linux.bin The buttons at the bottom do not even show up, but they do with any other window manager (such as window maker). Last year I also had a problem with fvwm not setting the correct size of launched applications on startup. Another time I had a problem with a Qt application not rsponding well to resize events: the problem was fixed under sawfish, but persists under fvwm. So, I don't know what fvwm is doing differently, but it's doing something wrong. Blame it on Java, but every other WM out there does it right. Just try to install the above from Sun's site. Regards, Neil -- 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 PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FvwmButtons relief patch
On Tue, Jun 24, 2003 at 09:33:27PM +0200, Remko Troncon wrote: Hi, I have a patch lying around here (for a few months now) which adds an option to FvwmButtons for customizing the relief (flat/raised/sunken) for both states. Do you suggest i polish it and send it through now, or should i wait for 2.7 ? Let us have a look at the patch; then we can decide. Bye Dominik ^_^ ^_^ -- 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 PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FvwmButtons relief patch
Let us have a look at the patch; then we can decide. Ok. Here goes. Remko Index: modules/FvwmButtons/FvwmButtons.1 === RCS file: /home/cvs/fvwm/fvwm/modules/FvwmButtons/FvwmButtons.1,v retrieving revision 1.61 diff -u -r1.61 FvwmButtons.1 --- modules/FvwmButtons/FvwmButtons.1 9 Nov 2002 15:18:52 - 1.61 +++ modules/FvwmButtons/FvwmButtons.1 25 Jun 2003 14:44:50 - @@ -169,6 +169,12 @@ Specifies a background pixmap to use. Specify none (without the double quotes) for a transparent background. +.IP *FvwmButtons: ReliefStyle \fIstate\fP \fIstyle\fP +Specifies which style of relief to draw when the button is in the given +state. \fIstate\fP can be either \fIUp\fP or \fIDown\fP. \fIstyle\fP +is one of \fIClean\fP (draws the background color), \fIRaised\fP or +\fISunken\fP. + .IP *FvwmButtons: Rows \fIrows\fP Specifies the number of rows of buttons to be created. The default is 2 rows. Index: modules/FvwmButtons/FvwmButtons.c === RCS file: /home/cvs/fvwm/fvwm/modules/FvwmButtons/FvwmButtons.c,v retrieving revision 1.179 diff -u -r1.179 FvwmButtons.c --- modules/FvwmButtons/FvwmButtons.c 25 Apr 2003 07:21:00 - 1.179 +++ modules/FvwmButtons/FvwmButtons.c 25 Jun 2003 14:44:50 - @@ -780,6 +780,8 @@ UberButton-title = MyName; UberButton-swallow = 1; /* the panel is shown */ + UberButton-reliefstyle = (RELIEFSTYLE_RAISED 4) | +(RELIEFSTYLE_SUNKEN); /* Default relief */ /* parse module options */ ParseConfiguration(UberButton); Index: modules/FvwmButtons/FvwmButtons.h === RCS file: /home/cvs/fvwm/fvwm/modules/FvwmButtons/FvwmButtons.h,v retrieving revision 1.43 diff -u -r1.43 FvwmButtons.h --- modules/FvwmButtons/FvwmButtons.h 5 Jun 2003 14:00:21 - 1.43 +++ modules/FvwmButtons/FvwmButtons.h 25 Jun 2003 14:44:50 - @@ -89,6 +89,7 @@ 0x0200 /* By default this only done on Popup */ #define b_Id 0x0400 /* Has a user defined id for referencing */ #define b_IconAlpha 0x0800 /* Icon has an alpha chanel */ +#define b_ReliefStyle 0x1000 /* Relief Style */ /* Flags for b-swallow */ #define b_Count 0x0003 /* Init counter for swallowing */ @@ -139,6 +140,7 @@ Pixel bc,hc,sc; /* b_Back !b_IconBack */ FvwmPicture *backicon; /* b_Back b_IconBack */ ushort minx,miny;/* b_Size */ + byte reliefstyle;/* b_ReliefStyle */ }; typedef struct @@ -169,6 +171,10 @@ char *back; /* b_Back */ char *fore; /* b_Fore */ int colorset;/* b_Colorset */ +#define RELIEFSTYLE_CLEAN 0x0 /* No relief */ +#define RELIEFSTYLE_RAISED 0x1 /* Raised relief */ +#define RELIEFSTYLE_SUNKEN 0x2 /* Sunken relief */ + byte reliefstyle;/* b_ReliefStyle */ byte xpad,ypad; /* b_Padding */ signed char framew; /* b_Frame */ byte justify;/* b_Justify */ Index: modules/FvwmButtons/button.c === RCS file: /home/cvs/fvwm/fvwm/modules/FvwmButtons/button.c,v retrieving revision 1.31 diff -u -r1.31 button.c --- modules/FvwmButtons/button.c1 Oct 2002 07:03:29 - 1.31 +++ modules/FvwmButtons/button.c25 Jun 2003 14:44:50 - @@ -309,6 +309,24 @@ return -1; } +byte buttonReliefStyle(button_info *b) +{ +button_info *bb = b; +if (bb-flags b_ReliefStyle) +return bb-reliefstyle; +else if (bb-flags b_Container bb-c-flags b_ReliefStyle) +return bb-reliefstyle; +while ((bb = bb-parent)) +{ +if (bb-c-flags b_ReliefStyle) +return bb-c-reliefstyle; +} +#ifdef DEBUG +fprintf(stderr,%s: BUG: No relief definition?\n,MyName); +#endif +return (RELIEFSTYLE_RAISED4) | RELIEFSTYLE_SUNKEN; +} + int buttonBackgroundButton(button_info *b, button_info **r_b) { button_info *tmpb, *pb; @@ -515,6 +533,7 @@ b-c-back=safestrdup(rgb:90/80/90); b-c-fore=safestrdup(black); b-c-framew=2; +b-c-reliefstyle= (RELIEFSTYLE_RAISED4) | RELIEFSTYLE_SUNKEN; } } Index: modules/FvwmButtons/button.h === RCS file: /home/cvs/fvwm/fvwm/modules/FvwmButtons/button.h,v retrieving revision 1.14 diff -u -r1.14 button.h --- modules/FvwmButtons/button.h1 Oct 2002 07:03:29 - 1.14 +++ modules/FvwmButtons/button.h25 Jun 2003 14:44:50 - @@ -42,6 +42,7 @@ Pixel buttonHilite(button_info*); Pixel buttonShadow(button_info*); int buttonColorset(button_info *b); +byte buttonReliefStyle(button_info *b); int buttonBackgroundButton(button_info *b, button_info **r_b); byte buttonSwallow(button_info*); byte buttonJustify(button_info*); Index:
fvwm window button
Hi, This makes a nice + button for a window decoration. I thought you might want to add it to the website. It's from the default fvwm config from SuSE 5.2. ButtonStyle 3 13 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \ [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] gif image of a window is attached. -- E Frank Ball[EMAIL PROTECTED] fvwm-button.gif Description: GIF image
Re: fvwm window button
E Frank Ball [EMAIL PROTECTED] writes: Hi, This makes a nice + button for a window decoration. I thought you might want to add it to the website. It's from the default fvwm config from SuSE 5.2. Yep, it is sorta nice, I'll add it but it might take a while. I'm curious, what does a + button do? -- Dan Espen E-mail: [EMAIL PROTECTED] -- 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 PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
fvwm logo contest
A while back I volunteered to handle any logo submissions while Uwe and Mikhael were on vacation. I never did find the mailing list on the sourceforge site so I have no idea whether there have been any submissions. I apoligize for being too stupid to find something that is probably pretty obvious. If there are any submissions, I guess they'll just have to wait. I'm sort of on vacation myself. -- Dan Espen E-mail: [EMAIL PROTECTED] -- 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 PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: fvwm window button
On Wed, Jun 25, 2003 at 08:52:56PM -0400, Dan Espen wrote: } E Frank Ball [EMAIL PROTECTED] writes: } Hi, } } This makes a nice + button for a window decoration. } I thought you might want to add it to the website. } It's from the default fvwm config from SuSE 5.2. } } Yep, it is sorta nice, I'll add it but it might take a while. } I'm curious, what does a + button do? } } -- } Dan Espen E-mail: [EMAIL PROTECTED] It's fvwm, it can do anything you want it to:-). I use it to toggle whether or not a window is sticky. -- E Frank Ball[EMAIL PROTECTED] -- 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 PROTECTED] To report problems, send mail to [EMAIL PROTECTED]