[Xmonad] Full screen float window and its border

Xiao-Yong Jin xj2106 at columbia.edu
Wed Oct 10 13:05:19 EDT 2007


Spencer Janssen <sjanssen at cse.unl.edu> writes:

> On Wednesday 10 October 2007 01:07:22 Xiao-Yong Jin wrote:
>> Dear xmonad users,
>>
>> After a recent pull, I found out that the `manageHook' works
>> quite good with gimp, mplayer, acrobat reader and etc.
>> However, the extra borders showing at the top and left when
>> in full screen mode are quite annoying.  I tried to make a
>> change as
>>
>> {
>> hunk ./Operations.hs 535
>> -        rr = W.RationalRect ((fi (wa_x wa) - fi (rect_x sr)) % fi
>> (rect_width sr)) -                            ((fi (wa_y wa) - fi (rect_y
>> sr)) % fi (rect_height sr)) +        rr = W.RationalRect ((fi (wa_x wa -
>> bw) - fi (rect_x sr)) % fi (rect_width sr)) +                           
>> ((fi (wa_y wa - bw) - fi (rect_y sr)) % fi (rect_height sr)) }
>
> I'm not sure if this is the right fix, I'll have to think about it a bit.

It could be, but definitely not the only place that has to
be altered.  Actually after this change, if you click a
float window while modKey pressed, the float window just
moves toward top-left one pixel.  I guess I have to change
some more places, but I don't know where they are.

Xiao-Yong
-- 
    c/*    __o/*
    <\     * (__
    */\      <


More information about the Xmonad mailing list