Re: -Meta_L
How about: .IP *FvwmProxy: Action ModifierRelease \fIcommand\fP This selects an fvwm function to be called while proxies are shown and any modifier held when the proxies were last activated is later released. The default is Nop. *FvwmProxy: Action ModifierRelease SendToModule FvwmProxy Hide Hmm, maybe I should word that description a little better. -- _ ( \ _ \/_ / _ _ Jason Weber Oceanside, CA \|(\/)())) \/\/(-/_)(-/( http://www.imonk.com/baboon [EMAIL PROTECTED] // [EMAIL PROTECTED] (/ On Fri, Jul 02, 2004 at 02:05:03PM +0200, Dominik Vogt wrote: On Fri, Jul 02, 2004 at 01:31:12AM -0700, Jason Weber wrote: I used XQueryPointer in the prototype. If there's no objection, I can just put something similar back in. I have no objections, but we need to add some protocol to inform FvwmProxy about which modifiers to watch. Perhaps something like SendToModule FvwmProxy Show ReleaseModifiers modifiers action where modifiers is a modifier string as in the Mouse command (I think there is some parsing stuff in libs/Bindings.c) and action is either Abort or Activate current proxy (or whatever we called this functionality). It would be good to not poll the pointer constantly but only when a message from fvwm arrives, or once per second otherwise. On Fri, Jul 02, 2004 at 03:31:12AM +0200, Dominik Vogt wrote: On Thu, Jul 01, 2004 at 02:10:39AM -0700, Jason Weber wrote: It looks like key release bindings are gone. Is there a workaround to get this or does anyone have a suggestion on how I can fix this? I wish I knew a good way to do this. Key release bindings froze fvwm or FvwmProxy too often to be usefull (e.g. if you opened a menu with the key held down and released it before closing the menu). So I removed the code again. I really like the flexibility of remote controlling FvwmProxy via SendToModule, but it doesn't work on key release. It's virtually impossible to guarantee no key realeas events are lost unless the keyboard is grabbed, but then either fvwm or FvwmProxy grabs it and the other will freeze (well, if FvwmProxy is remote controlled, it does not need keyboard input, but then we still have to prevent fvwm from running arbitrary functions). One solution might be to let fvwm pass a keycode to FvwmProxy. The module could actively watch the state of the key and close if it has been released. To keep the code simple, we could allow just modifiers (which are easier to watch). If the focus isn't on a proxy, will FvwmProxy get any alternate indication of the alt release? Not from fvwm. I don't suppose the event will hit an X KeyPress. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [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: Patch to allow multiple window names in conditions
About a month ago, I sent in a patch to allow multiple window names in conditions. It was developed for my own use, but since I am a lazy guy, I was hoping the fvwm workers would pick it up, so I wouldn't have to keep maintaining it. That doesn't seem to have happened. Perhaps I should have mentioned that the patch is backward-compatible with old fvwm2rc files. It is mildly half-assed in the sense that it doesn't implement a full boolean expression parser, but in exchange it is small and simple. It assumes that the boolean operator the user wants is OR, or in the case of a window name prefixed with '!', AND NOT. The following is a rehash of the patch against the current CVS tree. ChangeLog and man page updates are included. If something's wrong with it, I'd appreciate hearing what. Index: ChangeLog === RCS file: /home/cvs/fvwm/fvwm/ChangeLog,v retrieving revision 1.2512 diff -u -u -r1.2512 ChangeLog --- ChangeLog 1 Jul 2004 14:34:22 - 1.2512 +++ ChangeLog 4 Jul 2004 19:23:31 - @@ -1,3 +1,11 @@ +2004-07-04 Norman Yarvin [EMAIL PROTECTED] + + * fvwm/fvwm.1.in: + * fvmw/fvwm.h: + * fvwm/conditional.c: + modified the code for conditions so that multiple window names may + be specified in each condition + 2004-07-01 Dominik Vogt [EMAIL PROTECTED] * fvwm/move_resize.c (GetResizeArguments): Index: fvwm/conditional.c === RCS file: /home/cvs/fvwm/fvwm/fvwm/conditional.c,v retrieving revision 1.93 diff -u -u -r1.93 conditional.c --- fvwm/conditional.c 9 May 2004 12:59:55 - 1.93 +++ fvwm/conditional.c 4 Jul 2004 19:23:33 - @@ -382,13 +382,14 @@ */ void FreeConditionMask(WindowConditionMask *mask) { - if (mask-my_flags.needs_name) - { - free(mask-name); - } - else if (mask-my_flags.needs_not_name) - { - free(mask-name - 1); + struct namelist *p,*p2; + + for (p=mask-namelist; p;) + { + free(p-name); + p2=p-next; + free(p); + p=p2; } return; @@ -614,21 +615,16 @@ } mask-my_flags.needs_same_layer = on; } - else if (!mask-my_flags.needs_name -!mask-my_flags.needs_not_name) - { - /* only 1st name to avoid mem leak */ - mask-name = condition; - condition = NULL; - if (on == 0) - { - mask-my_flags.needs_not_name = 1; - mask-name++; - } - else - { - mask-my_flags.needs_name = 1; - } + else + { + struct namelist *p; + + p = (struct namelist *) + safemalloc(sizeof(struct namelist)); + p-name = condition; + p-next = mask-namelist; + mask-namelist = p; + condition = NULL; } if (prev_condition) @@ -663,6 +659,9 @@ int is_on_page; int is_on_global_page; FvwmWindow *sf = get_focus_window(); + struct namelist *p; + char *name; + Bool invert,tried,matched; /* match FixedSize conditional */ /* special treatment for FixedSize, because more than just @@ -822,27 +821,52 @@ } } - /* Yes, I know this could be shorter, but it's hard to understand then -*/ - does_name_match = matchWildcards(mask-name, fw-name.name); - does_icon_name_match = matchWildcards(mask-name, fw-icon_name.name); - does_class_match = - (fw-class.res_class matchWildcards( - mask-name,fw-class.res_class)); - does_resource_match = - (fw-class.res_name matchWildcards( - mask-name, fw-class.res_name)); - does_match = - (does_name_match || does_icon_name_match || does_class_match || -does_resource_match); - if (mask-my_flags.needs_name !does_match) - { - return False; - } - if (mask-my_flags.needs_not_name does_match) - { - return False; - } + tried = False; + matched = False; + + for(p=mask-namelist; p; p=p-next) + { + name = p-name; + invert = False; + if(*name == '!') + { + name++; + invert = True; + } + + /* Yes, I know this could be
Notification: incoming/1342
FVWM Bug Tracking notification new message incoming/1342 Message summary for PR#1342 From: [EMAIL PROTECTED] Subject: EdgeScroll 10 10 and eclipse Date: Sun, 4 Jul 2004 15:23:10 -0500 0 replies 0 followups ORIGINAL MESSAGE FOLLOWS From [EMAIL PROTECTED] Sun Jul 04 15:23:10 2004 Received: from lserv00.math.uh.edu ([129.7.128.99]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BhDW2-0001hK-Eq for [EMAIL PROTECTED]; Sun, 04 Jul 2004 15:23:10 -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 i64KNAJ03582 for [EMAIL PROTECTED]; Sun, 4 Jul 2004 15:23:10 -0500 Date: Sun, 4 Jul 2004 15:23:10 -0500 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: EdgeScroll 10 10 and eclipse Full_Name: claudius Version: 2.5.10 CVS_Date: - OS: Linux 2.6.7-gentoo-r6 X_Server: 4.3.0-r5 Submission from: (NULL) (82.212.31.243) from my globalfeel: DeskTopSize 6x6 EdgeScroll 10 10 When I start eclipse and open any new window (Find, Help,...), as soon as the new window appears fvwm scrolls to one Desktop. E.g. if my screen shows the right part of desktop 2 and the left of desktop 3 then after the window opens my screen shows only desktop 2 (or only desktop 3, depending on which middle of desktop is displayed). This bug appears only on my laptop: fvwm 2.5.10 compiled on Jun 8 2004 at 01:41:34 with support for: ReadLine, XPM, PNG, Shape, XShm, SM, XRender, XFT, NLS not on my other computer: FVWM version 2.4.8 compiled on Oct 14 2002 at 20:55:44 with support for: ReadLine, Stroke, XPM, GNOME WM hints, Shape, SM, Multibyte, Xinerama Eclipse (www.eclipse.org) is an IDE (mainly for developing Java programs). Eclipse-Version: 3.0.0 Build id: 200406251208 It doesn't happen in other applications. Please note that eclipse uses neighter Java-Swing nor SWT but AWT, described on eclipse.org -- 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/1340
FVWM Bug Tracking notification new message incoming/1340 Message summary for PR#1340 From: [EMAIL PROTECTED] Subject: Disconnects from X Server on Mac OSX: Continued Date: Sun, 4 Jul 2004 10:50:43 -0500 0 replies 0 followups ORIGINAL MESSAGE FOLLOWS From [EMAIL PROTECTED] Sun Jul 04 10:50:43 2004 Received: from lserv00.math.uh.edu ([129.7.128.99]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Bh9GN-0008Ns-Rx for [EMAIL PROTECTED]; Sun, 04 Jul 2004 10:50:43 -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 i64FohJ15144 for [EMAIL PROTECTED]; Sun, 4 Jul 2004 10:50:43 -0500 Date: Sun, 4 Jul 2004 10:50:43 -0500 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Disconnects from X Server on Mac OSX: Continued Full_Name: Chad Wingrave Version: 2.4.15 CVS_Date: OS: Mac OSX 10.3.4 X_Server: Apple's X11 Submission from: (NULL) (198.82.174.175) To continue my previous post (1339), the exact error message when opening any X window from the command line is : Xlib: No protocol specified xterm Xt error: Can't open display: :0.0 I tried resetting my display to the hostname of my machine but it didn't work. I'm guessing it has something to do at a much lower level than this (hey, but why not try). -- 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: Passing events to Reparented windows
[sorry if this comes twice, my last reply never reached the list] On Fri, Jul 02, 2004 at 02:44:02PM +0200, Dominik Vogt wrote: Is it worth submiting the patch? Yes. Thanks for the reply Dominik, This is the patch I've been using, I'm sure it's horribly wrong, but it does seem to get Swallowed transparent windows updated correctly :) Maybe it will at least help demonstrate what I was talking about :) Example configuration (requires rxvt =2.7.3, I think): Colorset 34 fg black, bg white, RootTransparent buffer DestroyModuleConfig FvwmTest: * *FvwmTest: Geometry 634x384 *FvwmTest: Colorset 34 *FvwmTest: Rows 2 *FVwmTest: Columns 2 *FvwmTest: (1x1, Swallow TransTerm `Exec exec rxvt -tr -name TransTerm -e rain -d 200`) *FvwmTest: (1x1, Swallow TransTerm `Exec exec rxvt -tr -name TransTerm -e rain -d 200`) *FvwmTest: (2x1, Title Close, Action `Current Close`) -- - [EMAIL PROTECTED] | finger me for my gpg key. --- Index: FvwmButtons.c === RCS file: /home/cvs/fvwm/fvwm/modules/FvwmButtons/FvwmButtons.c,v retrieving revision 1.186 diff -u -w -r1.186 FvwmButtons.c --- FvwmButtons.c 29 Jun 2004 18:05:55 - 1.186 +++ FvwmButtons.c 3 Jul 2004 09:39:30 - @@ -1070,7 +1070,43 @@ else if (Event.xconfigure.window == MyWindow Event.xconfigure.send_event) { + button=-1; + ub=UberButton; + update_root_transparency(Event); + while(NextButton(ub,b,button,0)) + { + if ((b-flags b_Swallow) SwallowedWindow(b)) + { + Window swin = SwallowedWindow(b), br; + XEvent BEvent; + unsigned int bx, by, bw, bh, bbw, bd; + + if (!XGetGeometry(Dpy, swin, br, bx, by, bw, bh, bbw, bd)) + { + continue; + } + +#ifdef DEBUG_EVENTS + fprintf (stderr, Sending ConfigureNotify to Button: %#9x\n + New Position: %ux%u\n, + (int) swin, + Event.xconfigure.x+b-x, + Event.xconfigure.y+b-y); +#endif + + BEvent.type = ConfigureNotify; + BEvent.xconfigure.display = Dpy; + BEvent.xconfigure.event = swin; + BEvent.xconfigure.window = swin; + BEvent.xconfigure.x = Event.xconfigure.x+bx; + BEvent.xconfigure.y = Event.xconfigure.y+by; + BEvent.xconfigure.width = bw; + BEvent.xconfigure.height = bh; + BEvent.xconfigure.border_width = bbw; + FSendEvent(Dpy, swin, False, StructureNotifyMask, BEvent); + } + } } } break;
Wrong behavior of WarpToWindow function: it reset viewport on multipage desk
Configuration Information [Automatically generated, do not change]: uname: Linux joemast 2.4.25-1-686 #1 Tue Feb 24 10:55:59 EST 2004 i686 GNU/Linux compiler flags: i386-linux-gcc -g -O2 -Wall -Wno-implicit-int FVWM Version: 2.5.10 FVWM_MODULEDIR: /usr/lib/fvwm/2.5.10 FVWM_DATADIR: /usr/share/fvwm FVWM_USERDIR: /home/rk/.fvwm Description: WarpToWindow function after invoke resets viewport coordinates to 0x0 relative to page with operation window. Such behavior is not depend from FPFocusByFunctionWarpPointer option. Repeat-By: 1. Use a multipages desk (DesktopSize more than 1x1, for example 4x4) 2. Scroll viewport (for example, by send Scroll 20 20 to fvwm) 3. Send WarpToWindow 50 50 to fvwm - mouse pointer will jump to 50 50, but viewport will resets like GoToPage command. -- 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/1339
FVWM Bug Tracking notification new message incoming/1339 Message summary for PR#1339 From: [EMAIL PROTECTED] Subject: Disconnects from X Server on Mac OSX Date: Sat, 3 Jul 2004 14:49:23 -0500 0 replies 0 followups ORIGINAL MESSAGE FOLLOWS From [EMAIL PROTECTED] Sat Jul 03 14:49:23 2004 Received: from lserv00.math.uh.edu ([129.7.128.99]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BgqVn-00081w-Oe for [EMAIL PROTECTED]; Sat, 03 Jul 2004 14:49:23 -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 i63JnNJ24397 for [EMAIL PROTECTED]; Sat, 3 Jul 2004 14:49:23 -0500 Date: Sat, 3 Jul 2004 14:49:23 -0500 Message-Id: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Disconnects from X Server on Mac OSX Full_Name: Chad Wingrave Version: 2.4.15 CVS_Date: OS: Mac OSX 10.3.4 X_Server: Apple's X11 Submission from: (NULL) (198.82.174.175) After a period of time, or especially after I move my laptop home, use it there and return to the lab network (both wireless), I am unable to open any new X items saying unable to connect to X server. When using Apple's window manager, there is not the same problem. I'm guessing it gets connected as the hostname changes. The problem is that it does not always fail. When I come back to the lab, I know the DHCP hostname it gives my machine is always the same and I am assuming the same at home but I can not be certain (have not checked). Anyway, it is annoying to have to close all my window's (i'm one of those guys that likes many xterms open), restart the X server and then reopen all my windows. I've tried restartting fvwm2 but it just crashes (as I assume it tries to reconnect to the X server and fails). Any ideas? -- 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: Passing events to Reparented windows
On Fri, Jul 02, 2004 at 02:44:02PM +0200, Dominik Vogt wrote: Is it worth submiting the patch? Yes. Thanks for the reply Dominik, This is the patch I've been using, I'm sure it's horribly wrong, but it does seem to get Swallowed transparent windows updated correctly :) Maybe it will at least help demonstrate what I was talking about :) -- - [EMAIL PROTECTED] | finger me for my gpg key. --- Index: FvwmButtons.c === RCS file: /home/cvs/fvwm/fvwm/modules/FvwmButtons/FvwmButtons.c,v retrieving revision 1.186 diff -u -w -r1.186 FvwmButtons.c --- FvwmButtons.c 29 Jun 2004 18:05:55 - 1.186 +++ FvwmButtons.c 2 Jul 2004 22:06:16 - @@ -1070,7 +1070,43 @@ else if (Event.xconfigure.window == MyWindow Event.xconfigure.send_event) { + button=-1; + ub=UberButton; + update_root_transparency(Event); + while(NextButton(ub,b,button,0)) + { + if (b-flags b_Swallow SwallowedWindow(b)) + { + Window swin = SwallowedWindow(b), br; + XEvent BEvent; + unsigned int bx, by, bw, bh, bbw, bd; + + if (!XGetGeometry(Dpy, swin, br, bx, by, bw, bh, bbw, bd)) + { + continue; + } + +#ifdef DEBUG_EVENTS + fprintf (stderr, Sending ConfigureNotify to Button: %#9x\n + New Position: %ux%u\n, + (int) swin, + Event.xconfigure.x+b-x, + Event.xconfigure.y+b-y); +#endif + + BEvent.type = ConfigureNotify; + BEvent.xconfigure.display = Dpy; + BEvent.xconfigure.event = swin; + BEvent.xconfigure.window = swin; + BEvent.xconfigure.x = Event.xconfigure.x+bx; + BEvent.xconfigure.y = Event.xconfigure.y+by; + BEvent.xconfigure.width = bw; + BEvent.xconfigure.height = bh; + BEvent.xconfigure.border_width = bbw; + FSendEvent(Dpy, swin, False, StructureNotifyMask, BEvent); + } + } } } break;
Re: Wrong behavior of WarpToWindow function: it reset viewport on multipage desk
On Sat, Jul 03, 2004 at 08:46:49AM +0700, [EMAIL PROTECTED] wrote: Configuration Information [Automatically generated, do not change]: uname: Linux joemast 2.4.25-1-686 #1 Tue Feb 24 10:55:59 EST 2004 i686 GNU/Linux compiler flags: i386-linux-gcc -g -O2 -Wall -Wno-implicit-int FVWM Version: 2.5.10 FVWM_MODULEDIR: /usr/lib/fvwm/2.5.10 FVWM_DATADIR: /usr/share/fvwm FVWM_USERDIR: /home/rk/.fvwm Description: WarpToWindow function after invoke resets viewport coordinates to 0x0 relative to page with operation window. Such behavior is not depend from FPFocusByFunctionWarpPointer option. Repeat-By: 1. Use a multipages desk (DesktopSize more than 1x1, for example 4x4) 2. Scroll viewport (for example, by send Scroll 20 20 to fvwm) 3. Send WarpToWindow 50 50 to fvwm - mouse pointer will jump to 50 50, but viewport will resets like GoToPage command. Not exactly. This only happens if the center of the window is not on the current page. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] pgp9xHqGJuJ4S.pgp Description: PGP signature
Re: -Meta_L
On Sun, Jul 04, 2004 at 01:22:21PM -0700, Jason Weber wrote: How about: .IP *FvwmProxy: Action ModifierRelease \fIcommand\fP This selects an fvwm function to be called while proxies are shown and any modifier held when the proxies were last activated is later released. The default is Nop. Yes, that's nice, but we still need another option via SendToModule to override this setting. This shouldn't be much additional work. On Fri, Jul 02, 2004 at 02:05:03PM +0200, Dominik Vogt wrote: On Fri, Jul 02, 2004 at 01:31:12AM -0700, Jason Weber wrote: I used XQueryPointer in the prototype. If there's no objection, I can just put something similar back in. I have no objections, but we need to add some protocol to inform FvwmProxy about which modifiers to watch. Perhaps something like SendToModule FvwmProxy Show ReleaseModifiers modifiers action where modifiers is a modifier string as in the Mouse command (I think there is some parsing stuff in libs/Bindings.c) and action is either Abort or Activate current proxy (or whatever we called this functionality). It would be good to not poll the pointer constantly but only when a message from fvwm arrives, or once per second otherwise. On Fri, Jul 02, 2004 at 03:31:12AM +0200, Dominik Vogt wrote: On Thu, Jul 01, 2004 at 02:10:39AM -0700, Jason Weber wrote: It looks like key release bindings are gone. Is there a workaround to get this or does anyone have a suggestion on how I can fix this? I wish I knew a good way to do this. Key release bindings froze fvwm or FvwmProxy too often to be usefull (e.g. if you opened a menu with the key held down and released it before closing the menu). So I removed the code again. I really like the flexibility of remote controlling FvwmProxy via SendToModule, but it doesn't work on key release. It's virtually impossible to guarantee no key realeas events are lost unless the keyboard is grabbed, but then either fvwm or FvwmProxy grabs it and the other will freeze (well, if FvwmProxy is remote controlled, it does not need keyboard input, but then we still have to prevent fvwm from running arbitrary functions). One solution might be to let fvwm pass a keycode to FvwmProxy. The module could actively watch the state of the key and close if it has been released. To keep the code simple, we could allow just modifiers (which are easier to watch). If the focus isn't on a proxy, will FvwmProxy get any alternate indication of the alt release? Not from fvwm. I don't suppose the event will hit an X KeyPress. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] pgpqdOrIYqJya.pgp Description: PGP signature
Re: Passing events to Reparented windows
On Sat, Jul 03, 2004 at 10:52:49AM +0100, Tavis Ormandy wrote: [sorry if this comes twice, my last reply never reached the list] On Fri, Jul 02, 2004 at 02:44:02PM +0200, Dominik Vogt wrote: Is it worth submiting the patch? Yes. Thanks for the reply Dominik, This is the patch I've been using, I'm sure it's horribly wrong, but it does seem to get Swallowed transparent windows updated correctly :) No, the patch is fine (but see below). Maybe it will at least help demonstrate what I was talking about :) Example configuration (requires rxvt =2.7.3, I think): Colorset 34 fg black, bg white, RootTransparent buffer DestroyModuleConfig FvwmTest: * *FvwmTest: Geometry 634x384 *FvwmTest: Colorset 34 *FvwmTest: Rows 2 *FVwmTest: Columns 2 *FvwmTest: (1x1, Swallow TransTerm `Exec exec rxvt -tr -name TransTerm -e rain -d 200`) *FvwmTest: (1x1, Swallow TransTerm `Exec exec rxvt -tr -name TransTerm -e rain -d 200`) *FvwmTest: (2x1, Title Close, Action `Current Close`) -- - [EMAIL PROTECTED] | finger me for my gpg key. --- Index: FvwmButtons.c === RCS file: /home/cvs/fvwm/fvwm/modules/FvwmButtons/FvwmButtons.c,v retrieving revision 1.186 diff -u -w -r1.186 FvwmButtons.c --- FvwmButtons.c 29 Jun 2004 18:05:55 - 1.186 +++ FvwmButtons.c 3 Jul 2004 09:39:30 - @@ -1070,7 +1070,43 @@ else if (Event.xconfigure.window == MyWindow Event.xconfigure.send_event) { + button=-1; + ub=UberButton; + update_root_transparency(Event); + while(NextButton(ub,b,button,0)) + { + if ((b-flags b_Swallow) SwallowedWindow(b)) + { + Window swin = SwallowedWindow(b), br; + XEvent BEvent; + unsigned int bx, by, bw, bh, bbw, bd; + + if (!XGetGeometry(Dpy, swin, br, bx, by, bw, bh, bbw, bd)) + { + continue; + } + +#ifdef DEBUG_EVENTS + fprintf (stderr, Sending ConfigureNotify to Button: %#9x\n + New Position: %ux%u\n, + (int) swin, + Event.xconfigure.x+b-x, + Event.xconfigure.y+b-y); +#endif + Add fev_make_null_event(Bevent, Dpy); + BEvent.type = ConfigureNotify; + BEvent.xconfigure.display = Dpy; ^^ Remove this line. + BEvent.xconfigure.event = swin; + BEvent.xconfigure.window = swin; + BEvent.xconfigure.x = Event.xconfigure.x+bx; + BEvent.xconfigure.y = Event.xconfigure.y+by; + BEvent.xconfigure.width = bw; + BEvent.xconfigure.height = bh; + BEvent.xconfigure.border_width = bbw; Add BEvent.xconfigure.above = None; BEvent.override_redirect = False; + FSendEvent(Dpy, swin, False, StructureNotifyMask, BEvent); + } + } } } break; Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] pgpQgATHcIHg7.pgp Description: PGP signature
Re: Notification: incoming/1342
On Mon, Jul 05, 2004 at 03:25:26AM -0500, fvwm-bug wrote: FVWM Bug Tracking notification new message incoming/1342 Full_Name: claudius Version: 2.5.10 CVS_Date: - OS: Linux 2.6.7-gentoo-r6 X_Server: 4.3.0-r5 Submission from: (NULL) (82.212.31.243) from my globalfeel: DeskTopSize 6x6 EdgeScroll 10 10 When I start eclipse and open any new window (Find, Help,...), as soon as the new window appears fvwm scrolls to one Desktop. I think we call Pages what you call Desktops. E.g. if my screen shows the right part of desktop 2 and the left of desktop 3 then after the window opens my screen shows only desktop 2 (or only desktop 3, depending on which middle of desktop is displayed). This bug appears only on my laptop: fvwm 2.5.10 compiled on Jun 8 2004 at 01:41:34 with support for: ReadLine, XPM, PNG, Shape, XShm, SM, XRender, XFT, NLS not on my other computer: FVWM version 2.4.8 compiled on Oct 14 2002 at 20:55:44 with support for: ReadLine, Stroke, XPM, GNOME WM hints, Shape, SM, Multibyte, Xinerama Eclipse (www.eclipse.org) is an IDE (mainly for developing Java programs). Eclipse-Version: 3.0.0 Build id: 200406251208 It doesn't happen in other applications. Please note that eclipse uses neighter Java-Swing nor SWT but AWT, described on eclipse.org You probably have the StartsOnPage ... style somewhere in your config. WIth that, fvwm switches to the given page when a matching window appears. Remove that line or try Style eclipse window class SkipMapping Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] pgpwWqWVfRH0d.pgp Description: PGP signature
Re: Building FVWM in separate directories
Hi Mikhael, :) Out of tree builds should work. If not, then it is a bug. For example, this should work: cd /nfs/cvs/fvwm aclocal autoheader automake -a autoconf cd /build/mysystem /nfs/cvs/fvwm/configure [params] make make install Just tried this on the fresh cvs checkout, works perfectly without writing anything system dependent to the checkout directory. automake creates a bunch of system-dependent soft-links: depcomp - /usr/share/automake-1.7/depcomp* install-sh - /usr/share/automake-1.7/install-sh* missing - /usr/share/automake-1.7/missing* mkinstalldirs - /usr/share/automake-1.7/mkinstalldirs* When I ./configure on another machine those links are broken. SCoTT. :) -- 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: Building FVWM in separate directories
On 06 Jul 2004 00:29:39 +1000, Scott Smedley wrote: Out of tree builds should work. If not, then it is a bug. For example, this should work: cd /nfs/cvs/fvwm aclocal autoheader automake -a autoconf cd /build/mysystem /nfs/cvs/fvwm/configure [params] make make install Just tried this on the fresh cvs checkout, works perfectly without writing anything system dependent to the checkout directory. automake creates a bunch of system-dependent soft-links: depcomp - /usr/share/automake-1.7/depcomp* install-sh - /usr/share/automake-1.7/install-sh* missing - /usr/share/automake-1.7/missing* mkinstalldirs - /usr/share/automake-1.7/mkinstalldirs* When I ./configure on another machine those links are broken. If the file systems on these machines are not identical then run automake --add-missing --copy, not automake -a. Regards, Mikhael. -- 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: WindowList selection on release
Hi all I have the following line in my bindings.hook file Key Tab AMWindowList Root c c NoDeskSort, NoGeometry, SelectOnRelease when I press Alt+Tab and keeping pressed Alt key I continue hiting Tab key, the selection moves over all the entries in WindowList, but when I releas Alt key, WindowList is still there, and I have to hir return key to go to the selected window. How can I fix this? I want to go directly to the selected WindowList option when I release the Alt key. thanks in advance --ejg -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: HoverIcon for FvwmButtons (Was: animated FvwmButtons)
Can we have the animated FvwmButtons? For example, the texte on the buttons change the color when mouse pass (like a link in a web page)? I had a go at implementing a HoverIcon option for the FvwmButtons module. This allows an alternative image to be displayed when the mouse cursor is over a button. See here: http://users.tpg.com.au/users/scottie7/tmp/hoverIcon.html As FvwmButtons is used in all kinds of different ways, I need a few people to test the patch find bugs etc. Please report any feedback to [EMAIL PROTECTED] Thanks, SCoTT. :) -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: I want to set the new FVWM winning-logo into Rootmenu instead of the Title string of Rootmenu, what should i do?
I like the new FVWM winning logo, and want to set it instead of the RootMenu Title in my fvwm2rc file , this is i do: AddToMenu MenuFvwmRoot %fvwm-logo-starburst-blue-250x83.png% Title i set the title string empty, just want to use the logo instead of the string Root Menu But the logo displays the left of FVWM rootmenu, if i want to it displays the center of Rootmenu , What should i do? Thanks -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: tray icon placement
Hi, I have a problem forcing a so-called tray icon generated by a program to appear at desired coordinates on a screen. The case involves sylpheed mail client (run on fvwm ver. 2.5.10) and its plugin, which displays a tray icon informing about mail box status. Because, I don't have a tray, the icon pop ups on the left upper corner of the screen. My question is if there is any method/function in the fvwm, which can force this icon to appear at specified coordinates? Sorry if this has been asked before, but I couldn't find an answer either in google or in the fvwm faq. I would appreciate any help. Thanks. Wojtek -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: Focus and GoToPage
Sorry for bad english, I will try to explain my problems as I can. As I sayd some time ago, now I try to use a one large desktop with lot of nonoverlapped windows. I use Scroll command for positioning viewport (i.e. I not use Pages or Deskstops metaphor, my desktop looks like battlefield in strategy games). I use fvwm about two years, and in standart metaphor it is a best wm. I choose fvwm for my task because it is a most flexible wm (sawfish is flexible too, but sawfish is not developed now). My metaphor looks interesting, and during last week I more and more like it :) A most important thing in this metaphor is focused window should be in attention locus, i.e. as far as possible in center of a viewport I asked here about placement windows on whole multipaged desk, not on current page only. OK, now I can't do it by fvwm. So, question number one: anybody needs such feature, or not? Maybe this is not to hard to implement? I have no time for try to fix it by myself - I'm not a C programmer and can't fix it in short time :( Question number two: I report a bug (in my opinion it is a bug) about wrong behavior of WarpToWindow function. Shortly: this function resets a viewport like GoToPage do it. Can I to do something with it? Is there a workaround? I can't find a simple solution (I plan to use CursorMove or something like it, but it is not a good solution). I need WarpToWindow because I use SloppyFocus and I like to change active window by keyboard. In my case fvwm should move mouse pointer to focused window. Can I use something different than WarpToWindow? Are there anybody with the same problems or with the same desktop idea? PS: I can't use XFree86 for my task because of weak flexible of it. -- Ruslan Kosolapov Plesk QA Department Second Manager SWsoft, Inc. E-mail: [EMAIL PROTECTED] Web Site: www.sw-soft.com -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
RE: FVWM: fvwm vs ion
I currently am mainly using another tiling window manager wmi www.wm-i.org. I have been a long time user of FVWM and love its customizability, but I am finding I am much more efficient using a keyboard driven window manager. It would certainly be interesting to see something like this implemented in FVWM. m. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shao Zhang Sent: Thursday, July 01, 2004 11:32 PM To: fvwm@fvwm.org Subject: FVWM: fvwm vs ion Hi, I am curious if any long time fvwmers has tried out the tiled window manager Ion. I tried it out yesterday for only one day and I think it can be very useful especially for serious coding. The concept of the tiled window manager is quite interesting and it can definitely improve work productivity. I know we have got FvwmRearrange and FvwmTabs. But it will be really nice if we have a FvwmFrame module that can manage a single desktop or screen like what Ion can. I think it will make fvwm even more unique! What are your thoughts? Regards, Shao. -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED] _ Scanned on 02 Jul 2004 06:34:11 Scanning by http://erado.com _ Scanned on 02 Jul 2004 22:19:37 Scanning by http://erado.com -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: Re: fvwm vs ion
in message [EMAIL PROTECTED], wrote Parv thusly... ...i wanted both the fvwm's ion's feature, which is not easy to do when one has to remember the key bindings of both. I started working on an article but somehow have not finished it yet... http://www103.pair.com/parv/comp/unix/x/case-simul-wm.xhtmls - Parv -- -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: Re: fvwm vs ion
in message [EMAIL PROTECTED], wrote Shao Zhang thusly... I am curious if any long time fvwmers has tried out the tiled window manager Ion. I did (ion 20020207)... http://www103.pair.com/parv/comp/unix/cf/ion/ http://www103.pair.com/parv/comp/graphic.comp/ion/ion-vnc-fvwm.png ...i wanted both the fvwm's ion's feature, which is not easy to do when one has to remember the key bindings of both. As i was more familiar comfortable w/ fvwm, i st[ui]ck w/ it. Fvwm (2.5.6 - 2.5.10) features i prefer... - shaded windows - virtual pager representation - window list - (root) menu customization - large amount of things that can be binded w/ keys Ion (20020207) features i prefer... - no overlapping windows - window organization was much better than FvwmTab of the time. - Parv -- -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: WindowList selection on release
On 04 Jul 2004 23:56:19 -0300, Eduardo Gargiulo wrote: I have the following line in my bindings.hook file Key Tab AMWindowList Root c c NoDeskSort, NoGeometry, SelectOnRelease when I press Alt+Tab and keeping pressed Alt key I continue hiting Tab key, the selection moves over all the entries in WindowList, but when I releas Alt key, WindowList is still there, and I have to hir return key to go to the selected window. How can I fix this? I want to go directly to the selected WindowList option when I release the Alt key. Remove empty SelectOnRelease option from the binding or replace it with SelectOnRelease Meta_L. Regards, Mikhael. -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Focus and GoToPage
On Sat, Jul 03, 2004 at 09:56:48AM +0700, Ruslan Kosolapov wrote: A most important thing in this metaphor is focused window should be in attention locus, i.e. as far as possible in center of a viewport I'm not sure what you mean by attention locus, but if you mean you want to centre the viewport on a window how about this: DestroyFunc CenterViewportOnWindow AddToFunc CenterViewportOnWindow + I FlipFocus + I WarpToWindow 50 50 + I PipeRead echo Scroll $$-$[vp.width]/2)+$[pointer.x])))p $$(((-($[vp.height]/2)+$[pointer.y])))p Then, for example, bind something to Next CenterViewportOnWindow I asked here about placement windows on whole multipaged desk, not on current page only. OK, now I can't do it by fvwm. Well you can, the StartsOnPage/SkipMapping solution sounded okay to me? Question number two: I report a bug (in my opinion it is a bug) about wrong behavior of WarpToWindow function. Shortly: this function resets a viewport like GoToPage do it. Can I to do something with it? Is there a workaround? I can't find a simple solution (I plan to use CursorMove or something like it, but it is not a good solution). I Think using CursorMove is a good solution, you could add some CursorMove to the function above to get pretty close to this behaviour! -- - [EMAIL PROTECTED] | finger me for my gpg key. --- -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: tray icon placement
On Sat, Jul 03, 2004 at 10:40:26PM +0200, Wojtek Karlowski wrote: My question is if there is any method/function in the fvwm, which can force this icon to appear at specified coordinates? Sorry if this has been asked before, but I couldn't find an answer either in google or in the fvwm faq. take a look at #3.18, if you mean you want it to obey your placement policy rather than always appear in the top left, maybe you need to set NoUSPosition/NoPPosition Styles. -- - [EMAIL PROTECTED] | finger me for my gpg key. --- -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: I want to set the new FVWM winning-logo into Rootmenu instead of the Title string of Rootmenu, what should i do?
On Sun, Jul 04, 2004 at 07:40:46PM +0800, lee wrote: I like the new FVWM winning logo, and want to set it instead of the RootMenu Title in my fvwm2rc file , this is i do: AddToMenu MenuFvwmRoot %fvwm-logo-starburst-blue-250x83.png% Title i set the title string empty, just want to use the logo instead of the string Root Menu But the logo displays the left of FVWM rootmenu, if i want to it displays the center of Rootmenu , What should i do? Almost right, try AddToMenu MenuFvwmRoot *fvwm-logo-starburst-blue-250x83.png* Title -- - [EMAIL PROTECTED] | finger me for my gpg key. --- -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: Asynchronous behaviour
I have a very specific problem and I'm not sure how to solve it, so I thought I'd bring it here. I'm trying to change the behavior of Alt+Tab to iconify current window deiconify, focus, and raise next. In and of itself, this is easy, and works fine. The problem I get is that I'd like to use Tavis Ormandy's excellent thumbnail creation code. This takes two seconds to run on my machine, so my thought was to do it in the background - actually, to do it behind the other Window. So I implemented this with this function: DestroyFunc SwitchandMinimize AddToFunc SwitchandMinimize + I Next Iconify off + I Next Focus + I Next Raise + I ThumbnailAlways Theoretically, it should do the quick stuff first, and leave me with a window in the foreground that I can use even during those two seconds that the other window is being iconified. However, it doesn't work. Initially, the next window is deiconified, and raised, but the first window is thumbnailed before the next window is given focus. How can I make this function execute the code in the order I've included it? -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re:FVWM: HoverIcon for FvwmButtons (Was: animated FvwmButtons)
In your mail: From: Scott Smedley [EMAIL PROTECTED] Reply-To: To: fvwm@fvwm.org Subject: FVWM: HoverIcon for FvwmButtons (Was: animated FvwmButtons) Can we have the animated FvwmButtons? For example, the texte on the buttons change the color when mouse pass (like a link in a web page)? I had a go at implementing a HoverIcon option for the FvwmButtons module. This allows an alternative image to be displayed when the mouse cursor is over a button. See here: http://users.tpg.com.au/users/scottie7/tmp/hoverIcon.html As FvwmButtons is used in all kinds of different ways, I need a few people to test the patch find bugs etc. Please report any feedback to [EMAIL PROTECTED] Thanks, SCoTT. :) -- I've try out this patch. Pretty stable and efficient. I've spent quite a lot of time figure out how to implement a similar effect using FvwmButtons and FvwmAuto (http://liusd.spymac.net/linux/fvwm). If this comes sooner:-) Best, Liu Shidai -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Focus and GoToPage
On Mon, Jul 05, 2004 at 11:15:20AM +0100, Tavis Ormandy wrote: Question number two: I report a bug (in my opinion it is a bug) about wrong behavior of WarpToWindow function. Shortly: this function resets a viewport like GoToPage do it. Can I to do something with it? Is there a workaround? I can't find a simple solution (I plan to use CursorMove or something like it, but it is not a good solution). I Think using CursorMove is a good solution, you could add some CursorMove to the function above to get pretty close to this behaviour! To warp to the top left corner of a window without switching pages you can use AddToFunc my_warptowindow + I WindowId root 0 WarpToWindow $[w.x]p $[w.y]p Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] pgp6NP6D8AUu7.pgp Description: PGP signature
Re: FVWM: tray icon placement
On Mon, Jul 05, 2004 at 11:21:24AM +0100, Tavis Ormandy wrote: On Sat, Jul 03, 2004 at 10:40:26PM +0200, Wojtek Karlowski wrote: My question is if there is any method/function in the fvwm, which can force this icon to appear at specified coordinates? Sorry if this has been asked before, but I couldn't find an answer either in google or in the fvwm faq. take a look at #3.18, if you mean you want it to obey your placement policy rather than always appear in the top left, maybe you need to set NoUSPosition/NoPPosition Styles. Or maybe NoIconPosition. Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] pgpCBYtjBzuS1.pgp Description: PGP signature
Re: FVWM: tray icon placement
On Sat, 3 Jul 2004 22:40:26 +0200 Wojtek Karlowski [EMAIL PROTECTED] wrote: My question is if there is any method/function in the fvwm, which can force this icon to appear at specified coordinates? I think the best way would be to create a small system tray for it. I use a peksystray, swallowed in an FvwmButtons module: http://freshmeat.net/projects/peksystray -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: HoverIcon for FvwmButtons (Was: animated FvwmButtons)
Hi Liu, I had a go at implementing a HoverIcon option for the FvwmButtons module. This allows an alternative image to be displayed when the mouse cursor is over a button. See here: http://users.tpg.com.au/users/scottie7/tmp/hoverIcon.html I've try out this patch. Pretty stable and efficient. Cool! Thanks for the feedback. I've spent quite a lot of time figure out how to implement a similar effect using FvwmButtons and FvwmAuto (http://liusd.spymac.net/linux/fvwm). So you're dynamically changing the icon of FvwmButtons with the SendToModule command then creating another dock to display the enlarged icon - have I understood that correctly? Out of curiosity, how responsive is this? SCoTT. :) -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: Memory usage
May be this message is rather off-topic. I'm using fvwm as window maneger; I'm trying to optimize the usage of memory, because it's an old machine with only 160Mb of RAM memory. My question is regarding the process that set up a background for my fvwm desktop. I'm using fvwm-root to load a png image as wallpaper, but I can't see that process with 'ps' or 'top' command so I'm looking for information about memory comsumption of fvwm-root; I really want to know if the memory used for fvwm-root is proportional to the image size and if that memory is used during all my fvwm session or it is freed up after loading. thanks in advance and sorry for my english ... --ejg -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Asynchronous behaviour
Hi Rusty, : The problem I get is that I'd like to use Tavis Ormandy's excellent : thumbnail creation code. This takes two seconds to run on my machine, : so my thought was to do it in the background - actually, to do it behind : the other Window. I'm not sure I have the ideal solution for you, however: The thumbnailing operation can be split into 2 parts: 1. immediate actions 2. deferred actions Immediate actions would be stuff like raising the window, grabbing a screenshot then iconifying the window. The deferred stuff (which takes most of the processing time) encompasses: recording the current icon image, creating the thumbnailed icon image, setting the icon image to the new thumbnail. All the deferred stuff can be done in a script Exec'ed. Communication with FVWM (in the script) would be trivial with FvwmCommand. Once FVWM does the Exec it's no longer waiting (for PipeReads) hopefully it will all appear much more responsive. SCoTT. :) -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: HoverIcon for FvwmButtons (Was: animated FvwmButtons)
Hi SCoTT, In your mail: Hi Liu, I had a go at implementing a HoverIcon option for the FvwmButtons module. This allows an alternative image to be displayed when the mouse cursor is over a button. See here: http://users.tpg.com.au/users/scottie7/tmp/hoverIcon.html I've try out this patch. Pretty stable and efficient. Cool! Thanks for the feedback. I'd like this patch to be stablized and merged into fvwm:-) Maybe you can add a hovertitle option to FvwmButtons, and even a hover state to title buttons:-) I've spent quite a lot of time figure out how to implement a similar effect using FvwmButtons and FvwmAuto (http://liusd.spymac.net/linux/fvwm). So you're dynamically changing the icon of FvwmButtons with the SendToModule command then creating another dock to display the enlarged icon - have I understood that correctly? Yeah, this is how it works. Out of curiosity, how responsive is this? I have a P4 2G cpu. This causes no speed loss, at least, I can't feel it. As for the 'responsive', I set a delay 100ms in case mouse accidentally enter the dock and leave it very soon. Anyway, you can download 'http://liusd.spymac.net/linux/fvwm/tmp/test.tgz' and in FvwmConsole issue 'Read liusDock' to try it out. SCoTT. :) -- Best, Liu -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Focus and GoToPage
A most important thing in this metaphor is focused window should be in attention locus, i.e. as far as possible in center of a viewport TO I'm not sure what you mean by attention locus, but if you mean TO you want to centre the viewport on a window how about this: TO DestroyFunc CenterViewportOnWindow TO AddToFunc CenterViewportOnWindow TO + I FlipFocus TO + I WarpToWindow 50 50 TO + I PipeRead echo Scroll $$-$[vp.width]/2)+$[pointer.x])))p $$(((-($[vp.height]/2)+$[pointer.y])))p TO Then, for example, bind something to Next CenterViewportOnWindow :) Thanks. I use FvwmTcl module by Victor Wagner for it: DestroyFunc CenterViewPortAndFocus AddToFunc CenterViewPortAndFocus + I Module $[bindir]/CenterViewPort.tcl $[w.x] $[w.y] $[w.width] $[w.height] $[vp.width] $[vp.height] #!/bin/sh # for sh this is a two lines. for wish - whis is one line \ exec tclsh $0 $@ #parameter's assigns skipped set command Scroll [expr $winX - $scrWidth / 2 + $winWidth / 2]p [expr $winY - $scrHeight / 2 + $winHeight / 2]p ::fvwm::send WindowID $winID Raise ::fvwm::send WindowID $winID Iconify Off ::fvwm::send $command #::fvwm::send WindowID $winID WarpToWindow 1p 1p exit 0 I asked here about placement windows on whole multipaged desk, not on current page only. OK, now I can't do it by fvwm. TO Well you can, the StartsOnPage/SkipMapping solution sounded okay to TO me? No, StartsOnPage is not enough. But it is not a problem - I will use FvwmEvent for moving window to need place. Question number two: I report a bug (in my opinion it is a bug) about wrong behavior of WarpToWindow function. Shortly: this function resets a viewport like GoToPage do it. Can I to do something with it? Is there a workaround? I can't find a simple solution (I plan to use CursorMove or something like it, but it is not a good solution). TO I Think using CursorMove is a good solution, you could add some TO CursorMove to the function above to get pretty close to this TO behaviour! Move viewport for centering window is not a good usability really. More comfortable behavior is move viewport by next rules: - focused window should be fully visible - other windows should be maximally visible - viewport moving should be not chaotic (i.e. window shouldn't moving accross a whole screen and so on). Use CursorMove in such circumstances could be not simple, so, it is a not a good solution. But seems like it is a single way. -- Ruslan Kosolapov Plesk QA Department Second Manager SWsoft, Inc. E-mail: [EMAIL PROTECTED] Web Site: www.sw-soft.com -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Memory usage
On Mon, Jul 05, 2004 at 03:22:01PM -, Eduardo Gargiulo wrote: May be this message is rather off-topic. I'm using fvwm as window maneger; I'm trying to optimize the usage of memory, because it's an old machine with only 160Mb of RAM memory. My question is regarding the process that set up a background for my fvwm desktop. I'm using fvwm-root to load a png image as wallpaper, but I can't see that process with 'ps' or 'top' command so I'm looking for information about memory comsumption of fvwm-root; I really want to know if the memory used for fvwm-root is proportional to the image size and if that memory is used during all my fvwm session or it is freed up after loading. thanks in advance and sorry for my english ... You might be interested in this informative post by Olivier: http://www.mail-archive.com/fvwm@hpc.uh.edu/msg02143.html You could always set a solid background with FvwmBacker or xsetroot -solid colour :) -- - [EMAIL PROTECTED] | finger me for my gpg key. --- -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Focus and GoToPage
Question number two: I report a bug (in my opinion it is a bug) about wrong behavior of WarpToWindow function. Shortly: this function resets a viewport like GoToPage do it. Can I to do something with it? Is there a workaround? I can't find a simple solution (I plan to use CursorMove or something like it, but it is not a good solution). I Think using CursorMove is a good solution, you could add some CursorMove to the function above to get pretty close to this behaviour! DV To warp to the top left corner of a window without switching pages DV you can use DV AddToFunc my_warptowindow DV + I WindowId root 0 WarpToWindow $[w.x]p $[w.y]p Wow! Thank you very much for idea. -- Ruslan Kosolapov Plesk QA Department Second Manager SWsoft, Inc. E-mail: [EMAIL PROTECTED] Web Site: www.sw-soft.com -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: F11 | F12 ignoring NumLock ?
Hello, I use ( '/home/michelle/.fvwm/keys' ) _ / | Key Tab A M WindowList Root c c NoDeskSort, NoGeometry | Key Print A A Exec /bin/bash -c 'sleep 10;xwd -root |xwdtopnm |pnmtojpeg --quality 100 ~/dumps/`date +%Y%m%d%H%M%S`.jpg' | | Key MenuA N PopUp RootMenu | | key F11 A N Exec tdcamvol lower 2 | key F12 A N Exec tdcamvol raise 2 \__ as you see in the file I change with F11 and F12 the volume of my sound card. But How can I make it ignoring an aktive NumLock ? Oh yes, the first line AltTab does not more work... do not know why ! Thanks Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Re: FVWM: F11 | F12 ignoring NumLock ?
On Mon, 5 Jul 2004 21:13:28 +0200 Michelle Konzack [EMAIL PROTECTED] wrote: Hello, I use as you see in the file I change with F11 and F12 the volume of my sound card. But How can I make it ignoring an aktive NumLock ? http://www.fvwm.org/documentation/faq/#5.5 Oh yes, the first line AltTab does not more work... do not know why ! This is a debian bug -- the BTS is your friend if you care to search for it. I've done the hard work for you though: Bug number: #255192 Patch available: http://lists.debian.org/debian-x/2004/06/msg00603.html In the future, if you're running Unstable, install reportbug apt-listbugs apt-listchanges -- Thomas Adam -- Annie Hall leaves New York in the end. Press rewind, and Woody gets her back again. -- Look Inside America, Blur. -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
FVWM: Is this a bug?
Hi all fvwm gurus, I think this may be a bug but i am not sure. Steps to reproduce 1. open up any window in fvwm 2. grab a corner handle to resize the window, but do not move the mouse yet 3. with mouse button 1 pressed down. give a burst of mouse movement in any direction to resize the window and let go of the mouse. expected result: window resized and resize operation finishes actual result: the window is still in resizing mode and require another mouse button 1 click to quit resizing mode. I have been using the latest snapshot with Dominik's alt+mouse3 resizing patch (thanks Dominik) with this problem when i resize the window quickly. Thanks in advance. David -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Is this a bug?
On Mon, 05 Jul 2004 19:20:09 -0400 David Wu [EMAIL PROTECTED] wrote: I have been using the latest snapshot with Dominik's alt+mouse3 resizing patch (thanks Dominik) with this problem when i resize the window quickly. Nope, I can't reproduce this. But I would have said more that this depends largely on how you have defined your mouse bindings. -- Thomas Adam -- Annie Hall leaves New York in the end. Press rewind, and Woody gets her back again. -- Look Inside America, Blur. -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Asynchronous behaviour
Good idea; that should do the trick. Thanks for the help. On Mon, 2004-07-05 at 10:46, Scott Smedley wrote: Hi Rusty, : The problem I get is that I'd like to use Tavis Ormandy's excellent : thumbnail creation code. This takes two seconds to run on my machine, : so my thought was to do it in the background - actually, to do it behind : the other Window. I'm not sure I have the ideal solution for you, however: The thumbnailing operation can be split into 2 parts: 1. immediate actions 2. deferred actions Immediate actions would be stuff like raising the window, grabbing a screenshot then iconifying the window. The deferred stuff (which takes most of the processing time) encompasses: recording the current icon image, creating the thumbnailed icon image, setting the icon image to the new thumbnail. All the deferred stuff can be done in a script Exec'ed. Communication with FVWM (in the script) would be trivial with FvwmCommand. Once FVWM does the Exec it's no longer waiting (for PipeReads) hopefully it will all appear much more responsive. SCoTT. :) -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED] -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Is this a bug?
I have been able to reproduce this with no .fvwmrc file this is the behaviour on my machine even for normal resizing (just grabbing the handle) has anyone else experienced this? if not this is probably not fvwm's fault and probably some settings on my machine. However i did not have this problem resizing under other window manager. Thanks again David On Mon, 2004-07-05 at 19:38, Thomas Adam wrote: On Mon, 05 Jul 2004 19:20:09 -0400 David Wu [EMAIL PROTECTED] wrote: I have been using the latest snapshot with Dominik's alt+mouse3 resizing patch (thanks Dominik) with this problem when i resize the window quickly. Nope, I can't reproduce this. But I would have said more that this depends largely on how you have defined your mouse bindings. -- Thomas Adam -- Annie Hall leaves New York in the end. Press rewind, and Woody gets her back again. -- Look Inside America, Blur. -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED] -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Is this a bug?
Hello, in further investigation I tried out the latest stable release (2.4.18) and I wasnt able to reproduce the bug. Therefore the bug is only in unstable. I will try to investigate more on which version this was introduced. David On Mon, 2004-07-05 at 19:38, Thomas Adam wrote: On Mon, 05 Jul 2004 19:20:09 -0400 David Wu [EMAIL PROTECTED] wrote: I have been using the latest snapshot with Dominik's alt+mouse3 resizing patch (thanks Dominik) with this problem when i resize the window quickly. Nope, I can't reproduce this. But I would have said more that this depends largely on how you have defined your mouse bindings. -- Thomas Adam -- Annie Hall leaves New York in the end. Press rewind, and Woody gets her back again. -- Look Inside America, Blur. -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
Re: FVWM: Is this a bug?
On Mon, 2004-07-05 at 20:30, David Wu wrote: has anyone else experienced this? if not this is probably not fvwm's fault and probably some settings on my machine. However i did not have this problem resizing under other window manager. It just recently started occurring to me after an upgrade (2004-06-03 to 2004-07-04, ISO8601 dates.) Unfortunately, that's not a very narrow date range, and I also recently upgraded to the broken Debian X packages mentioned in the F11 | F12... thread, so I can't even narrow it down to a problem with X or fvwm specifically. Thanks again David On Mon, 2004-07-05 at 19:38, Thomas Adam wrote: obligatory please don't top-post message -- Ben Winslow [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part