Re: Stroke Functionality

2002-05-29 Thread Tim Phipps



On Thu, May 23, 2002 at 09:28:39AM -0400, Daniel Henninger wrote:
 


Hi folk,

Specifically, I'd like to change the way it does "feedback"
when you successfully perform a matching stroke.  Currently, it can change
your cursor to a "busy" icon for a brief moment which is very hard for me
to catch and notice if I've done it right

Why not make the function that the stroke calls run xmessage or 
something to display a banner for a short while?


Cheers,
Tim.


--
Visit the official FVWM web page at 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: Notification: incoming/876

2002-05-29 Thread Dominik Vogt
On Wed, May 29, 2002 at 12:17:12AM +0200, Jan Echternach wrote:
> On Wed, May 29, 2002 at 12:04:32AM +0200, Jan Echternach wrote:
> > I have tried fvwm-snap-20020528.tar.gz.  The colormap problem has
> > disappeared, but now the netscape window has the effect of SloppyFocus
> > (other windows like xterm don't have it, and with fvwm-2.4.7 no
> > window has SloppyFocus).  I've used the same .fvwm2rc file with both
> > fvwm versions.
> 
> That diagnosis was too quick.  The netscape window actually loses the
> focus as it should, but the color map of the root window is not restored.
> So it looks as if netscape still has the focus at the first glance, but
> F1, for example, does open fvwm's builtin menu, and upon showing the
> popup window (or when the pointer is moved into another window), the
> normal colormap is restored and the desktop looks normal again.

Can you please give me step by step instructions to reproduce the
problem, including the relevant config lines?  I don't know how to
test this in the first place, but I think the colour map focus and
the keyboard focus should stay in the same window.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at 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: FvwmIconMan Patch - Exposing Background Doesnt Redraw

2002-05-29 Thread Dominik Vogt
On Wed, May 29, 2002 at 01:27:59AM +, Mikhael Goikhman wrote:
> Dominik already applied your patch, probably on accident.

Nope, that was on purpose :-)

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at 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: Stroke Functionality

2002-05-29 Thread Daniel Henninger
> >>Specifically, I'd like to change the way it does "feedback"
> >>when you successfully perform a matching stroke.  Currently, it can change
> >>your cursor to a "busy" icon for a brief moment which is very hard for me
> >>to catch and notice if I've done it right
> >>
> Why not make the function that the stroke calls run xmessage or
> something to display a banner for a short while?

Well, for no other reason than I wanted it to be prettier than what
xmessage can do.  (or at least I haven't seen xmessage do anything pretty
before and it couldn't last time I'd messed with it)  Also, there would
be a delay in bringing up xmessage after the stroke was completed.
Impatient people (like myself) might think it didn't 'take' and try again.
That's actually the reason I wanted to do this in the first place,
because I perform the stroke for bringing up netscape, and then either
have to go over to an xterm and perform a ps to see if it actually caught,
or I wait a sec and then try again assuming I missed it, only to have two
copies come up.  And lord knows netscape under unix gets rude when there
are two copies of it runnings at the same time for the same user...

Anyway, unless there are objections to me messing with it at all, I'll see
what I can come up with.

Daniel

-- 
/\\\--///\
\ \\\  Daniel Henninger   http://www.vorpalcloud.org//// /
 \_\\\  North Carolina State University - Systems Programmer///_/
\\\   Information Technology   ///
 """--"""

--
Visit the official FVWM web page at 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: Stroke Functionality

2002-05-29 Thread Petit, Jeremie
Hello Daniel, - I don't know if this will go to the list as my corporate email 
changed recently -

> >>Specifically, I'd like to change the way it does "feedback"
> >>when you successfully perform a matching stroke.Daniel

 for your information, I found that the 'xsublim' mode of xscreensaver was 
displaying text in a very pleasant manner (shaped, bordered), it could happen 
to be a pretty starting point for some text feedback.

  Best regards
  Jeremie Petit
--
Visit the official FVWM web page at 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: FvwmIconMan Patch - Exposing Background Doesnt Redraw

2002-05-29 Thread Dominik Vogt
On Tue, May 28, 2002 at 09:28:10PM -0500, Dave Trollope wrote:
> Hi Dominik,
> 
> Here is a new patch to move the REDRAW_BG #define to the manager dirty bits
> instead of the button dirty bits. I grouped it with the wrong defines. This is
> for 2.5

Thanks, I'll apply it.  Could you please make the same patch for
2.4.7?

> Index: ChangeLog
> ===
> RCS file: /home/cvs/fvwm/fvwm/ChangeLog,v

BTW, that's the wrong ChangeLog file.  Changes in the modules
directory are logged in fvwm/modules/ChangeLog.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at 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]


CVS olicha: * Added Xft2 support

2002-05-29 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: olicha  02/05/29 14:11:19

Modified files:
.  : ChangeLog acinclude.m4 configure.in 
fvwm   : Makefile.am 
libs   : FRender.h Fft.c Fft.h FlocaleCharset.c 
 Makefile.am 
modules: ChangeLog 
modules/FvwmButtons: Makefile.am 
modules/FvwmCommand: Makefile.am 
modules/FvwmDebug: Makefile.am 
modules/FvwmForm: Makefile.am 
modules/FvwmGtk: Makefile.am 
modules/FvwmIconBox: Makefile.am 
modules/FvwmIconMan: Makefile.am 
modules/FvwmIdent: Makefile.am 
modules/FvwmPager: Makefile.am 
modules/FvwmRearrange: Makefile.am 
modules/FvwmSave: Makefile.am 
modules/FvwmSaveDesk: Makefile.am 
modules/FvwmScript: Makefile.am 
modules/FvwmScript/Widgets: Makefile.am 
modules/FvwmTaskBar: Makefile.am 
modules/FvwmWinList: Makefile.am 

Log message:
* Added Xft2 support
* Note: this library will be included in XFree 4.3. There is semi-official
independent packages, fontconfig & Xft2, which can be used with any X server
with the XRender extension (freetype-2.0.9 needed)

--
Visit the official FVWM web page at 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]


CVS migo: * FvwmButtons: fixed specifying Font in Container

2002-05-29 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: migo02/05/29 15:55:46

Modified files:
modules: ChangeLog 
modules/FvwmButtons: parse.c 
perllib: ChangeLog 
perllib/General: FileSystem.pm 

Log message:
* FvwmButtons: fixed specifying Font in Container
* perllib: fixed saving a file without a path

--
Visit the official FVWM web page at 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]


dynamism in FvwmButtons

2002-05-29 Thread Mikhael Goikhman
I miss some dynamism in FvwmButtons. Here are some my future plans.

I will replace the currently undocumented syntax:

  SendToModule FvwmButtons Title/Icon  text

with:

  SendToModule FvwmButtons ChangeButton  Title/Icon 

I will add changing Font and maybe some more button properties as well.

 will be a token for consistency, i.e. should be enclosed into
quotes if it has spaces. This is to enable changing of more than 1
property at once, i.e.: ChangeButton 5 Title "abc", Icon "my.png"

 may be as it is now, number starting from 0 or "+x+y".
I will also add a syntax similar to "2/3" meaning the button number 3
in the container number 2. Should the syntax start counting from 0 or 1?

I may think about adding other actions like:

  AddToButton   
  DeleteFromButton  
  AddEmptyButtonToEnd
  AddEmptyButtonToContainer 
  AddEmptyContaner...

but I am not sure yet that I will really need them.
Some of these action should change the geometry of FvwmButtons...
What I do need is this action:

  ChangeContainer   

I also need a Show/Hide boolean option in containers (and possibly in
single buttons) that will (statically or dynamically) show/hide a whole
container or a button. I.e. something like this:

  *FvwmButtons: (Show, Title title1, Font font1, Icon icon1)
  *FvwmButtons: (Hide, Title title2, Font font2, Icon icon2)

Then dynamically:

  SendToModule FvwmButtons ChangeButton 1 Hide; 2 Show

Here ";" unlike "," belongs to ChangeButton, compare with the following:

  SendToModule FvwmButtons ChangeButton 1 Hide, Show, Title my-text

I will not do everything, but I will start this.
Any other ideas or volunteers to do some of the work are welcome.

Regards,
Mikhael.
--
Visit the official FVWM web page at 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]


CVS olicha: * Fixed FvwmForm Input cursor position for a mouse click

2002-05-29 Thread FVWM CVS
CVSROOT:/home/cvs/fvwm
Module name:fvwm
Changes by: olicha  02/05/29 16:11:07

Modified files:
modules: ChangeLog 
modules/FvwmForm: FvwmForm.1 ReadXServer.c 

Log message:
* Fixed FvwmForm Input cursor position for a mouse click
* Removed fixed font requirement for InputFont in FvwmForm man page

--
Visit the official FVWM web page at 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: CVS olicha: * Finished shadow text implementation for modules

2002-05-29 Thread Olivier Chapuis
On Tue, May 28, 2002 at 01:16:26PM -0400, Dan Espen wrote:
> FVWM CVS  writes:
> > CVSROOT:/home/cvs/fvwm
> > Module name:fvwm
> > Changes by: olicha  02/05/24 08:03:38
> > 
> > Modified files:
> > * Added support for variable fonts for FvwmForm input item
> > (Dan do I break something?)
> 
> It works pretty well.
> 
> Cursor positioning with button 3 and variable width fonts
> doesn't get the right position.
>

Fixed. The cursor position after a mouse click can be 1 char
different than before. The "new" logic is: the cursor go just
before the character under the mouse (even if the mouse is on
the right of the char). I think it is ok as it is this logic
which is used in emacs (but yes in my emacs the cursor is a
charsize rectangle ...).

Olivier
--
Visit the official FVWM web page at 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: dynamism in FvwmButtons

2002-05-29 Thread Mikhael Goikhman
On 29 May 2002 20:59:58 +, Mikhael Goikhman wrote:
> 
>   SendToModule FvwmButtons ChangeButton  Title/Icon 
> 
>  may be as it is now, number starting from 0 or "+x+y".
> I will also add a syntax similar to "2/3" meaning the button number 3
> in the container number 2. Should the syntax start counting from 0 or 1?

One addition. Id will be optionally specified in any button, i.e.:

  *FvwmButtons: (Id current_time, Title 14:00)

  SendToModule FvwmButtons ChangeButton current_time Title 14:01

Regards,
Mikhael.
--
Visit the official FVWM web page at 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: Notification: incoming/876

2002-05-29 Thread Jan Echternach
On Wed, May 29, 2002 at 02:04:06PM +0200, Dominik Vogt wrote:
> > That diagnosis was too quick.  The netscape window actually loses the
> > focus as it should, but the color map of the root window is not restored.

> Can you please give me step by step instructions to reproduce the
> problem, including the relevant config lines?  I don't know how to
> test this in the first place, but I think the colour map focus and
> the keyboard focus should stay in the same window.

Open a window (e.g. "netscape -install", "xv -owncmap"), move pointer into
window, move pointer out of window (to the root window).  Now the xv or
netscape window has its color map still installed (i.e. it looks good,
the rest of the screen is garbled), but the application's key bindings
are no longer active ('q' doesn't quit xv etc.).  The root window's key
bindings are active instead (e.g. F1 opens fvwm's builtin menu).

I have noticed a short screen flicker when the pointer is moved out
of an xv window to its border or title bar.  And if the pointer is
moved very quickly out of the window, the root window's color map _is_
restored properly.  The netscape window doesn't show this behaviour.


Style * ForeColor   Black
Style * BackColor   DarkOliveGreen4
Style * HilightFore Black
Style * HilightBack "indian red"
Style * BorderWidth 5, HandleWidth 5
Style   "*" FvwmBorder  # MWMBorder
Style   "*" FvwmButtons
HideGeometryWindow Never
SnapAttraction 0 SameType Screen
OpaqueMoveSize 100
Style * WindowShadeSteps 0
EdgeScroll 100 100
EdgeResistance 250 20
EdgeThickness 1
Style * MinOverlapPlacement
Style * MWMFunctions
Style * MWMDecor
Style * HintOverride
Style * OLDecor
Style * DecorateTransient, RaiseTransient, LowerTransient, StackTransientParent

-- 
Jan   fortune: can't load library '/libc.so.4'
  No such library.
--
Visit the official FVWM web page at 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: FvwmIconMan Patch - Exposing Background Doesnt Redraw

2002-05-29 Thread Dave Trollope
Hi Dominik,

Dominik Vogt wrote:

> On Tue, May 28, 2002 at 09:28:10PM -0500, Dave Trollope wrote:
> > Hi Dominik,
> >
> > Here is a new patch to move the REDRAW_BG #define to the manager dirty bits
> > instead of the button dirty bits. I grouped it with the wrong defines. This 
> > is
> > for 2.5
>
> Thanks, I'll apply it.  Could you please make the same patch for
> 2.4.7?

Funny you say that, I downloaded the 2.4 branch to do just that, but I found the
clear_empty_region() is still called based on num_windows:

void draw_manager (WinManager *man)
{
  int i, force_draw = 0, update_geometry = 0, redraw_all = 0;
  int shape_changed = 0;
[snip]
  if (redraw_all || (man->buttons.dirty_flags & NUM_WINDOWS_CHANGED)) {
ConsoleDebug (X11, "\tresizing manager\n");
resize_manager (man, redraw_all);
update_geometry = 1;
force_draw = 1;
  }
  if (force_draw || man->buttons.num_windows != 0)
clear_empty_region (man);
...

This is in pretty much all cases. It was this last if that was removed in 2.5.x 
so I
don't think this fix is necessary in 2.4.x


> > Index: ChangeLog
> > ===
> > RCS file: /home/cvs/fvwm/fvwm/ChangeLog,v
>
> BTW, that's the wrong ChangeLog file.  Changes in the modules
> directory are logged in fvwm/modules/ChangeLog.
>

Sorry, will do it there next time.
Thanks!
Dave


--
Visit the official FVWM web page at 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]