Application always launch on seated output
Submitted by Anu Reddy
Assigned to Wayland bug list
Description
When configuring udev rules on a second pointing device to use the seat functionality, two pointers appear. One that is bound to the seat and the other that is not bound to the seat. Using the pointer which is not bound to the seat, user should be able to execute applications on both seated and not seated displays. But, applications always show on seated display irrespective of where they are executed from.
Steps:
-
Cold plugged display1, pointing device and display2
-
Create udev rules in Weston.rules using device path of USB Example ACTION=="add", SUBSYSTEMS=="input", DEVPATH=="/devices/pci0000:00/0000:00:14.0/usb1/*", ENV{WL_SEAT}+="back0"
-
Configure Weston to seat the second pointing device on the display2 Example: Output Name=HDMI2 Seat=back0
-
plug a second pointing device into the USB hub( this will bound to display2)
-
Launch weston-launch.
-
Launch weston-terminal on display1 using mouse pointer( which is not bound to seat). Observe terminal showing on display2.
Software: wayland (HEAD) 1.3.92-0-gc102c20 drm (HEAD) libdrm-2.4.50-0-g4c5de72 mesa (HEAD) remotes/origin/10.0-0-g3a62718 libva (HEAD) libva-1.2.1-0-g88ed1eb intel-driver (HEAD) 1.2.1-0-g8f306e3 weston (HEAD) 1.3.92-0-gb637a40d