move-focus and move-window don't work on dual-monitor configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

move-focus and move-window don't work on dual-monitor configuration

Dimitri Minaev
Hello.

My configuration with 2 displays worked fine until I upgraded from
Ubuntu 16.04 to 18.04 a couple of days ago. Now, I can't switch between
the displays using 'move-focus', as I used to do. This command works
with frames running on one display, though.

I still can switch between heads using 'fnext'/'fprev'/'fother', but
cannot move windows from one display to another with 'move-window'. Once
again, this command works when the frames are located on one display.

One more possibly related problem is that when cursor is moved from one
head to another, there's a considerable period when it's not visible at
all, as if the size of one of the frames is much larger than it seems.
However, the size of windows and the mode line fits the size of the
screen, nothing is invisible.

I recompiled Stumpwm from Git repo, but it's still the same.

Running Xorg, not Wayland. Graphics card is identified as 'Xeon E3-1200
v2/3rd Gen Core processor Graphics Controller'. Here's the output of Xrandr:

Screen 0: minimum 320 x 200, current 3840 x 1920, maximum 8192 x 8192
VGA-1 connected primary 1080x1920+0+0 left (normal left inverted right x
axis y axis) 477mm x 268mm
   1920x1080     60.00*+
   1600x900      60.00
   1280x1024     75.02    60.02
   1152x864      75.00
   1024x768      75.08    60.00
   800x600       75.00    60.32
   640x480       75.00    60.00
   720x400       70.08
HDMI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y
axis) 477mm x 268mm
   1920x1080     60.00*+  50.00    59.94
   1680x1050     59.88
   1600x900      60.00
   1280x1024     75.02    60.02
   1440x900      59.90
   1280x800      59.91
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1024x768      75.08    70.07    60.00
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00


   720x480       60.00    59.94


   640x480       75.00    72.81    66.67    60.00    59.94


   720x400       70.08


DP-1 disconnected (normal left inverted right x axis y axis)




Stumpwm is started using 'startx'. Below is the content of .xsession script:

#!/usr/bin/env bash
xrandr --output VGA-1 --rotate left
xrandr --output VGA-1 --left-of HDMI1
xrdb -merge /home/dimitri/.Xresources
if ! pidof dropbox > /dev/null; then
    dropbox start
fi
setxkbmap -layout us,ru -option
"grp:toggle,ctrl:nocaps,grp_led:caps,compose:menu,terminate:ctrl_alt_bksp"
xmodmap -e "keycode 12 = 3 numbersign 3 at"
xscreensaver -no-splash &
/home/dimitri/bin/stumpwm

_______________________________________________
Stumpwm-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
Reply | Threaded
Open this post in threaded view
|

Re: move-focus and move-window don't work on dual-monitor configuration

Dimitri Minaev
Right after start, the commands work as expected. The problems appear
only after 'xrandr --rotate left' or 'right'. If I issue 'xrandr
--rotate normal' or '--rotate inverted', things are functioning again.

The kernel video module is i915.


On 08/16/2018 11:26 AM, Dimitri Minaev wrote:

> Hello.
>
> My configuration with 2 displays worked fine until I upgraded from
> Ubuntu 16.04 to 18.04 a couple of days ago. Now, I can't switch between
> the displays using 'move-focus', as I used to do. This command works
> with frames running on one display, though.
>
> I still can switch between heads using 'fnext'/'fprev'/'fother', but
> cannot move windows from one display to another with 'move-window'. Once
> again, this command works when the frames are located on one display.
>
> One more possibly related problem is that when cursor is moved from one
> head to another, there's a considerable period when it's not visible at
> all, as if the size of one of the frames is much larger than it seems.
> However, the size of windows and the mode line fits the size of the
> screen, nothing is invisible.
>
> I recompiled Stumpwm from Git repo, but it's still the same.
>
> Running Xorg, not Wayland. Graphics card is identified as 'Xeon E3-1200
> v2/3rd Gen Core processor Graphics Controller'. Here's the output of Xrandr:
>
> Screen 0: minimum 320 x 200, current 3840 x 1920, maximum 8192 x 8192
> VGA-1 connected primary 1080x1920+0+0 left (normal left inverted right x
> axis y axis) 477mm x 268mm
>    1920x1080     60.00*+
>    1600x900      60.00
>    1280x1024     75.02    60.02
>    1152x864      75.00
>    1024x768      75.08    60.00
>    800x600       75.00    60.32
>    640x480       75.00    60.00
>    720x400       70.08
> HDMI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y
> axis) 477mm x 268mm
>    1920x1080     60.00*+  50.00    59.94
>    1680x1050     59.88
>    1600x900      60.00
>    1280x1024     75.02    60.02
>    1440x900      59.90
>    1280x800      59.91
>    1152x864      75.00
>    1280x720      60.00    50.00    59.94
>    1024x768      75.08    70.07    60.00
>    832x624       74.55
>    800x600       72.19    75.00    60.32    56.25
>    720x576       50.00
>
>
>    720x480       60.00    59.94
>
>
>    640x480       75.00    72.81    66.67    60.00    59.94
>
>
>    720x400       70.08
>
>
> DP-1 disconnected (normal left inverted right x axis y axis)
>
>
>
>
> Stumpwm is started using 'startx'. Below is the content of .xsession script:
>
> #!/usr/bin/env bash
> xrandr --output VGA-1 --rotate left
> xrandr --output VGA-1 --left-of HDMI1
> xrdb -merge /home/dimitri/.Xresources
> if ! pidof dropbox > /dev/null; then
>     dropbox start
> fi
> setxkbmap -layout us,ru -option
> "grp:toggle,ctrl:nocaps,grp_led:caps,compose:menu,terminate:ctrl_alt_bksp"
> xmodmap -e "keycode 12 = 3 numbersign 3 at"
> xscreensaver -no-splash &
> /home/dimitri/bin/stumpwm
>

_______________________________________________
Stumpwm-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel