[Bug 45595] New: mouse wrapping doesn't work when the window is partially outside of the physical screen
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 3 08:05:50 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45595
Bug #: 45595
Summary: mouse wrapping doesn't work when the window is
partially outside of the physical screen
Classification: Unclassified
Product: Spice
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: gtk-client
AssignedTo: spice-bugs at lists.freedesktop.org
ReportedBy: alevy at redhat.com
If the window of spice-gtk is partially outside of the physical screen, like
so:
.----------------------.
| physical screen |
.-----------------. |
| spice-gtk | |
| widget | |
| | |
| | |
| | |
| | |
'-----------------' |
| |
'----------------------'
This doesn't work for linux and for windows.
For linux, the problem is that the grab area is wrongly set to:
.----------------------.
| |
.---------------. |
|.-------------.| |
|| grab area || |
|| || |
|| || |
|'-------------'| |
'---------------' |
| |
| |
'----------------------'
and we actually want it to be the whole screen.
For windows we can use WH_MOUSE_LL for SetWindowsHookEx
But there is an even better implementation that we need to copy from spicec.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the spice-bugs
mailing list