Bug 43367

Summary: Webkit get a BadCursor from X if not run on the default display
Product: WebKit Reporter: Juan Pablo Ugarte <juanpablougarte>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: bugs-noreply, lewandowskipawe2
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

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
Comment 1 Michael Catanzaro 2024-02-03 07:14:17 PST
*** Bug 268680 has been marked as a duplicate of this bug. ***