[Bug 29748] New: mouse doesn't work after fullscreen window goes away

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 30 12:01:41 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29748

             Bug #: 29748
           Summary: mouse doesn't work after fullscreen window goes away
           Product: Wine
           Version: 1.4-rc1
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: winex11.drv
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: bailey937 at yahoo.com
    Classification: Unclassified


I have an in-house windows app.

It's an image viewer that creates a full-screen window to do slideshows.

When you exit the slideshow, the mouse works fine in the windows app's window,
but it doesn't work anywhere else on the linux desktop.

If you alt+tab away from the windows app, then the mouse starts working
everywhere again.

I've had this problem in various environments under ubutnu, including unity 3d
and lubuntu.

The weird thing is I can't reproduce it in fedora 16 under lxde.  Also, I tried
crossover on ubuntu (lubuntu 11.10), and it doesn't do it either.

I was able to fix it for myself by doing this in mouse.c (in wine-1.4-rc1)

BOOL clip_fullscreen_window( HWND hwnd, BOOL reset )
{
    struct x11drv_win_data *data;
    struct x11drv_thread_data *thread_data;
    RECT rect;
    DWORD style;

        /* HACK? */
        return FALSE;


I think what's happening is wine is making an invisible window and grabs the
pointer to it, and wine doesn't get rid of this window or ungrab the pointer
when it's supposed to.  My app works fine without this behavior (works fine if
clip_fullscreen_window() always returns false).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list