Cause there was a change in wGetUsableAreaForHead function between
0.95.5 and 0.95.6 at

http://repo.or.cz/w/wmaker-crm.git/blobdiff/895a6e97e1d0cbafd9fd6a5b1aba674275d4eed4..0faff93cf770927b6f5c3811688cd5e42d498970:/src/xinerama.c

which is tweaking the usable area size.

On Thu, Oct 9, 2014 at 5:19 PM, Carlos R. Mafra <[email protected]> wrote:
> Thanks.
>
> Do you have an idea why this bug is not present in 0.95.5?
>
> On Thu,  9 Oct 2014 at 16:48:05 +0800, David Maciejak wrote:
>> This patch is fixing the maximize window feature.
>> As it was reported by Miikka, in multiple screens env wmaker
>> is reserving some space for the dock even on screen that are
>> not displaying it. This patch is only adjusting the working area
>> for the head that is displaying the dock.
>>
>> ---
>>  src/xinerama.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/xinerama.c b/src/xinerama.c
>> index d490b0c..3d26139 100644
>> --- a/src/xinerama.c
>> +++ b/src/xinerama.c
>> @@ -306,7 +306,7 @@ WArea wGetUsableAreaForHead(WScreen * scr, int
>> head, WArea * totalAreaPtr, Bool
>>
>>   if (noicons) {
>>   /* check if user wants dock covered */
>> - if (scr->dock && wPreferences.no_window_over_dock) {
>> + if (scr->dock && wPreferences.no_window_over_dock &&
>> wAppIconTouchesHead(scr->dock->icon_array[0], head)) {
>>   int offset = wPreferences.icon_size + DOCK_EXTRA_SPACE;
>>
>>   if (scr->dock->on_right_side)
>> --
>> 2.1.0
>
>
>
> --
> To unsubscribe, send mail to [email protected].


-- 
To unsubscribe, send mail to [email protected].

Reply via email to