Bug 43367 - Webkit get a BadCursor from X if not run on the default display
Summary: Webkit get a BadCursor from X if not run on the default display
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-02 11:02 PDT by Juan Pablo Ugarte
Modified: 2017-03-11 10:56 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Pablo Ugarte 2010-08-02 11:02:45 PDT
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