FvwmTabs module

2005-11-02 Thread Scott Smedley
Hi all, Before the end of this month my personal website which hosts the FvwmTabs module associated documentation will be shutdown. A while back there was some talk about including the FvwmTabs module as part of the Fvwm distribution. Are people still happy for this to happen? If not, I can

Re: Frappr Map: Fvwm

2005-11-02 Thread Scott Smedley
As you can see by the weather report, there are some baloons over the usa/canada and the north of europe. One guy caught some wind and ended up on australia though.. LOL Yeah, it's a bit lonely in my solitary balloon over here. :) I hope I can join you soon in my baloon :) I'll be over

Re: FvwmTabs module

2005-11-03 Thread Scott Smedley
i find that it's a pity that there isn't a simple and useful behavior of FvwmTabs like in Fluxbox. Indeed, in Fluxbox you just have to move the title bar of a window to another one and the two titlebar are one. I've never used Fluxbox but from what you say it sounds like the drag--drop

Re: CVS scott: Ok, FvwmTabs is ready to try out now.

2005-11-07 Thread Scott Smedley
But running a quick make distcheck yields... Making all in FvwmTabs make[4]: Entering directory `/home/awol/cvs/fvwm/fvwm-2.5.15/_build/modules/FvwmTabs' make[4]: *** No rule to make target `FvwmTabs.pod', needed by `FvwmTabs.1'. Stop. Thanks, fixed. Now make dist works fine but make

e: FvwmTabs

2002-12-11 Thread SCoTT SMeDLeY
: On Wed, Dec 11, 2002 at 12:50:58AM +1100, SCoTT SMeDLeY wrote: : Hi all, : : You can try out FvwmTabs if you like: : : http://users.tpg.com.au/users/scottie7/fvwmtabs.html : : It only has very basic functionality at the moment but it : sure unclutters your desktop. : : SCoTT

Resizing

2003-01-07 Thread SCoTT SMeDLeY
Hi all, I have an app (FvwmTabs module) that dynamically resizes a widget causing it to grow/shrink consequentially causes FVWM to resize the window. However, after I manually resize the window of the app by dragging the borders, the dynamic-resizing of the widget no longer causes the window to

Re: fvwm license going to be revoked

2003-03-19 Thread SCoTT SMeDLeY
Hi Dominik, : With the next fvwm release, I plan to modify the license on the : parts of fvwm that I have written: Have you read this GPL FAQ? http://www.gnu.org/licenses/gpl-faq.html#ModifyGPL I support your cause, but I'm not sure a modified licence is going to be as legally watertight as

Re: Ethics and some straight talking

2003-03-31 Thread SCoTT SMeDLeY
:...who of the subscribers of the original message would sign :it and who would not? : :This release is dedicated to the victims of the war in Iraq that :began in March, 2003. The following people, many of them users :or developers of fvwm, would like to express their

Menu screenshots for web site.

2003-05-03 Thread Scott Smedley
Here's a few screenshots of my menu which I thought someone might like to add to the Fvwm/MenuScreenshots web page: http://users.tpg.com.au/users/scottie7/fvwmmenus.html There's only 2 menu screenshots on the Fvwm page, it could do with a few more - anyone? SCoTT. :) -- Visit the official FVWM

Re: Menu screenshots for web site.

2003-05-04 Thread Scott Smedley
Here's a few screenshots of my menu which I thought someone might like to add to the Fvwm/MenuScreenshots web page: http://users.tpg.com.au/users/scottie7/fvwmmenus.html I like the highlight shadow colors (for a selected item) of the green menus. ( What's up w/ vowels in one

ModuleConfig.pm

2003-06-06 Thread Scott Smedley
Hi Mikhael, I tried out your ModuleConfig tracker with FvwmTabs - it works great. Should I expect to get an 'observation' if I dynamically change config parameters? (using FvwmTalk or FvwmCommand) The dynamic values are only propogated after I restart FvwmTabs. Also, you need to

Re: FvwmTabs v1.8

2003-06-10 Thread Scott Smedley
Hi David, Finally i have a Dillo with tabs :) Looks nice. hehe! I like Dillo too. Is it possible to change the Font? Sure, I'll make sure there's a config option in the next release. And a small bug: it crashes when you try to add itself as a tab. Hmmm, that's interesting. I thought I

Colorsets tracker experiments.

2003-06-10 Thread Scott Smedley
Hi Mikhael, Should I expect to get an 'observation' if I dynamically change config parameters? (using FvwmTalk or FvwmCommand) The dynamic values are only propogated after I restart FvwmTabs. There were some problems that are fixed now. Ah, CVS version works as expected - thanks.

Patch: fvwm-web: fix typo

2003-06-10 Thread Scott Smedley
This typo annoyed me so much I had to submit a patch. SCoTT. :) Index: documentation/dev_cvs.php === RCS file: /home/cvs/fvwm/fvwm-web/documentation/dev_cvs.php,v retrieving revision 1.7 diff -u -u -r1.7 dev_cvs.php ---

Re: FvwmTabs v1.8

2003-06-11 Thread SCoTT SMeDLeY
Hi David, : Maybe the size of the buttons should work similiar to mozilla (all : fixed size, when no more space is available all buttons shrink as : needed). Agreed. I'll put it on my TODO list. :And a small bug: it crashes when : you try to add itself as a tab. H, this is a symptom

Patch: implement FVWM::Module::Tk::showMessage

2003-06-13 Thread Scott Smedley
? perllib/FVWM/Module/.Tk.pm.swp Index: perllib/FVWM/Module/Tk.pm === RCS file: /home/cvs/fvwm/fvwm/perllib/FVWM/Module/Tk.pm,v retrieving revision 1.9 diff -u -r1.9 Tk.pm --- perllib/FVWM/Module/Tk.pm 10 Jun 2003 00:00:17 -

Patch: FVWM::Module::Tk::show{Debug,Message}

2003-06-13 Thread Scott Smedley
? perllib/FVWM/.Module.pm.swp ? perllib/FVWM/Module/.Gtk.pm.swp ? perllib/FVWM/Module/.Tk.pm.swp Index: perllib/FVWM/Module/Tk.pm === RCS file: /home/cvs/fvwm/fvwm/perllib/FVWM/Module/Tk.pm,v retrieving revision 1.9 diff -u -r1.9

Patch: don't popup debug dialog when it is iconised.

2003-06-15 Thread Scott Smedley
Index: perllib/FVWM/Module/Tk.pm === RCS file: /home/cvs/fvwm/fvwm/perllib/FVWM/Module/Tk.pm,v retrieving revision 1.10 diff -u -r1.10 Tk.pm --- perllib/FVWM/Module/Tk.pm 15 Jun 2003 01:36:39 - 1.10 +++

Re: FvwmTabs v1.8

2003-06-18 Thread SCoTT SMeDLeY
Hi Xavier, On Wed, Jun 18, 2003 at 01:59:06PM -0400, xavier renaut wrote: : Hi, i just discovered your program, : i find it wonderful ! (even without testing :-)) : : Is it possible to make it work with 2.4.15 ? : (i don't mind having a separate config file) The perllib interface (upon which

Re: Colorsets tracker experiments.

2003-06-20 Thread Scott Smedley
Hi Mikhael, This is nice. And it is not such nasty, I can understand it, no problems. You must be a seasoned Perl/Tk hacker ... like me! :) Attached is a second (still buggy, but much improved) attempt. * It doesn't sort colorsets, I added sort { $a = $b } to keys. * It shows only 12 first

ShowColorsets - missing attachment.

2003-06-20 Thread Scott Smedley
#!/usr/bin/perl -w # $Id$ use strict; use lib `fvwm-perllib dir`; use FVWM::Module::Tk; use FVWM::Module::Toolkit qw(X11::Protocol Tk Tk::LabFrame); use constant FIELDS = qw(fg bg hilite shadow fgsh pixmap); my $main = new MainWindow(); my $x = X11::Protocol-new($main-screen());

Re: FVWM: FvwmTabs v2.1

2003-10-11 Thread Scott Smedley
Hi Mikhael, Thanks for your feedback. It should be in diff -u form to be readable. ok, done. The $VERSION should be numeric, something like: $VERSION = 0.51_2; So anyone still could say: use X11::Protocol 0.51; I couldn't actually get Perl to care about this. (ie. it appears to

Re: fvwmtabs 2.0 + packages for cvs version

2003-10-11 Thread SCoTT SMeDLeY
Hi Xavier, What's up with your email address? Bizarre! :) |If you package FvwmTabs up for Debian, can you send me a paragraph |or 2 that I can put on the FvwmTabs webpage to notify Debian users |what to do? fvwmcvs and X11::protocol packages are ready. i was making a makefile for

Window id of decoration frame

2003-10-15 Thread Scott Smedley
Hi Mikhael, This question is for you, but others might know the answer too. How can I get the window Id of the decoration frame added by FVWM? (via Perl/Tk or X11::Protocol) To elaborate: FVWM adds a decoration frame to each toplevel window. I want to know the window Id of this decoration frame

Re: Window id of decoration frame

2003-10-15 Thread Scott Smedley
Hi Mikhael, FVWM adds a decoration frame to each toplevel window. I want to know the window Id of this decoration frame so I can detect 'EnterWindow' events (to fix a focusing race condition in FvwmTabs). It appears to be the great-grandparent of the toplevel window. I was able to get it with

Re: Window id of decoration frame

2003-10-17 Thread Scott Smedley
Take a look at: fvwm-perllib --man FVWM::Module::Tk In the SYNOPSIS example I use $top-wrapper-[0]. I'm surprised this works. In a simple test script Perl spewed out an error on a similar line of code. In the end I ended up using: $toplevel-frame(); which gave me what I wanted.

Re: Menu Screenshot

2004-01-26 Thread Scott Smedley
: Sorry, I must have missed this one. I am going to add some : of your shot soon. Could you please provide a configuration : for the menus as well? Done - see the bottom of the page: http://users.tpg.com.au/users/scottie7/fvwmmenus.html SCoTT. :) -- Visit the official FVWM web page at

PATCH: define key-bindings on individual windows

2004-02-12 Thread Scott Smedley
Hi all, Find attached a patch to FVWM to define key-bindings on individual windows. (Previously, a key binding had to be defined for ALL windows or NONE.) Example .fvwm2rc syntax: === BEGIN === AddToFunc CtrlTab + I Current (FvwmTabs) Function NextTab + I Current (!FvwmTabs) SendKeyEvent

Re: PATCH: define key-bindings on individual windows

2004-02-17 Thread Scott Smedley
Hi Dominik, Thanks for the feedback, muchly appreciated. In your example, you hold down Ctrl and tap tha Tab key. The modifier mask has the bit for the Ctrl key set. Yep. Now the event is passed on, but when it is processed by fvwm or the receiving application, the real

Re: PATCH: define key-bindings on individual windows

2004-02-17 Thread Scott Smedley
Hi Dominik, I'm not sure what you mean. If the modifier mask changes that implies another event is generated. Are you just saying that the associated KeyRelease event never gets sent to the application? Yes, and in addition, when the event is received, the modifier mask may differ from

CheckTwoBindings()

2004-02-27 Thread Scott Smedley
In HandleKeyPress() [file: fvwm/events.c] why is FVWM messing with 2 windows? I'm guessing 1 window is the last focused window the other is the window that _should_ be focussed (may or may not be the same) - is that right? I'm confused as to why it's not possible to decide on _which_ window

PATCH: binding key/mouse events to individual windows

2004-03-01 Thread Scott Smedley
Hi all, Find attached a patch to bind key /or mouse events to individual windows. Syntax is: Key Tab (FvwmTabs)A C Function NextTab Now, Ctrl-Tab in an FvwmTabs window invokes the NextTab function whereas in any other window the key event is passed through to the window with the focus. Other

PATCH: window-specific key/mouse bindings

2004-03-01 Thread Scott Smedley
Hi all, Find attached my final patch to bind key /or mouse events to individual windows. SCoTT. :) ? fvwm/.fvwm.1.in.swo ? fvwm/.fvwm.1.in.swp ? modules/FvwmScript/.FvwmScript.c.swp ? modules/FvwmScript/.Instructions.c.swp Index: fvwm/add_window.c

PATCH: FakeKeypress

2004-03-05 Thread Scott Smedley
Hi all, Find attached a patch to allow sending of arbitrary key events to windows. It introduces a new command to FVWM: FakeKeypress Examples of use: # save all GVim sessions: Esc:w\n FvwmCommand 'All (gvim) FakeKeypress press Escape press colon press w press Return' # save exit all GVim

Re: PATCH: FakeKeypress

2004-03-15 Thread Scott Smedley
Hi Dominik, : I have applied the patch with some minor reformatting and : renaming - nothing serious. Works like a charm, at least for some : applications (namely, FvwmConsole ignores it). H, it doesn't appear to work with xterms ... Module FvwmConsole -terminal rxvt will make

window-specific key-bindings patch

2004-03-29 Thread Scott Smedley
Hi Dominik, This post: http://www.hpc.uh.edu/fvwm/archive/0403/msg00054.html contains my modified patch for window-specific key/mouse bindings. I hadn't planned to make any further modifications, but if there's something you'd like me to change just say so ... The initial patch (with an

BUG in FVWM::Module (perllib)

2004-04-24 Thread Scott Smedley
Hi Mikhael, I'm working on the FVWM::Tracker::WindowList code I've discovered a serious bug. In short calls to deleteHandlers() don't work. (handlers still exist) This becomes evident by checking the return value from the call to FVWM::Module::deleteHandler().

PATCH: implemented WindowList tracker (perllib)

2004-04-25 Thread Scott Smedley
PROTECTED], Scott Smedley. =head1 SEE ALSO

window-specific key-bindings

2004-04-25 Thread Scott Smedley
Dominik, What's the status of my window-specific bindings patch with you? 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

WindowList tracker test program

2004-04-25 Thread Scott Smedley
Mikhael, Here's a simple test program I was using to test the WindowList tracker. SCoTT. :) #!/usr/bin/perl -w # $Id$ use strict; use lib `fvwm-perllib dir`; use FVWM::Module; my $fvwm = new FVWM::Module(Name = 'Scottie', Debug = 2); # my $tracker = new FVWM::Tracker::WindowList($fvwm); my

PATCH: if - elsif - else - endif syntax

2004-04-29 Thread Scott Smedley
Hi all, I had a go at attempting to implement if-elsif-else-endif syntax for FVWM so I can do things like this in my .fvwm2rc file: (Much more intuitive/maintainable than using PipeRead.) if xdpyinfo | /bin/grep -q XINERAMA Echo dual head system! Xinerama on

query mini icon for window (using perllib?)

2004-05-18 Thread Scott Smedley
Hi Mikhael, Is there a way to find out the mini icon associated with a window via the perllib interface? 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

Re: query mini icon for window (using perllib?)

2004-05-18 Thread Scott Smedley
Is there a way to find out the mini icon associated with a window via the perllib interface? I suppose I could issue the following command from within FvwmTabs: WindowId $winId SendToModule FvwmTabs fn setMiniIcon $winId $[w.miniiconfile] but that seems a bit cumbersome ... is there a better

Re: query mini icon for window (using perllib?)

2004-05-18 Thread Scott Smedley
Hi Mikhael, : Is not this the last (name) field of M_MINI_ICON event? Ah, of course. : Of course you clomber all names in your WindowList patch as far as I : understand it. : I had some idea about how to fix this. Do tell. Would you like me to fix it? SCoTT. :) -- Visit the official FVWM web

PATCH: WindowList tracker (perllib)

2004-05-19 Thread Scott Smedley
WindowList.pm --- WindowList.pm 25 Oct 2003 03:00:01 - 1.4 +++ WindowList.pm 19 May 2004 14:56:32 - @@ -1,4 +1,4 @@ -# Copyright (c) 2003 Mikhael Goikhman +# Copyright (c) 2004 Mikhael Goikhman, Scott Smedley # # This program is free software; you can redistribute

EWMH icons

2004-05-21 Thread Scott Smedley
Hi Mikhael, A question for you: Some apps (for example GVim) appear to have their own icons built in I'm wondering if there's a way to access them somehow? (through the perllib interface of course) Using the WindowList tracker, M_MINI_ICON events have the value ewmh_mini_icon for the

Re: EWMH icons

2004-05-24 Thread Scott Smedley
Some apps (for example GVim) appear to have their own icons built in I'm wondering if there's a way to access them somehow? (through the perllib interface of course) Using the WindowList tracker, M_MINI_ICON events have the value ewmh_mini_icon for the name/mini_icon_name field. Not

PATCH: make FvwmCommand handle SIGPIPE cleanly

2004-05-28 Thread Scott Smedley
Hi all, FvwmCommand currently misbehaves if it receives a sigPIPE. Of particular annoyance, it leaves a FIFO hanging around which means that subsequent invocations of FvwmCommand fail. This patch makes FvwmCommand behave much more nicely. SCoTT. :) Index: FvwmCommand.c

PATCH: Window List Tracker FvwmWindowMenu

2004-06-02 Thread Scott Smedley
/fvwm/fvwm/modules/ChangeLog,v retrieving revision 1.1110 diff -u -r1.1110 ChangeLog --- modules/ChangeLog 1 Jun 2004 11:46:54 - 1.1110 +++ modules/ChangeLog 2 Jun 2004 11:28:48 - @@ -1,3 +1,10 @@ +2004-06-01 Scott Smedley [EMAIL PROTECTED] + + * FvwmWindowMenu

win-specific bindings syntax (was: CVS write access for Scott?)

2004-06-03 Thread Scott Smedley
Hi Dominik, : I think we should give CVS write access to Scott. Anybody to : second that opinion? Can I vote? :) : (To Scott: I know I promised to look more closely at the window : specific key bindings patch, but I just don't find the time to do : it since I became a freelancer. I think the

Re: FVWM: Somthing broken in fvwm-snap-20040608!

2004-06-09 Thread Scott Smedley
: - Key binding in the Root context won't work, for example : Key F1 RMExec exec rxvt : it won't start rxvt but pop up the default menu instead. : - StrokeFunc in the Root crashes X, for example: : Mouse 1 RNStrokeFunc DrawMotion FeedBack StrokeWidth 2

Re: FVWM: Somthing broken in fvwm-snap-20040608!

2004-06-11 Thread Scott Smedley
Hi Liu, : Stroke behave strangely, the latest stroke sequence overrides : all previous stroke sequences. Ok, fixed. Please email future bug reports to the fvwm-workers list, not the fvwm list. Most subscribers to the fvwm list aren't interested in bug reports. Thanks for testing. :) SCoTT. :)

Proposal: new default config

2004-06-21 Thread Scott Smedley
Hi all, The default config for FVWM is (IMO) yuk! I propose we update it to actually make it usable also to make it a little more aesthetically pleasing. As an initial step, find attached a .fvwm2rc file. This syntax could be added to ConfigFvwmDefaults ( SetRCDefaults() in fvwm.c potentially

Re: Proposal: new default config

2004-06-21 Thread Scott Smedley
Hi Mikhael Dominik, :) Dominik says: : The default config for FVWM is (IMO) yuk! : You obviously never took a look at sample.fvwmrc/system.fvwm2rc Perhaps my definition of default config is wrong. To me, this is an example .fvwm2rc file that users have to explicitly copy to ~/.fvwm/config or

TODO 2.6

2004-06-23 Thread Scott Smedley
Hi Mikhael, What needs to be done for items E.11, E.12 E.15 in docs/todo-2.6? Oh! I just noticed item F.1! :) 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

fvwm-bug account (Was: TODO 2.6)

2004-06-27 Thread Scott Smedley
You may go to http://www.fvwm.org/cgi-bin/fvwm-bug.private (password needed) and manage bugs. Username 'scott' my CVS password don't appear to work. Who should I see about this? Jason? SCoTT. :) -- Visit the official FVWM web page at URL:http://www.fvwm.org/. To unsubscribe from the list,

Re: fvwm-bug account (Was: TODO 2.6)

2004-06-27 Thread Scott Smedley
You may go to http://www.fvwm.org/cgi-bin/fvwm-bug.private (password needed) and manage bugs. Username 'scott' my CVS password don't appear to work. Who should I see about this? Jason? You don't appear in the pull down list of people with access. I think you need Jason to add

Re: Notification: incoming/1335

2004-06-29 Thread Scott Smedley
Hmmm, I thought specifying fvwm-workers@fvwm.org in the notification list (of the fvwm-bug website) would ensure this note got sent to the list - obviously not: use FakeClick to intercept clicks in some windows, and pass the click to the others ... The correct way to do this now is with a

Re: Notification: incoming/1335

2004-07-01 Thread Scott Smedley
Hi Piotr, Piotr use FakeClick to intercept clicks in some windows, and pass the Piotr click to the others ... Scott The correct way to do this now is with a window-specific binding. ie. Scott Mouse (rxvt) 1 A N Echo mouse1-in-rxvt Scott Mouse (xterm) 1 A N Echo mouse1-in-xterm Thanks!

Building FVWM in separate directories

2004-07-02 Thread Scott Smedley
Is it possible to build FVWM in separate directories? ie. a bit like how GCC is built. I'd like to have a NFS-mounted directory with CVS source code then build it for several systems. SCoTT. :) -- Visit the official FVWM web page at URL:http://www.fvwm.org/. To unsubscribe from the list, send

Re: Building FVWM in separate directories

2004-07-05 Thread Scott Smedley
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

Re: Building FVWM in separate directories

2004-07-06 Thread Scott Smedley
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

Re: Patch to allow multiple window names in conditions

2004-07-06 Thread Scott Smedley
Hi Norman, About a month ago, I sent in a patch to allow multiple window names in conditions. I think being able to specify multiple windows in conditions is very useful. It's 2:30am ... let me see if I understand your patch correctly: If you have: Next (mozilla dillo netscape) Function ...

Re: matchVersion() compile problems

2004-07-10 Thread Scott Smedley
Hi Dominik, :) To avoid problems with comiling / reading the fvwm sources, please * adhere to the ANSI-C 88 standard, not the new one. Specifically, - Don't use C++-like comments with // - Declare variables only at the beginning of a block. * limit your lines to 79

Re: matchVersion() compile problems

2004-07-10 Thread Scott Smedley
* Please put single statements in loops or if clauses in curly braces, i.e. if (1) { foo; } not if (1) foo; What's the rationale behind this? I must confess I'm not particularly fond of this restriction but I will, of course,

man pages have wrong date

2004-07-11 Thread Scott Smedley
I just got confused by the FVWM man pages. The very last line of all the man pages (with the notable exception of fvwm.1) appears to have an arbitary date (hardcoded from the source man page). For example, the FvwmButtons man page from the 2.5.10 release has this line: 3rd Berkeley Distribution

Re: CVS scott: Apply conditionals patch.

2004-07-11 Thread Scott Smedley
Committed patch by Norman Yarvin (with a few minor mods) to extend conditionals to handle multiple window names. Hm, I did not expect this to be committed with the option naming issue unresolved I was not aware of this issue. This is the first post I've seen discussing it. I saw Mikhael's

Re: FVWM: Saving Windows: save stacking order?

2004-07-12 Thread Scott Smedley
Hi Mikhael, :) Ok, I have implemented the generic looped args support, so M_RESTACK is now fully supported. Thank-you muchly! One problem: I'm running a simple module get this error: Internal error, event type 1 (11 names, 7 values) Also FVWM::Window::dump in WindowList.pm looks

FvwmButtons

2004-07-14 Thread Scott Smedley
Hi all, 1 When you click a button, it is drawn in the original colours as long as the mouse button is held. Shouldn't it also use the HoverColorset? Currently, the Active{Colorset,Title,Icon} are used. If none are specified then Colorset, Title Icon are used. The effect you

Re: FVWM: HoverIcon for FvwmButtons (Was: animated FvwmButtons)

2004-07-14 Thread Scott Smedley
But the option Pixmap none don't work properly, ie it doesn't have a transparent background as expected. Still TODO. The way transparency is implemented with Pixmap none is a bit hacky (IMO), especially when we're moving toward Colorsets. But I s'pose it should be backwards-compatible ...

Re: FvwmButtons

2004-07-14 Thread Scott Smedley
1 When you click a button, it is drawn in the original colours as long as the mouse button is held. Shouldn't it also use the HoverColorset? Currently, the Active{Colorset,Title,Icon} are used. If none are specified then Colorset, Title Icon are used. The effect you describe

Re: FvwmButtons

2004-07-15 Thread Scott Smedley
Hi Dominik, Currently, the Active{Colorset,Title,Icon} are used. If none are specified then Colorset, Title Icon are used. The effect you describe is achievable by setting PressColorset to the same colorset as your ActiveColorset (formerly HoverColorset). I'm undecided if this is

Re: FvwmButtons

2004-07-15 Thread Scott Smedley
Hi Dominik, When I click on any button, it ends up using the standard colour set until the mous is moved. That has nothing to do with the PressedColorset. Ok, this must be a bug - I will check/fix tonight. Another problem that is going to become worse in the future is code that is correct

Re: FvwmButtons

2004-07-21 Thread Scott Smedley
Hi Dominik, :) You misunderstood me. In short, when I said click I meant press + release. Try this: - Use an ActiveColorset. It does not matter whether you use the PressedColorset too. - Move the mouse over a pressable button to hilight it. Don't move any more during this

Re: FvwmButtons

2004-07-23 Thread Scott Smedley
Hi Dominik, :) It seems to happen only if a function is called, not with plain commands. Try DestroyFunc foo AddToFunc foo I nop DestroyModuleConfig FvwmButtons* *FvwmButtons: ActiveColorset 2 *FvwmButtons(Title foo, Action foo) Module FvwmButtons This is a bizarre bug!

Re: FvwmButtons

2004-08-02 Thread Scott Smedley
Hi Dominik, :) I don't think the event is wrong. When a complex function is executed, fvwm grabs the pointer. Ah! I see. FvwmButtons handles LeaveNotify events only, so the final LeaveNotify unhilights the button. I've committed a fix. Also, drawing of panel buttons was wrong during

Re: man pages have wrong date

2004-08-13 Thread Scott Smedley
Create FvwmButtons.1.in, a Makefile entry run it through config.status? (like the fvwm.1 man page) I'm having trouble determining the configuration (in fvwm/Makefile.am?) that creates this target in fvwm/Makefile.in: fvwm.1: $(top_builddir)/config.status fvwm.1.in cd $(top_builddir)

Re: man pages have wrong date

2004-09-04 Thread Scott Smedley
The very last line of all the man pages (with the notable exception of fvwm.1) appears to have an arbitary date (hardcoded from the source man page). I just commited a patch to parse all man pages through config.status. This involved renaming most *.1 files to *.1.in. Several man pages

Re: FVWM: Parsing window_flags in perl

2004-09-15 Thread Scott Smedley
o I am writing a fvwm perl module and anticipate wanting to parse the o window_flags data upon receiving each M_ADD_WINDOW event The proper solution is to serialize the flags without dumping C structures. Here is a discussion: http://www.hpc.uh.edu/fvwm/archive/0407/msg00186.html Let's

CopyToken()

2004-10-11 Thread Scott Smedley
Hi Dominik, :) After revision 1.61 of libs/Parse.c, DoPeekToken() is behaving very oddly. Best illustrated with an example: If I pass a string, say, 2.5.13 to DoPeekToken() with delimiters ., I get back the token 2 (correct) but the pointer to the rest of the string (the actual return value) is

Re: Parsing window_flags in perl

2004-11-05 Thread Scott Smedley
Does anyone happen to know the status of the work that was proposed in this thread? http://www.hpc.uh.edu/fvwm/archive/0409/msg00094.html 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

PATCH: if-elsif-else-endif syntax (v2.0)

2005-01-28 Thread Scott Smedley
Hi all, Someone recently asked me about the status of if-syntax in Fvwm. This inspired me to readdress an earlier patch I wrote (which was somewhat limited in scope a bit buggy) to identify the issues hack up a robust implementation. This new patch: - ensures there are no race conditions b/w

Re: PATCH: if-elsif-else-endif syntax (v2.0)

2005-02-01 Thread Scott Smedley
Hi Uwe, :) I would mostly use it for statemente like AddToMenu my_menu if ! ShellCmd /opt/myprogram + My Program menu Menu my_program_menu endif This should be possible.? Yup, it works no problem. SCoTT. :) -- Visit the official FVWM web page at URL:http://www.fvwm.org/. To

FVWM on FC3

2005-02-23 Thread Scott Smedley
Hi all, Is anyone running a recent version of FVWM on Fedora Core 3? I compiled 2.5.12 CVS versions from source last night on a fresh FC3 install it hung consistently (using default config). Didn't have much chance to investigate other than a few stack traces: (gdb) where #0 0x008dc7a2 in

Re: Possible patches

2006-06-09 Thread Scott Smedley
Hi David, I've created a patchset[1] to try to improve the way fvwm looks. Who wrote each of these patches? I just created an updated version of the RoundedCorners patch that applies cleanly against current CVS, for anyone who wishes to try it (without requiring all the other patches on your

PATCH: if-elsif-else-endif syntax (v3.0)

2006-06-09 Thread Scott Smedley
Hi all, An updated version of my if-syntax patch that applies cleanly against current CVS is available at: http://members.optusnet.com.au/scottsmedley/fvwm/if.20060609.patch Example usage: http://members.optusnet.com.au/scottsmedley/fvwm/if.example All feedback welcome. SCoTT. :)

Re: ModuleListenOnly command

2006-06-24 Thread Scott Smedley
Hi Dominik Mikhael, We may write a module FvwmButtonsUpdater that gets an FvwmButtons module name (alias) and a list of entries, each is: a button id, its update frequency and a shell command to invoke for title updates (for example, 'date +%T' or 'ps -A --format %C %P %c | sort -n -r | head

Re: ModuleListenOnly command

2006-06-24 Thread Scott Smedley
+ I PipeRead 'str=$(/bin/ps -A --format %C %P %c | sort -n -r | tail -n1) Sorry, that should be 'head', of course. (or drop the '-r' flag on 'sort'.) SCoTT. :)

Re: ModuleListenOnly command

2006-06-25 Thread Scott Smedley
Hi Dominik, Are you enjoying the World Cup? Two reasons: (1) Schedule is an unreliable hack and (2) this starts a shell every 15 seconds and my goal was to waste as little cpu as possible (as it interferes with certain time-critical applications - okay - games). Hehe. :) Re: (2) From

Re: ModuleListenOnly command

2006-06-25 Thread Scott Smedley
Hi Dominik, That's just one purpose of the command. I was always fond of the idea to prototype or even implement modules as shell scripts. Yes, that would be cool. IMHO, I think it would be prudent to create bashlib (akin to perllib), instead of adding ModuleListenOnly command. But I

Grabbing and complex functions

2006-06-25 Thread Scott Smedley
Hi Dominik et al, This post follows on from the previous ModuleListenOnly command which was getting a bit off-topic. As a hack/compromise, maybe we could modify AddToFunc to keep track of whether or not it uses a mouse modifier only then grab the X server, in execute_complex_function().

Re: Grabbing and complex functions

2006-06-28 Thread Scott Smedley
Hi Mikhael, DefineFunc would behave much like AddToFunc except for 3 differences: 1. It would generate a warning message if the function already existed. This is bad. Configs should usually be re-read-able. Instead, it should silently apply DestroyFunc. In fact, DefineFunc (combining

Re: Grabbing and complex functions

2006-06-28 Thread Scott Smedley
Just to clarify ... In my opinion, it's not Schedule that is broken/unreliable. _Any_ function may fail to execute if the pointer is grabbed for ~1 second at the time of execution. It doesn't matter if a function is invoked by Schedule or not - it can still fail to execute in either case.

Re: Grabbing and complex functions

2006-06-29 Thread Scott Smedley
Hi Oliver, - Try to grab just 2 times (this is really fast). If the grab succeed everything is ok. If it fails execute the function any way. If you're happy to execute a function even if a grab fails, why go to the trouble of grabbing in the first place? Why not just mark your function NoGrab?

Re: Grabbing and complex functions

2006-06-29 Thread Scott Smedley
Hi Dominik, Well, it has all been discussed in that old thread. Many of the issues surrounding how _FVWM_ might detect if a function needs to grab or not have been discussed, I agree with you - it's going to be very, very difficult ... at best. However, I feel that Dan's idea (to allow the

Re: Grabbing and complex functions

2006-06-29 Thread Scott Smedley
Hi Mikhael, Well, years ago I suggested to make I specifier optional in functions, because 90% of functions are immediate and there is no confusion if I is omitted. But there was no agreement. You would have had my vote! :) Do you have a URL so I could read up on the discussion? I would

Periodic command

2006-07-04 Thread Scott Smedley
Hi all, Here is a proposed patch to add a new builtin function, Periodic. http://members.optusnet.com.au/scottsmedley/fvwm/periodic.patch Apply with: patch -p0 periodic.patch It is similar to the Schedule builtin except the function is invoked every N milliseconds - even if a grab fails, or

Re: Periodic command

2006-07-05 Thread Scott Smedley
Hi Dominik, Can you have multiple peridic commands or just one? Multiple. I suggest to replace the command Periodic with some option to the Schedule command The current specification for Schedule is: Schedule delay_ms [command_id] command So, would something like the following do?

Re: KillModule fix

2006-07-11 Thread Scott Smedley
Hi Renato, The attached patch fixes the broken KillModule command. Can someone please apply it? Done. How long was it broken? Not long. Since 2006/06/24. By the way, I've long wanted to know the significance of seventh guardian ... ? SCoTT. :)

PeekToken GetNextToken

2006-07-11 Thread Scott Smedley
Hi Dominik, Some hints for using the parsing functions Thanks. I think they are useful, so I added them as comments to the source code. (slightly modified) By the way, I notice that entries in ChangeLog appear not to be in chronological order. I always use the local date - I assume that's ok?

  1   2   >