At Thu, 23 Apr 2009 16:18:48 -0300
Nelson A. de Oliveira wrote:

> Hi!
> 
> While using awesome I see some things that don't seem to be "right".
> For example, liferea has a gray background when it's on the tray, even
> with all the PNGs having transparent background:
> 
> http://naoliv.googlepages.com/awesome-liferea1.png
> http://naoliv.googlepages.com/awesome-liferea2.png
> 
> Other programs that have icons on the tray (like opera, skype, deluge,
> emesene, etc) are properly displayed (with their transparent
> background, where applicable).
> 
> How can I debug this and see if the problem is with liferea or awesome,
> please?
> 
> Another thing is with xmms/audacious.
> It's very hard to make the player, the equalizer and the playlist
> appear together (and to make them stay together too). See:
> 
> http://naoliv.googlepages.com/awesome-xmms.ogv
> http://naoliv.googlepages.com/awesome-audacious.ogv
> 
> When using Window Maker it was really easy to get all the player
> windows together.
> 
> Is it an awesome problem, user problem, config problem, application problem?
> 
> Another thing (from http://bugs.debian.org/465811):
> 
> ==================================
> As always, images are better than words:
> http://people.debian.org/~naoliv/misc/awesome/focus.ogv
> 
> The problem is: I have the mouse focused on the right bottom window. I
> change to another tag and move the mouse to the left bottom.
> But switching back the focus is still on the right side, even if I move
> my mouse.
> 
> It should update the focus to the new window if the mouse is moved
> inside it.
> ==================================
> 
> Julien said this:
> 
> ==================================
> Take a look at awful.mouse.client_under_pointer() which will return the
> client that is.. under the mouse pointer.
> You can probably call that in the arrange hook.
> 
> If you need more help, do not hesitate to ask on the awesome mailing
> list.
> ==================================
> 
> So can somebody point (and show) me how to do this, please?
> 
> The last thing is when I use a dual-screen setup. Just in case it's
> relevant, this is how I use a second monitor:
> 
>       xrandr --output VGA --mode 1024x768
>       xrandr --output VGA --right-of LVDS
> 
> After enabling the dual screen setup and running an app (firefox, for
> example), it opens on the left screen (the laptop screen) but it
> appears as running on the taskbar from the monitor at the right side.
> This is really annoying.
> I saw that maximizing and then un-maximizing the window fixes this (it
> keeps on the left screen and now on the left taskbar, where it
> belongs).
> 
> Also, if I move a windows to a negative position on left, it keeps
> displaying on the left screen but it also appears on the right
> taskbar.
> 
> Probably when I open an app it's appearing 1 pixel less to the left
> (and that is why it's appearing as running on the right side monitor).
> 
> My config is available at
> http://naoliv.googlepages.com/awesome-rc.lua.txt and awesome version
> is 3.2.1 (from Debian).
> 
> Thank you very much!
> 
> Best regards,
> Nelson
> 

Regarding your question about focus:

I just added the following to my rc.lua:

  awful.hooks.arrange.register(function (screen)
    if awful.layout.get(screen) ~= awful.layout.suit.magnifier then
      client.focus = awful.mouse.client_under_pointer()
    end
  end)

which focuses the client under the pointer unless the layout is magnifier (it's
just annoying there because you have to keep the pointer in the center window
at all times and it wouldn't yield any benefits there)

-- 
GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+
e- h! r y+

    Gregor Best

Attachment: signature.asc
Description: PGP signature

Reply via email to