Michal Maruška | 6 Dec 2003 05:41
Picon

rep_dl_init signature


browsing through librep sources, i see in librep-0.17/src/unix_dl.c:

rep_intern_dl_library (repv file_name)
....
	    repv (*init_func)(repv);

	    init_func = x_dlsym(handle, "rep_dl_init");
	    if(init_func != 0)
	    {
		repv ret;

		ret = init_func(file_name);

but all extensions have the rep_dl_init function  defined w/ this signature:

rep_dl_init (void)

is this correct?

John Harper | 6 Dec 2003 05:53

Re: rep_dl_init signature

On Dec 5, 2003, at 8:41 PM, Michal Maruška wrote:
>
> browsing through librep sources, i see in librep-0.17/src/unix_dl.c:
>
> 	    repv (*init_func)(repv);
>
> 		ret = init_func(file_name);
>
> but all extensions have the rep_dl_init function  defined w/ this 
> signature:
>
> rep_dl_init (void)
>
> is this correct?

AFAIK there are no architectures where passing an argument to a 
function that expects no parameters doesn't do the right thing. So both 
the above are correct,

	John

John Harper | 6 Dec 2003 19:31

Re: librep 0.17 available -- relocation error


On Nov 25, 2003, at 6:38 PM, Michal Maruška wrote:
> i'm getting this error.
>
> user> ,open rep.ffi
> rep: relocation error: /usr/lib/rep/0.17/i686-pc-linux-gnu/rep/ffi.so: 
> undefined symbol: Fexport_binding
>
> maybe src/librep.sym  should contain Fexport_binding ?
> It works w/ it but i have no idea why.

yes, I think you're right, I just added that line, thanks,

	John

Daniel Pfeiffer | 7 Dec 2003 10:03
Picon
Favicon

Re: autohiding question

Saluton, Moin,

Janek Kozicki <janek <at> kozicki.pl> skribis:

> would it be possible to make pager
> disappear when clicked on the edge just like gkrellm does?

> I mean - when pager is clicked on the edge it shrinks to vertical line
> one-pixel width. to unshrink it - click the line again. The line is easy
> to reach with mouse because it is at the edge of the screen.

A few apps (like taskbars) have this behaviour.  But I think that's the wrong way of doing this.  Window
movement and positioning is a window manager's business.  I had in fact planned to implement such a module
for sawfish, precisely for my pager needs but useable for any window.

But then John started ripping out customization and threatened to deprecate viewports.  That has sapped my
energy and I have stopped investing it into sawfish.  (Instead, I'm on exciting projects like makepp and
new Emacs M-x compile).

Maybe this'll inspire you or someone else to implement sawfish.wm.animation.autohide or some such name.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

--

-- 
lerne / learn / apprends / läramå    Esperanto:
                              http://lernu.net/

Hisham Muhammad | 9 Dec 2003 17:37
Favicon

Patch: installation directory for repexec files in Makefile

Hello,

The attached patch adds a "installrepexecdir" variable to src/Makefile and 
replaces all references to "repexecdir" in the installation targets with it. 
"installrepexecdir" is set to the same value of "repexecdir", so there is no 
functionality change in the default setup. 

I'm a developer for the GoboLinux distribution, and this helps our build 
system significantly. This change mirrors a similar functionality expressed in 
the rep-gtk Makefile ("installdir" variable).

The patch was written against sawfish 1.3. If necessary, I can adapt it submit 
it against the CVS build, but I believe it should apply without hassle.

Please consider applying, and thanks in advance.

--

-- 
Hisham Muhammad
http://www.gobolinux.org
John Lumby | 11 Dec 2003 01:36
Picon
Favicon

sawfish workspaces

I just became aware of the existence of workspaces after accidentally 
creating a second one.    I can't find any documentation on them.    The 
info page says this:

Workspaces
**********

   XXX what do I want to say here?

Well, what I want you to say is:

1.  what is their purpose?   what problem do they solve?   Why do they 
exist?
2.  how do I switch between them?

For 2.  I discovered two ways:
    .   in any window, click on the top-left  square, and in the pull-down, 
click on send window to, and then select either previous or next workspace
             (this was my accidental discovery)
     .   in customization of sawfish, I discovered an option for selecting 
next workspace when the mouse cursor gets close to the boundary of the 
current one.    I tried it and don't like it.
I wonder if there's some key combination I can bind to this event?

John

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

(Continue reading)

Kin Cho | 11 Dec 2003 01:49
Favicon

Re: sawfish workspaces

> I wonder if there's some key combination I can bind to this event?

Click on the "Main Menu" button on the menubar, then select
Programs -> Settings -> Saw Fish window manager -> Shortcuts.

I'm using sawfish-1.0.1-9.

-kin

John Harper | 11 Dec 2003 06:33

Re: Patch: installation directory for repexec files in Makefile

Hi,

On Dec 9, 2003, at 8:37 AM, Hisham Muhammad wrote:
> The attached patch adds a "installrepexecdir" variable to src/Makefile 
> and
> replaces all references to "repexecdir" in the installation targets 
> with it.
> "installrepexecdir" is set to the same value of "repexecdir", so there 
> is no
> functionality change in the default setup.

Thanks for the patch. But I don't see why this is useful - these are 
the only three instances of repexecdir in the sawfish make files, so 
couldn't you just redefine repexecdir when invoking make? I must have 
missed something?

	John

Tom | 11 Dec 2003 15:18

Transients

I am running sawfish 1.3 on RH9 with Ximian XD2, my transients have now
window frames and are not recognzed by sawfish. I have heard there is
some hacking to no in lisp but I have been unsuccessfull. Has any one
else seen this?

Hisham Muhammad | 11 Dec 2003 07:31

Re: Patch: installation directory for repexec files in Makefile

On Thursday 11 December 2003 03:33, John Harper wrote:
> Hi,
>
> On Dec 9, 2003, at 8:37 AM, Hisham Muhammad wrote:
> > The attached patch adds a "installrepexecdir" variable to src/Makefile
> > and
> > replaces all references to "repexecdir" in the installation targets
> > with it.
> > "installrepexecdir" is set to the same value of "repexecdir", so there
> > is no
> > functionality change in the default setup.
>
> Thanks for the patch. But I don't see why this is useful - these are
> the only three instances of repexecdir in the sawfish make files, so
> couldn't you just redefine repexecdir when invoking make? I must have
> missed something?

Actually, yes. I tried redefining repexecdir first, but as it turns out, 
repexecdir can't be redefined when invoking make because Makedefs is 
included, and that file expects repexecdir to contain the default value. The 
makefiles from rep-gtk are arranged similarly, so they have an additional 
variable to be used by the install targets for this same reason.

--

-- 
Hisham Muhammad
"...and this is the first step."


Gmane