Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

On 10-Jan-2002 Arjen Hommersom wrote:
 Sean 'Shaleh' Perry wrote:
 
This the release you have all been waiting for.

* lock modifiers no longer affect blackbox -- leave num lock on, who cares!@!

* the recent crash that sylpheed, mozilla, and others tickle seem to have
been
fixed -- PLEASE TEST THIS.  If you missed it, enable autoraise, then use an
app
that opens multiple dialog boxes.  If it doesn't crash, the bug is fixed.

 Yes, fixed here, but while testing i crashed into this (maybe related) 
 bug (while reopening configuration window):
 

YES!!  Exact same bug, different place.  What is happening is the window is
trying to stop a timer that has already been killed.

at line 1383 of Window.cc add a ' timer-isTIming()' to the test before it
calls timer-stop().  Let me know what happens.



Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

 
 at line 1383 of Window.cc add a ' timer-isTIming()' to the test before it
 calls timer-stop().  Let me know what happens.

of course, it helps if I do not read code when I am tired, disregard the
happiness.



Re: 0.62.0pre3 released!

2002-01-10 Thread xOr

On Thu, Jan 10, 2002 at 12:04:03AM -0800, Sean 'Shaleh' Perry wrote:
 On 10-Jan-2002 Arjen Hommersom wrote:
  Sean 'Shaleh' Perry wrote:
  
 This the release you have all been waiting for.
 
 * lock modifiers no longer affect blackbox -- leave num lock on, who cares!@!
 
 * the recent crash that sylpheed, mozilla, and others tickle seem to have
 been
 fixed -- PLEASE TEST THIS.  If you missed it, enable autoraise, then use an
 app
 that opens multiple dialog boxes.  If it doesn't crash, the bug is fixed.
 
  Yes, fixed here, but while testing i crashed into this (maybe related) 
  bug (while reopening configuration window):
  
 
 YES!!  Exact same bug, different place.  What is happening is the window is
 trying to stop a timer that has already been killed.
 
 at line 1383 of Window.cc add a ' timer-isTIming()' to the test before it
 calls timer-stop().  Let me know what happens.

line 1383 is a timer-start()

if (screen-isSloppyFocus()  screen-doAutoRaise()) timer-start();

does he want to add a  !timer-isTiming()?

xOr
-- 
I am damn unsatisfied to be killed in this way.



msg04817/pgp0.pgp
Description: PGP signature


Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

 
 line 1383 is a timer-start()
 
 if (screen-isSloppyFocus()  screen-doAutoRaise()) timer-start();
 
 does he want to add a  !timer-isTiming()?
 

start() bothers to check, stop doesn't.  Problem is elsewhere.



Re: 0.62.0pre3 released!

2002-01-10 Thread Alexandra Walford

On Thu, 10 Jan 2002 01:54:39 -0600, xOr [EMAIL PROTECTED] wrote:

 On Thu, Jan 10, 2002 at 05:49:05PM +1000, Alexandra Walford wrote:
  Um... it works great with sylpheed-claws-0.6.6, but still crashes X
  when using sylpheed-0.7.0 and searching (however, the crash occurs at a
  slightly later point - clicking yes to End of list reached; search
  again from beginning is fine, but clicking OK to Search string not
  found crashes it).
  
  (sylpheed-claws (0.6.6) is the 'bleeding edge' version of sylpheed main
  (0.7.0))
 
 Can you provide a backtrace for this crash, since it should now be
 different?
 
 Thanks,
 xOr

I can provide the output of 'bt' in
'gdb /usr/local/src/blackbox-0.62.0pre3/src/blackbox ./core', is that
what you mean?  Else I can send you the core and binary, and you can do
it :)

Core was generated by `/usr/local/src/blackbox-0.62.0pre3/src/blackbox'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x401bf9f1 in __kill () from /lib/libc.so.6
(gdb) bt
#0  0x401bf9f1 in __kill () from /lib/libc.so.6
#1  0x401bf6d4 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x401c0e31 in abort () at ../sysdeps/generic/abort.c:88
#3  0x804b20e in signalhandler ()
#4  0x807d00b in Blackbox::setFocusedWindow (this=0xbfffe950, win=0x80a7f20)
at blackbox.cc:1750
#5  0x806f291 in BlackboxWindow::setInputFocus (this=0x80a7f20)
at Window.cc:1366
#6  0x8078802 in Blackbox::process_event (this=0xbfffe950, e=0xbfffe8c4)
at blackbox.cc:555
#7  0x804bd63 in BaseDisplay::eventLoop ()
#8  0x8abe7 in ?? ()
Cannot access memory at address 0x3c3d4dfc
(gdb)



Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

 
 I can provide the output of 'bt' in
 'gdb /usr/local/src/blackbox-0.62.0pre3/src/blackbox ./core', is that
 what you mean?  Else I can send you the core and binary, and you can do
 it :)
 

Was the window covering part of the toolbar when this happened?



Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

As a wrinkle in the works, do the usual sylpheed crash test, but make sure the
dialogs are over the toolbar.

We are tracking these corner cases one by one!



Re: 0.62.0pre3 released!

2002-01-10 Thread Alexandra Walford

On Thu, 10 Jan 2002 00:27:57 -0800 (PST), Sean 'Shaleh' Perry
[EMAIL PROTECTED] wrote:

  I can provide the output of 'bt' in 'gdb
  /usr/local/src/blackbox-0.62.0pre3/src/blackbox ./core', is that
  what you mean?  Else I can send you the core and binary, and you can
  do it :)

 Was the window covering part of the toolbar when this happened?

No, it was nowhere near the toolbar; the windows were in the upper left
of the screen, and the toolbar was at the very bottom (auto-hidden,
too).



Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

On 10-Jan-2002 Alexandra Walford wrote:
 On Thu, 10 Jan 2002 00:27:57 -0800 (PST), Sean 'Shaleh' Perry
 [EMAIL PROTECTED] wrote:
 
  I can provide the output of 'bt' in 'gdb
  /usr/local/src/blackbox-0.62.0pre3/src/blackbox ./core', is that
  what you mean?  Else I can send you the core and binary, and you can
  do it :)

 Was the window covering part of the toolbar when this happened?
 
 No, it was nowhere near the toolbar; the windows were in the upper left
 of the screen, and the toolbar was at the very bottom (auto-hidden,
 too).

autohide, h, another option I do not have turned on (-:



Re: 0.62.0pre3 released!

2002-01-10 Thread Alexandra Walford

On Thu, 10 Jan 2002 01:54:39 -0600, xOr [EMAIL PROTECTED]
wrote:

 On Thu, Jan 10, 2002 at 05:49:05PM +1000, Alexandra Walford wrote:

  Um... it works great with sylpheed-claws-0.6.6, but still crashes X
  when using sylpheed-0.7.0 and searching (however, the crash occurs
  at a slightly later point - clicking yes to End of list reached;
  search again from beginning is fine, but clicking OK to Search
  string not found crashes it).
 
  (sylpheed-claws (0.6.6) is the 'bleeding edge' version of sylpheed
  (main 0.7.0))

 Can you provide a backtrace for this crash, since it should now be
 different?

 Thanks, xOr

It also crashes sylpheed-claws-0.6.6 when sending mail (a little
progress window pops up when contacting the smtp server).  The output of
*that* backtrace is:

Core was generated by `/usr/local/src/blackbox-0.62.0pre3/src/blackbox'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x401bf9f1 in __kill () from /lib/libc.so.6
(gdb) bt
#0  0x401bf9f1 in __kill () from /lib/libc.so.6
#1  0x401bf6d4 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x401c0e31 in abort () at ../sysdeps/generic/abort.c:88
#3  0x804b20e in signalhandler ()
#4  0x807d00b in Blackbox::setFocusedWindow (this=0xbfffe950, win=0x80a90a8)
at blackbox.cc:1750
#5  0x806f291 in BlackboxWindow::setInputFocus (this=0x80a90a8)
at Window.cc:1366
#6  0x8078802 in Blackbox::process_event (this=0xbfffe950, e=0xbfffe8c4)
at blackbox.cc:555
#7  0x804bd63 in BaseDisplay::eventLoop ()
#8  0x10aa8 in ?? ()
Cannot access memory at address 0x3c3d4fa0
(gdb)



Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

 
 It also crashes sylpheed-claws-0.6.6 when sending mail (a little
 progress window pops up when contacting the smtp server).  The output of
 *that* backtrace is:
 

i.e. same spot.  Grrr



Re: 0.62.0pre3 released!

2002-01-10 Thread Wilbert Berendsen

On Wed, 09 Jan 2002 23:38:25 -0800 (PST)
Sean 'Shaleh' Perry [EMAIL PROTECTED] wrote:

  One little thingy: Is there really any reason to place windows
  'edgeSnapThreshold' pixels from the border in Workspace.cc? I
  use an edgesnapthreshold of 10 but don't like new windows appear
  always 10 pixels away from the screen edges. Anyway, it's a very
  small patch that I always can use myself :)

 a feature I never use. No, I do not think it should avoid the screen
 edge as much as it does other windows.

 If you have a patch against pre3, forward it on.
 
Patch attached, diff'ed against pre2, but works on pre3.

You could also just do (only in plain 0.62pre3!):

sed '344s# +[^,]*##' Workspace.cc  Workspace.new
mv -f Workspace.new Workspace.cc

thanks,
Wilbert

-- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)

Error: Your keyboard is not connected!
   Press any key to continue.


diff -urN blackbox-0.62.0pre2.orig/src/Workspace.cc 
blackbox-0.62.0pre2/src/Workspace.cc
--- blackbox-0.62.0pre2.orig/src/Workspace.cc   Fri Jan  4 20:35:32 2002
+++ blackbox-0.62.0pre2/src/Workspace.ccSat Jan  5 19:28:57 2002
@@ -345,7 +345,7 @@
   (screen-getBorderWidth() * 4),
 toolbar_h = screen-getToolbar()-getHeight() + 
   (screen-getBorderWidth() * 4),
-start_pos = screen-getBorderWidth() + screen-getEdgeSnapThreshold(),
+start_pos = screen-getBorderWidth() /*+ screen-getEdgeSnapThreshold()*/,
 change_y =
   ((screen-getColPlacementDirection() == BScreen::TopBottom) ? 1 : -1),
 change_x =



Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

On 10-Jan-2002 Wilbert Berendsen wrote:
 On Wed, 09 Jan 2002 23:38:25 -0800 (PST)
 Sean 'Shaleh' Perry [EMAIL PROTECTED] wrote:
 
  One little thingy: Is there really any reason to place windows
  'edgeSnapThreshold' pixels from the border in Workspace.cc? I
  use an edgesnapthreshold of 10 but don't like new windows appear
  always 10 pixels away from the screen edges. Anyway, it's a very
  small patch that I always can use myself :)

 a feature I never use. No, I do not think it should avoid the screen
 edge as much as it does other windows.

 If you have a patch against pre3, forward it on.
  
 Patch attached, diff'ed against pre2, but works on pre3.
 

applied.



Re: 0.62.0pre3 released! - edgesnapthreshold.patch

2002-01-10 Thread Wilbert Berendsen

On Thu, 10 Jan 2002 10:15:22 +0100
Tomas Capdevila [EMAIL PROTECTED] wrote:

 Wilbert Berendsen wrote:
 
  One little thingy: Is there really any reason to place windows
  'edgeSnapThreshold' pixels from the border in Workspace.cc? I use an
  edgesnapthreshold of 10 but don't like new windows appear always 10
  pixels away from the screen edges. Anyway, it's a very small patch
  that I always can use myself :)
 
 hello wilbert,
 
 if you have the time, could you explain me maybe how i can patch a
 blackbox-0.61.1 with your patch? 

Patch for 0.61.1 attached!  Note that this is a totally different one than
the one for 0.62.0preX. Use:

cd blackbox-0.61.1/
patch -p1  ../blackbox-0.61.1-nogap.patch

enjoy!


diff -r -U 3 blackbox-0.61.0-orig/src/Workspace.cc blackbox-0.61.0/src/Workspace.cc
--- blackbox-0.61.0-orig/src/Workspace.cc   Wed May 31 19:42:49 2000
+++ blackbox-0.61.0/src/Workspace.ccFri Sep 29 13:57:41 2000
@@ -371,14 +371,14 @@
 
   switch (screen-getPlacementPolicy()) {
   case BScreen::RowSmartPlacement: {
-test_y = screen-getBorderWidth() + screen-getEdgeSnapThreshold();
+test_y = screen-getBorderWidth();// + screen-getEdgeSnapThreshold();
 if (screen-getColPlacementDirection() == BScreen::BottomTop)
   test_y = screen-getHeight() - win_h - test_y;
 
 while (((screen-getColPlacementDirection() == BScreen::BottomTop) ?
test_y  0 :test_y + win_h  (signed) screen-getHeight()) 
   ! placed) {
-  test_x = screen-getBorderWidth() + screen-getEdgeSnapThreshold();
+  test_x = screen-getBorderWidth();// + screen-getEdgeSnapThreshold();
   if (screen-getRowPlacementDirection() == BScreen::RightLeft)
test_x = screen-getWidth() - win_w - test_x;
 
@@ -433,14 +433,14 @@
 break; }
 
   case BScreen::ColSmartPlacement: {
-test_x = screen-getBorderWidth() + screen-getEdgeSnapThreshold();
+test_x = screen-getBorderWidth();// + screen-getEdgeSnapThreshold();
 if (screen-getRowPlacementDirection() == BScreen::RightLeft)
   test_x = screen-getWidth() - win_w - test_x;
 
 while (((screen-getRowPlacementDirection() == BScreen::RightLeft) ?
test_x  0 : test_x + win_w  (signed) screen-getWidth()) 
   ! placed) {
-  test_y = screen-getBorderWidth() + screen-getEdgeSnapThreshold();
+  test_y = screen-getBorderWidth();// + screen-getEdgeSnapThreshold();
   if (screen-getColPlacementDirection() == BScreen::BottomTop)
test_y = screen-getHeight() - win_h - test_y;



Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

 
 It also crashes sylpheed-claws-0.6.6 when sending mail (a little
 progress window pops up when contacting the smtp server).  The output of
 *that* backtrace is:
 

I am quite baffled by this.  The failure is in the call to getToolbar.  So,
this means the screen returned by win-getScreen() is invalid.  But how can a
window have an invalid screen?  This is most, most odd.



0.62.0pre3 released

2002-01-10 Thread Palocz Pal

Hi!

Where can I download this version?

and I have more 2 question:
- I have installed the 'bbconf' , I made a new key bindings, but it does 
not works. I do not know why? This file was created in the user home 
directory : .bbkeysrc
- I do not want to show the windowmanager decoration (like LICQ/WHARF). 
How can I do the same?

Thanx, Paul


-- 
--- VIVENDI Telecom Hungary 
---
 South Region, IP Operation
URL: http://paloczp.deltav.hu, E-mail: [EMAIL PROTECTED]
Tel: +36-62/563-674, Fax: +36-62/550-130, ICQ: 31950678



Re: BB Feature

2002-01-10 Thread Mark Weinem

On Tue, 08 Jan 2002, xOr wrote:

 You can set up bbkeys to show the windows on all workspaces in its
 list. 
[...]
 in your ~/.bbtools/bbkeys.bb or /usr/share/bbtools/bbkeys.bb

 ! set this to true to allow stacked cycling to go to any window on any
 ! workspace. all of the windows will appear in the menu if it is being shown.
 !bbkeys.menu.showAllWorkspaces: True

Thank You much, it works now.

Greetings, Mark



Re: 0.62.0pre3 released!

2002-01-10 Thread Ricardo L. A. Bánffy

- Original Message -
From: Sean 'Shaleh' Perry [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 4:00 AM
Subject: 0.62.0pre3 released!

 * i18n.cc compiles under cygwin, it of course does nothing

Anyone tells me what am I doing wrong?

c++ -DHAVE_CONFIG_H -I. -I. -I..   -DSHAPE -DSLIT -DINTERLACE -DTIMEDCAC
HE -DLOCALEPATH=\/usr/local/share/blackbox/nls\ -DDEFAULTMENU=\/usr/local
/share/blackbox/menu\ -DDEFAULTSTYLE=\/usr/local/share/blackbox/styles/Res
ults\  -g -O2  -I/usr/X11R6/include -c i18n.cc
i18n.cc: In method `I18n::I18n()':
i18n.cc:79: `catalog_fd' undeclared (first use this function)
i18n.cc:79: (Each undeclared identifier is reported only once
i18n.cc:79: for each function it appears in.)
i18n.cc:79: `nl_catd' undeclared (first use this function)
make[2]: *** [i18n.o] Error 1
make[2]: Leaving directory `/home/ricardo/blackbox-0.62.0pre3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ricardo/blackbox-0.62.0pre3'
make: *** [all-recursive-am] Error 2



Re: 0.62.0pre3 released

2002-01-10 Thread Mads Martin Jørgensen

* Palocz Pal [EMAIL PROTECTED] [Jan 10. 2002 12:39]:
 - I have installed the 'bbconf' , I made a new key bindings, but it does 
 not works. I do not know why? This file was created in the user home 
 directory : .bbkeysrc

Have you started the bbkeys program which provides the keybinding
support in Blackbox?

-- 
Mads Martin Joergensen, http://mmj.dk
Why make things difficult, when it is possible to make them cryptic
 and totally illogic, with just a little bit more effort.
-- A. P. J.



Re: 0.62.0pre3 released

2002-01-10 Thread xOr

On Thu, Jan 10, 2002 at 12:36:54PM +0100, Palocz Pal wrote:
 Hi!
 
 Where can I download this version?

of blackbox? www.sf.net/projects/blackboxwm
 
 and I have more 2 question:
 - I have installed the 'bbconf' , I made a new key bindings, but it does 
 not works. I do not know why? This file was created in the user home 
 directory : .bbkeysrc

Do you have bbkeys installed? Thats the program that uses those
keybindings and lets you use them.

 - I do not want to show the windowmanager decoration (like LICQ/WHARF). 
 How can I do the same?

In the cvs version of bbkeys, theres an option to toggle the window's
decoration. Warning: this version of bbkeys is for the 0.62.x series,
and does not work correctly with the 0.61.x series.

xOr
-- 
I am damn unsatisfied to be killed in this way.



msg04835/pgp0.pgp
Description: PGP signature


Re: 0.62.0pre3 released

2002-01-10 Thread Palocz Pal

Mads Martin Jrgensen wrote:

* Palocz Pal [EMAIL PROTECTED] [Jan 10. 2002 12:39]:

- I have installed the 'bbconf' , I made a new key bindings, but it does 
not works. I do not know why? This file was created in the user home 
directory : .bbkeysrc


Have you started the bbkeys program which provides the keybinding
support in Blackbox?

Yes, meanwhile I realized :)
It is working!

Tnx, Paul

-- 
--- VIVENDI Telecom Hungary ---
South Region, IP Operation
URL: http://paloczp.deltav.hu, E-mail: [EMAIL PROTECTED]
Tel: +36-62/563-674, Fax: +36-62/550-130, ICQ: 31950678



Re: Threads BB Web - Reworked

2002-01-10 Thread Jason 'vanRijn' Kasper

I cast my vote on this one also.  Great work, Thread!  =:)

On Wed, 2002-01-09 at 19:28, scott wrote:
 ray@crytek wrote:
 
  I've tested on w3m, IE6 (win2k) and Mozilla (win2k). This is really Thread's
  design cut back, thats all
  
  Oh yer, the URL :]
  http://www.planetquake.com/lvl/blackbox/
 
 
 This is where my vote goes... i like threads' design,
 especially stripped down. :)
 
-- 
%--%
Jason Kasper (vanRijn)
bash$ :(){ :|:};:
Numbers 6:24-26



bb homepage

2002-01-10 Thread xxx yyy

Hi,
I'm a new bblackbox user and it would be nice if the help - links on the bb-homepage 
wouldn't end in themes.org - 404!
the rest is ok - a fine wm
cu
-- 
 
| __ ) _ __ ___  _ __   ___ ___  
|  _ \| '__/ _ \| '_ \ / __/ _ \ 
| |_) | | | (_) | | | | (_| (_) |
|/|_|  \___/|_| |_|\___\___/ 
 



Re: bb homepage

2002-01-10 Thread Sean 'Shaleh' Perry

On 10-Jan-2002 xxx yyy wrote:
 Hi,
 I'm a new bblackbox user and it would be nice if the help - links on the
 bb-homepage wouldn't end in themes.org - 404!
 the rest is ok - a fine wm

we are working on a new website.  If you really want access to themes.org,
bb.classic.themes.org is the URL.



Re: 0.62.0pre3 released!

2002-01-10 Thread Sean 'Shaleh' Perry

On 10-Jan-2002 Ricardo L. A. Bánffy wrote:
 - Original Message -
 From: Sean 'Shaleh' Perry [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, January 10, 2002 4:00 AM
 Subject: 0.62.0pre3 released!
 
 * i18n.cc compiles under cygwin, it of course does nothing
 
 Anyone tells me what am I doing wrong?
 

I left out a #ifdef HAVE_CATOPEN that was added later.



Patch against 0.62.0pre3

2002-01-10 Thread Scott Moynes

Here is a quick 5 minute hack to fix the misbehaviour of pre3 where it
clobbers events to applications without an option to turn of such a
feature.
A more complete and sain patch will probably follow now that I can use
emacs to its full power.
-- 
Scott Moynes

diff -urN blackbox-0.62.0pre3/src/BaseDisplay.cc 
blackbox-0.62.0pre3-no-clobber-events/src/BaseDisplay.cc
--- blackbox-0.62.0pre3/src/BaseDisplay.cc  Tue Jan  8 01:48:31 2002
+++ blackbox-0.62.0pre3-no-clobber-events/src/BaseDisplay.ccThu Jan 10 12:37:37 
+2002
@@ -579,14 +579,21 @@
  * Grabs a button, but also grabs the button in every possible combination with
  * the keyboard lock keys, so that they do not cancel out the event.
  */
+
+/* why a window manager is clobbering events that clients want without an
+   option to turn off that feature is a mystery to man, woman, and beast. */
 void BaseDisplay::grabButton(unsigned int button, unsigned int modifiers,
 Window grab_window, Bool owner_events, unsigned int event_mask,
 int pointer_mode, int keybaord_mode, Window confine_to, Cursor cursor) const
 {
+  /*  
   for (unsigned int cnt = 0; cnt  MaskListLength; cnt++)
 XGrabButton(display, button, modifiers | MaskList[cnt], grab_window,
 owner_events, event_mask, pointer_mode, keybaord_mode, confine_to,
 cursor);
+  */
+  XGrabButton(display, button, modifiers, grab_window, owner_events,
+ event_mask, pointer_mode, keybaord_mode, confine_to, cursor);
 }
 /*
  * Releases the grab on a button, and ungrabs all possible combinations of the



msg04841/pgp0.pgp
Description: PGP signature


Re: Patch against 0.62.0pre3

2002-01-10 Thread Scott Moynes

Here is a cleaner patch. All that needs to be done is add the
appropriate rules to configure.in to allow
--disable-clobber-events. In the interim, you can set
CXXFLAGS=-DNOCLOBBEREVENTS and be happy when you can toggle whether
blackbox thinks it is the only application on your desktop that needs
Alt+click.

-- 
Scott Moynes

diff -urN blackbox-0.62.0pre3/src/BaseDisplay.cc 
blackbox-0.62.0pre3-no-clobber-events/src/BaseDisplay.cc
--- blackbox-0.62.0pre3/src/BaseDisplay.cc  Tue Jan  8 01:48:31 2002
+++ blackbox-0.62.0pre3-no-clobber-events/src/BaseDisplay.ccThu Jan 10 15:01:37 
+2002
@@ -338,7 +338,7 @@
 ScreenInfo *screeninfo = new ScreenInfo(this, i);
 screenInfoList-insert(screeninfo);
   }
-
+#ifndef NOCLOBBEREVENTS
   // get the values of the keyboard lock modifiers
   KeyCode num_lock_code = XKeysymToKeycode(display, XK_Num_Lock);
   KeyCode caps_lock_code = XKeysymToKeycode(display, XK_Caps_Lock);
@@ -376,6 +376,7 @@
   MaskListLength = 1;
 }
   }
+#endif
 }
 
 
@@ -579,14 +580,22 @@
  * Grabs a button, but also grabs the button in every possible combination with
  * the keyboard lock keys, so that they do not cancel out the event.
  */
+
+/* why a window manager is clobbering events that clients want without an
+   option to turn off that feature is a mystery to man, woman, and beast. */
 void BaseDisplay::grabButton(unsigned int button, unsigned int modifiers,
 Window grab_window, Bool owner_events, unsigned int event_mask,
-int pointer_mode, int keybaord_mode, Window confine_to, Cursor cursor) const
+int pointer_mode, int keyboard_mode, Window confine_to, Cursor cursor) const
 {
+#ifndef NOCLOBBEREVENTS  
   for (unsigned int cnt = 0; cnt  MaskListLength; cnt++)
 XGrabButton(display, button, modifiers | MaskList[cnt], grab_window,
-owner_events, event_mask, pointer_mode, keybaord_mode, confine_to,
+owner_events, event_mask, pointer_mode, keyboard_mode, confine_to,
 cursor);
+#else
+  XGrabButton(display, button, modifiers, grab_window, owner_events,
+ event_mask, pointer_mode, keyboard_mode, confine_to, cursor);
+#endif
 }
 /*
  * Releases the grab on a button, and ungrabs all possible combinations of the
@@ -594,6 +603,10 @@
  */
 void BaseDisplay::ungrabButton(unsigned int button, unsigned int modifiers,
 Window grab_window) const {
+#ifndef NOCLOBBEREVENTS
   for (unsigned int cnt = 0; cnt  MaskListLength; cnt++)
 XUngrabButton(display, button, modifiers | MaskList[cnt], grab_window);
+#else
+  XUngrabButton(display, button, modifiers , grab_window);
+#endif
 }
diff -urN blackbox-0.62.0pre3/src/BaseDisplay.hh 
blackbox-0.62.0pre3-no-clobber-events/src/BaseDisplay.hh
--- blackbox-0.62.0pre3/src/BaseDisplay.hh  Tue Jan  8 11:40:36 2002
+++ blackbox-0.62.0pre3-no-clobber-events/src/BaseDisplay.hhThu Jan 10 14:57:24 
+2002
@@ -80,8 +80,9 @@
 int event_basep, error_basep;
   } shape;
 
+#ifndef NOCLOBBEREVENTS
   unsigned int MaskList[8], MaskListLength;
-  
+#endif  
   Atom xa_wm_colormap_windows, xa_wm_protocols, xa_wm_state,
 xa_wm_delete_window, xa_wm_take_focus, xa_wm_change_state,
 motif_wm_hints;



msg04842/pgp0.pgp
Description: PGP signature


Re: Epistrophy for blackbox 0.62.0pre2

2002-01-10 Thread Scott Moynes

* Scott Moynes ([EMAIL PROTECTED]) wrote:
 I have created a patch to the latest pre-release of blackbox and
 included it in http://nexus.carleton.ca/~smoynes/epistrophy.tar.gz
 that adds keygrabbing support to blackbox
 
 Epistrophy is a simple keygrabber for blackbox, and to some degree
 other window managers.
 

I have just tested the applying the patch on pre3 and it applies
cleanly so long as you are in the blackbox-0.62.0pre3 directory and
use
 patch -p1  ../path/to/patchfile


-- 
Scott Moynes


msg04843/pgp0.pgp
Description: PGP signature


Re: Blackbox Graphics in General

2002-01-10 Thread jerrold poh

This sounds great.  What do you guys (the bb developers - sorry, can't
remember your names) think?

Maybe we could get some good themes together and see what we get?


Jerrold.


On Wed, Jan 09, 2002 at 11:45:35PM +0100, Wilbert Berendsen wrote:
 On Thu, 10 Jan 2002 11:03:48 +1300
 jerrold poh [EMAIL PROTECTED] wrote:
 
  Anyway, I'm thinking maybe putting some matching themes into the
  default installation would be a good idea. I really like the
  combination of the Adept theme (from Sawfish), along with the Xeneon
  theme (for GTK), and I've kind of made an Adept theme for Blackbox,
  which I've been thinking about putting up on themes.org, but am not
  sure if I'm allowed to copy their theme ...
 
 I agree with that. It would be nice to have some Blackbox themes
 that closely match with some good and widely used gtk/qt themes. The
 Gtk theme Xeno* family has a very professional, clean look, and I'm
 already busy making a good machting Blackbox theme.
 
 Also I'm researching some different Meta-theme solutions. That way,
 when the user chooses a theme, blackbox and gtk and qt and motif and
 xaw3d could change to corresponding looks, when available.
 
 I think the layout of gtk themes already is prepared for this (e.g.:
 
 /usr/share/themes/MyUberCoOlTheMe/gtk/gtkrc
 /usr/share/themes/MyUberCoOlTheMe/qt2/
 /usr/share/themes/MyUberCoOlTheMe/blackbox/
 /usr/share/themes/MyUberCoOlTheMe/xaw/
 
 And when there is standardized on a solution to signal theme changes,
 one could select a nice theme from the Whatever Control Center and
 have Blackbox nicely react as well. Of course Blackbox should always
 retain its own elegant style switching solution. (IMHO bb makes for a
 very cool and complete desktop env. with just some rxvt's and a fast
 fm like ROX)
 
 sorry for the long rant,
 have fun,
 
 -- 
 Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
 
 Error: Your keyboard is not connected!
Press any key to continue.
 



Re: 0.62.0pre3 released!

2002-01-10 Thread Ricardo L. A. Bánffy

Thanks. Worked perfectly.

- Original Message -
From: Sean 'Shaleh' Perry [EMAIL PROTECTED]
To: Ricardo L. A. Bánffy [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 1:02 PM
Subject: Re: 0.62.0pre3 released!



 On 10-Jan-2002 Ricardo L. A. Bánffy wrote:
  - Original Message -
  From: Sean 'Shaleh' Perry [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, January 10, 2002 4:00 AM
  Subject: 0.62.0pre3 released!
 
  * i18n.cc compiles under cygwin, it of course does nothing
 
  Anyone tells me what am I doing wrong?
 

 I left out a #ifdef HAVE_CATOPEN that was added later.