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:
: 268680 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-02 11:02 PDT by Juan Pablo Ugarte
Modified: 2024-02-03 07:14 PST (History)
2 users (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
Comment 1 Michael Catanzaro 2024-02-03 07:14:17 PST
*** Bug 268680 has been marked as a duplicate of this bug. ***