Hi there,
when I am using firefox I want to use the scrollbar(located on the right
side) when I move my mouse just to the very right border of my screen.
(like in windows)
The current situation is, I just can't move my mouse to the very right
side of my screen, instead I have to move my mouse pointer to "the very
right border" minus "~2pixel". Otherwise the scrollbar don't get
highlighted.
My first idea was to manually set the geometry in my rc.lua file which
looks like this: (Layout of this tag is set to floating)
<code>
-- Set Firefox to draw beyond screen.
{ rule = { class = "Aurora" }, -- Aurora is WMclass of FF 7
callback = function(c)
local w_area = screen[ c.screen ].workarea
local g = {}
g.width = w_area.width + 10
g.height = w_area.height
g.x = w_area.x + 0
g.y = w_area.y + 0
c:geometry(g)
end },
</code>
This works well for setting geometry in general but doesn't solve my
problem. Because it seems that awesome doesn't let the user set
geometries which go beyond the screen.
On the other hand I can manually move my window beyond screen by
pressing Mod4+LeftMouseButton and dragging it.
Then I thought about another way how to solve this. I tried some other
apps which uses scrollbars as well. They don't seem to have this
problem. If I maximize them I can go to the very right and the scrollbar
gets highlighted.
Maybe a way would be to decrease the settings of the internal drawn
borders of Firefox. But "about:config" didn't reveal any ways to do so.
Another way I thought about is to deny the mousepointer to reach the
very right border by somehow setting it's working area to x.width-10.
But I don't know how to accomplish that. Over this I think the smartest
way to do the job is configuring the rc.lua.
Does anyone know how I could solve my problem? I want the Firefox
scrollbar to get highlighted when I move my mousepointer to the very
very right border of the screen.
greetings
--
To unsubscribe, send mail to [email protected].