Mouse Pointer

Hi,

We have recently configured dual monitor with Photon by using 2 PCI display
cards (Cirrus logic chipset) installed on same computer. With secondary
monitor configured at a horizontal offset of 800 pixels (resolution
800x600), secondary monitor offers an exclusive display area. We observed
that console 1 of Photon workspace is stretched onto secondary monitor.

We require exclusive display areas(2 separate monitors) for execution of 2
applications one on each display. This appears to be possible with dual
display configured by us. But for one of the two applications (primary
monitor), we wish to offer mouse functions whereas for the second
application (secondary monitor), we do not want to allow mouse functions.
When we conducted a trial of dual display, we observed that mouse pointer
moves from right edge of primary monitor onto secondary monitor.

Is there any way of blocking mouse cursor for console area stretched on to
secondary monitor?

Thanks,
Krupa

Krupa <seto@vsnl.com> wrote:

We have recently configured dual monitor with Photon by using 2 PCI display
cards (Cirrus logic chipset) installed on same computer. With secondary
monitor configured at a horizontal offset of 800 pixels (resolution
800x600), secondary monitor offers an exclusive display area. We observed
that console 1 of Photon workspace is stretched onto secondary monitor.

We require exclusive display areas(2 separate monitors) for execution of 2
applications one on each display. This appears to be possible with dual
display configured by us. But for one of the two applications (primary
monitor), we wish to offer mouse functions whereas for the second
application (secondary monitor), we do not want to allow mouse functions.
When we conducted a trial of dual display, we observed that mouse pointer
moves from right edge of primary monitor onto secondary monitor.

Is there any way of blocking mouse cursor for console area stretched on to
secondary monitor?

I think you want to assign your two monitors to two separate input
groups. Here’s a little bit of theoretical background about input
groups:

Each graphics driver region has its rectangle and belongs to a
particular input group.

Photon always makes sure that the input group’s rectangle is the
bounding box of all driver regions within the input group.

Each input driver region belongs to a particular input group. If
there’s an input driver associated with an input group, the input
group has a cursor. This cursor can move anywhere within the input
group’s rectangle.

The window manager positions the nine virtual consoles based on the
size of the input group, and switches consoles by moving the input
group region by multiples of its size.

Depending on the “multi-monitor placement” setting, pwm uses either
the entire input group rectangle or one randomly chosen graphics
driver as “the console” for the purpose of maximizing windows,
placing the taskbar etc.

Thanks, but at present single console of photon workspace is stretched over
2 physical monitors. We want to stop the mouse pointer from moving outside
first physical monitor. How to achieve it?

Cheers,
Krupa

Wojtek Lerch <wojtek_l@yahoo.ca> wrote in message
news:b7jplu$5i$1@inn.qnx.com

Krupa <> seto@vsnl.com> > wrote:
We have recently configured dual monitor with Photon by using 2 PCI
display
cards (Cirrus logic chipset) installed on same computer. With secondary
monitor configured at a horizontal offset of 800 pixels (resolution
800x600), secondary monitor offers an exclusive display area. We
observed
that console 1 of Photon workspace is stretched onto secondary monitor.

We require exclusive display areas(2 separate monitors) for execution of
2
applications one on each display. This appears to be possible with dual
display configured by us. But for one of the two applications (primary
monitor), we wish to offer mouse functions whereas for the second
application (secondary monitor), we do not want to allow mouse
functions.
When we conducted a trial of dual display, we observed that mouse
pointer
moves from right edge of primary monitor onto secondary monitor.

Is there any way of blocking mouse cursor for console area stretched on
to
secondary monitor?

I think you want to assign your two monitors to two separate input
groups. Here’s a little bit of theoretical background about input
groups:

Each graphics driver region has its rectangle and belongs to a
particular input group.

Photon always makes sure that the input group’s rectangle is the
bounding box of all driver regions within the input group.

Each input driver region belongs to a particular input group. If
there’s an input driver associated with an input group, the input
group has a cursor. This cursor can move anywhere within the input
group’s rectangle.

The window manager positions the nine virtual consoles based on the
size of the input group, and switches consoles by moving the input
group region by multiples of its size.

Depending on the “multi-monitor placement” setting, pwm uses either
the entire input group rectangle or one randomly chosen graphics
driver as “the console” for the purpose of maximizing windows,
placing the taskbar etc.

Krupa <seto@vsnl.com> wrote:

Thanks, but at present single console of photon workspace is stretched over
2 physical monitors. We want to stop the mouse pointer from moving outside
first physical monitor. How to achieve it?

I can think of several possible ways, but the simple ones require some
assumptions. Why do you need both monitors to be considered one
console:

Do you want maximized windows to stretch across both monotirs?

Do you need the taskbar to be stretched across both monitors?

Do you want to be able to switch between the 9 virtual consoles with
the Ctrl-Alt-123 keychords?

Cheers,
Krupa

Wojtek Lerch <> wojtek_l@yahoo.ca> > wrote in message
news:b7jplu$5i$> 1@inn.qnx.com> …
Krupa <> seto@vsnl.com> > wrote:
We have recently configured dual monitor with Photon by using 2 PCI
display
cards (Cirrus logic chipset) installed on same computer. With secondary
monitor configured at a horizontal offset of 800 pixels (resolution
800x600), secondary monitor offers an exclusive display area. We
observed
that console 1 of Photon workspace is stretched onto secondary monitor.

We require exclusive display areas(2 separate monitors) for execution of
2
applications one on each display. This appears to be possible with dual
display configured by us. But for one of the two applications (primary
monitor), we wish to offer mouse functions whereas for the second
application (secondary monitor), we do not want to allow mouse
functions.
When we conducted a trial of dual display, we observed that mouse
pointer
moves from right edge of primary monitor onto secondary monitor.

Is there any way of blocking mouse cursor for console area stretched on
to
secondary monitor?

I think you want to assign your two monitors to two separate input
groups. Here’s a little bit of theoretical background about input
groups:

Each graphics driver region has its rectangle and belongs to a
particular input group.

Photon always makes sure that the input group’s rectangle is the
bounding box of all driver regions within the input group.

Each input driver region belongs to a particular input group. If
there’s an input driver associated with an input group, the input
group has a cursor. This cursor can move anywhere within the input
group’s rectangle.

The window manager positions the nine virtual consoles based on the
size of the input group, and switches consoles by moving the input
group region by multiples of its size.

Depending on the “multi-monitor placement” setting, pwm uses either
the entire input group rectangle or one randomly chosen graphics
driver as “the console” for the purpose of maximizing windows,
placing the taskbar etc.


Wojtek Lerch QNX Software Systems Ltd.

In fact we wanted to configure the dual display in such a way that one
console of photon workspace is displayed on primary monitor and second
console on secondary monitor. But when we tried out the configurations
suggested by QSSL’s knowledgebase, we landed with first console stretched
over two physical monitors. If there is any way of achieving different
consoles on 2 physical monitors, kindly suggest.

We do not want maximized windows to be stretched over 2 physical monitors.

We require taskbar only on primary display (single monitor)

We do not wish to allow the user switch betweem virtual consoles with the
help of Ctrl-Alt-1234 keyboards?

Mouse pointer only on primary display. We want to block the mouse pointer
from moving onto secondary display. The application that will be run finally
on secondary display has no menu bar, button or any other feature with the
help of which user can feed any input to the application. Whereas the
application on primary display is a full-fledged menu-driven application
with buttons, text boxes, and keyboard shortcuts. We will also need to
ensure that the focus is always on the program running on primary display so
that the keyboard short-cuts can be used on the same.

Thanks,
Krupa


Wojtek Lerch <wojtek_l@yahoo.ca> wrote in message
news:b7mhdv$5qc$1@inn.qnx.com

Krupa <> seto@vsnl.com> > wrote:
Thanks, but at present single console of photon workspace is stretched
over
2 physical monitors. We want to stop the mouse pointer from moving
outside
first physical monitor. How to achieve it?

I can think of several possible ways, but the simple ones require some
assumptions. Why do you need both monitors to be considered one
console:

Do you want maximized windows to stretch across both monotirs?

Do you need the taskbar to be stretched across both monitors?

Do you want to be able to switch between the 9 virtual consoles with
the Ctrl-Alt-123 keychords?

Cheers,
Krupa

Wojtek Lerch <> wojtek_l@yahoo.ca> > wrote in message
news:b7jplu$5i$> 1@inn.qnx.com> …
Krupa <> seto@vsnl.com> > wrote:
We have recently configured dual monitor with Photon by using 2 PCI
display
cards (Cirrus logic chipset) installed on same computer. With
secondary
monitor configured at a horizontal offset of 800 pixels (resolution
800x600), secondary monitor offers an exclusive display area. We
observed
that console 1 of Photon workspace is stretched onto secondary
monitor.

We require exclusive display areas(2 separate monitors) for execution
of
2
applications one on each display. This appears to be possible with
dual
display configured by us. But for one of the two applications
(primary
monitor), we wish to offer mouse functions whereas for the second
application (secondary monitor), we do not want to allow mouse
functions.
When we conducted a trial of dual display, we observed that mouse
pointer
moves from right edge of primary monitor onto secondary monitor.

Is there any way of blocking mouse cursor for console area stretched
on
to
secondary monitor?

I think you want to assign your two monitors to two separate input
groups. Here’s a little bit of theoretical background about input
groups:

Each graphics driver region has its rectangle and belongs to a
particular input group.

Photon always makes sure that the input group’s rectangle is the
bounding box of all driver regions within the input group.

Each input driver region belongs to a particular input group. If
there’s an input driver associated with an input group, the input
group has a cursor. This cursor can move anywhere within the input
group’s rectangle.

The window manager positions the nine virtual consoles based on the
size of the input group, and switches consoles by moving the input
group region by multiples of its size.

Depending on the “multi-monitor placement” setting, pwm uses either
the entire input group rectangle or one randomly chosen graphics
driver as “the console” for the purpose of maximizing windows,
placing the taskbar etc.



\

Wojtek Lerch QNX Software Systems Ltd.

Krupa <seto@vsnl.com> wrote:

In fact we wanted to configure the dual display in such a way that one
console of photon workspace is displayed on primary monitor and second
console on secondary monitor. But when we tried out the configurations
suggested by QSSL’s knowledgebase, we landed with first console stretched
over two physical monitors. If there is any way of achieving different
consoles on 2 physical monitors, kindly suggest.

Run the first driver with its default options – it’ll display console 1
of input group 1.

Run the second driver with the -G2 option to attach it to input group 2.
And, like the knowledge base entry reminds, use the -o option to set its
position to console 2. Or wherever you want.

If this doesn’t work, try not running it without the window manager and
let me know it that helps.


We do not want maximized windows to be stretched over 2 physical monitors.

We require taskbar only on primary display (single monitor)

We do not wish to allow the user switch betweem virtual consoles with the
help of Ctrl-Alt-1234 keyboards?

Mouse pointer only on primary display. We want to block the mouse pointer
from moving onto secondary display. The application that will be run finally
on secondary display has no menu bar, button or any other feature with the
help of which user can feed any input to the application. Whereas the
application on primary display is a full-fledged menu-driven application
with buttons, text boxes, and keyboard shortcuts. We will also need to
ensure that the focus is always on the program running on primary display so
that the keyboard short-cuts can be used on the same.

This sounds like the setup with two input groups is exactly what you
need.

Wojtek Lerch <wojtek_l@yahoo.ca> wrote:

If this doesn’t work, try not running it without the window manager and
let me know it that helps.

Sorry; of course, I meant try running it without the window manager.