Change display resolution after XRANDR

Olivier Fourdan fourdan at gmail.com
Wed Mar 24 18:42:01 CET 2010


On Wed, Mar 24, 2010 at 6:35 PM, Fernando Antunes <fs.antunes at gmail.com> wrote:
>
>
> On Wed, Mar 24, 2010 at 7:46 AM, Olivier Fourdan <fourdan at gmail.com> wrote:
>>
>> On Wed, Mar 24, 2010 at 11:44 AM, Olivier Fourdan <fourdan at gmail.com>
>> wrote:
>> > On Wed, Mar 24, 2010 at 11:29 AM, Fernando Antunes
>> > <fs.antunes at gmail.com> wrote:
>> >> It is the result :
>> >>
>> >> This display has 1 screen.
>> >>
>> >> Screen 0:
>> >>   Name:  :0.0
>> >>   Size: 1280x1824
>> >>   2 monitors connected:
>> >>     Monitor 0: 1280x1024+0+0
>> >>     Monitor 1: 1280x800+0+1024
>> >
>> > So you have monitor 0 on top of monitor 1.
>> >
>> > Where's your panel located? Do it work if you place the panel on top
>> > side of monitor 0?
>> >
>
> Yes, my panel is in the bottom of the monitor 0. I moved it to the top and
> everythings works now.

The panel being at the bottom of the upper monitor, it sets the struts
for the bottom side to be the size of monitor 1 + panel height.

The WM avoiding placing windows beyond struts boundaries, that explain
the behaviour you see.

I would consider this a bug in the panel.

Note: I suspect there is some lines missing from the xprop outpout you
posted, the actual struts are not listed.

Cheers,
Olivier.



More information about the Xfce mailing list