[Webkit-unassigned] [Bug 43367] New: Webkit get a BadCursor from X if not run on the default display

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 2 11:02:45 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43367

           Summary: Webkit get a BadCursor from X if not run on the
                    default display
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: juanpablougarte at gmail.com


on CursorGtk.cpp  gdk_display_get_default() and gdk_cursor_new() is used so all cursor created by this class implementation are only valid for the default display.

This should be replaced with gtk_widget_get_display() and gdk_cursor_new_for_display() otherwise it wont work for a window connected to another display using gtk_window_set_screen() for example.

Now I am not familiar with the codebase so I am not sure whats the best way to get the pointer of the webview.

I guess a work around could be to add a method Cursor::SetDisplay()

greets

Juan Pablo

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list