Make panels open above other windows at all times.

View: New views
8 Messages — Rating Filter:   Alert me  

Make panels open above other windows at all times.

by HB-12 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I really like Sawfish and would like to replace OpenBox (WM I'm using
now) with it, but the panels aren't shown above all other windows until I
click on them.  How do I make the panels stay above all other windows at
all times?  I'm using Sawfish in Xfce and the panels are Xfce panels.

Thank you.

HB



Re: Make panels open above other windows at all times.

by Andrea Vettorello :: Rate this Message:

| View Threaded | Show Only this Message

On Wed, Feb 23, 2011 at 7:21 AM, HB <cunning.plan@...> wrote:
> Hi,
>
> I really like Sawfish and would like to replace OpenBox (WM I'm using
> now) with it, but the panels aren't shown above all other windows until I
> click on them.  How do I make the panels stay above all other windows at
> all times?  I'm using Sawfish in Xfce and the panels are Xfce panels.

If none comes out with a better solution, you can try a quick hack
using a "match" rule for panels that put them on a different depth
(depth=2?) than normal windows...

--
Andrea

Re: Make panels open above other windows at all times.

by fuchur-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

On Wed, 23 Feb 2011 18:35:54 +0100
wrote Andrea Vettorello <andrea.vettorello@...>:

>On Wed, Feb 23, 2011 at 7:21 AM, HB <cunning.plan@...> wrote:
>> Hi,
>>
>> I really like Sawfish and would like to replace OpenBox (WM I'm using
>> now) with it, but the panels aren't shown above all other windows until I
>> click on them.  How do I make the panels stay above all other windows at
>> all times?  I'm using Sawfish in Xfce and the panels are Xfce panels.
>
>If none comes out with a better solution, you can try a quick hack
>using a "match" rule for panels that put them on a different depth
>(depth=2?) than normal windows...
>
Maybe it is should be better to check if the panel has Window type dock.
To check this run "xwininfo -all" and look if the window type for the
panel is dock like this:
  Window manager hints:
      Client accepts input or input focus: Yes
      Initial state is Normal State
      Displayed on all desktops
      Window type:
          Dock
      Window state:
          Sticky
          Skip Pager


--
Regards,
Fuchur

GPG Fingerprint: CA3B 8204 5B3E 6D48 6D53  C116 E5BC 70D5 B8D7 B2B0


signature.asc (205 bytes) Download Attachment

Re: Make panels open above other windows at all times.

by HB-12 :: Rate this Message:

| View Threaded | Show Only this Message

In the time of Wed, 23 Feb 2011 19:34:40 +0100, thus spoke fuchur:

> Hi,
>
> On Wed, 23 Feb 2011 18:35:54 +0100
> wrote Andrea Vettorello <andrea.vettorello@...>:
>
>>On Wed, Feb 23, 2011 at 7:21 AM, HB <cunning.plan@...> wrote:
>>> Hi,
>>>
>>> I really like Sawfish and would like to replace OpenBox (WM I'm using
>>> now) with it, but the panels aren't shown above all other windows
>>> until I click on them.  How do I make the panels stay above all other
>>> windows at all times?  I'm using Sawfish in Xfce and the panels are
>>> Xfce panels.
>>
>>If none comes out with a better solution, you can try a quick hack using
>>a "match" rule for panels that put them on a different depth (depth=2?)
>>than normal windows...
>>
>>
> Maybe it is should be better to check if the panel has Window type dock.
> To check this run "xwininfo -all" and look if the window type for the
> panel is dock like this:
>   Window manager hints:
>       Client accepts input or input focus: Yes Initial state is Normal
>       State
>       Displayed on all desktops
>       Window type:
>           Dock
>       Window state:
>           Sticky
>           Skip Pager

Yes, Xfce Panel is of type Dock.  I think the problem lay with my having
the 'autohide' property set.  When it's not set, Sawfish recognizes the
panels just fine.  I followed Andrea Vettorello advice and it works well
now.  Thank you Andrea.  Thank you both for your replies.  

I don't know why I haven't been using Sawfish in the past, but it
certainly is my default WM now.  The amount of customization/
configuration is spectacular.  I love this thing.  

Cheers :)



Re: Make panels open above other windows at all times.

by Andrea Vettorello :: Rate this Message:

| View Threaded | Show Only this Message

On Wed, Feb 23, 2011 at 8:29 PM, HB <cunning.plan@...> wrote:
> In the time of Wed, 23 Feb 2011 19:34:40 +0100, thus spoke fuchur:
>

[...]

>
> Yes, Xfce Panel is of type Dock.  I think the problem lay with my having
> the 'autohide' property set.  When it's not set, Sawfish recognizes the
> panels just fine.  I followed Andrea Vettorello advice and it works well
> now.  Thank you Andrea.  Thank you both for your replies.
>
> I don't know why I haven't been using Sawfish in the past, but it
> certainly is my default WM now.  The amount of customization/
> configuration is spectacular.  I love this thing.
>

IIRC modifying windows depth badly interacts with full screen
applications (your docks stay above your full screen application)
^_^;


--
Andrea

Re: Make panels open above other windows at all times.

by Timo Korvola-2 :: Rate this Message:

| View Threaded | Show Only this Message

On Wednesday 23 February 2011 08:21:46 HB wrote:
> How do I make the panels stay above all
> other windows at all times?

Try setting dock-window-depth to a positive value.
This patch does that and also fixes fullscreen windows:
http://sawfish.wikia.com/wiki/Stacking_compliance

--
        Timo Korvola <URL:http://www.iki.fi/tkorvola>

Re: Make panels open above other windows at all times.

by GSR - FR :: Rate this Message:

| View Threaded | Show Only this Message

Hi,
andrea.vettorello@... (2011-02-24 at 1156.32 +0100):
> > Yes, Xfce Panel is of type Dock.  I think the problem lay with my having
> > the 'autohide' property set.  When it's not set, Sawfish recognizes the
> > panels just fine.  I followed Andrea Vettorello advice and it works well
> > now.  Thank you Andrea.  Thank you both for your replies.

Hmmm... that sounds like the panels launch with different hints if set
to autohide, or even do tricks with multiple window. Worse case is if
they later change hints, which could be wrong but still seems frequent
(standards? bah!) and causes havoc to systems trying to match windows
at launch (Sawfish, Devils' Pie, etc).

> > I don't know why I haven't been using Sawfish in the past, but it
> > certainly is my default WM now.  The amount of customization/
> > configuration is spectacular.  I love this thing.
> IIRC modifying windows depth badly interacts with full screen
> applications (your docks stay above your full screen application)
> ^_^;

Full screen applications like video players should be one depth higher
than dock default (defaults, we all know what we Sawfish users end
doing with personal configs). And even if same depth because you
configured it so, or changed depths, they can be behind or above the
full screen one, not always over it. Depths are just limits in what
can go behind or above others, so all windows in layer N will be above
N-1 but below N+1.

GSR
 

Re: Make panels open above other windows at all times.

by HB-12 :: Rate this Message:

| View Threaded | Show Only this Message

In the time of Thu, 24 Feb 2011 17:29:09 +0200, thus spoke Timo Korvola:
>
> Try setting dock-window-depth to a positive value. This patch does that
> and also fixes fullscreen windows:
> http://sawfish.wikia.com/wiki/Stacking_compliance

Thank you.  I'll apply the patch and see what happens.  Although I
haven't had problems with full screen apps so far.  Quake, StarCraft,
etc. all run well without the panels getting in the way.