Re: signalling sawfish a X11 resolution change



On Thu, Jul 01, 2004 at 09:57:36AM +0200, Soeren Sonnenburg wrote:
> 
> However while metacity somehow detects (or gets signaled) that resolution
> change (which basically is a xrandr XxY) sawfish does not. Which mean ones
> has to sawfish-client -f restart to make sawfish recognize the new
> resolution.
> 
> So the question is again: Is anyone working on this ? And if not does
> anyone know what/where to change in the code ?

In the meantime it is quite easy to workaround the issue.  For
example if you use, say, bash then you can add such shell function
to your shell startup files:

xrandr () {
   \xrandr $@
   /sbin/pidof sawfish >/dev/null 2>&1 && sawfish-client -f restart
}

and something similar with other shells.  A shell function will
be executed earlier then an external with the same name.  Or add
a "wrapper" script somewhere early in your path.

   Michal



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]