chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.21k stars 455 forks source link

Linux: Improve CEF X11 window behavior in cefclient GTK example #1417

Open magreenblatt opened 9 years ago

magreenblatt commented 9 years ago

Original report by me.


Original issue 1417 created by magreenblatt on 2014-10-27T22:29:56.000Z:

The cefclient example application on Linux mixes GTK and X11 calls. This behaves incorrectly in some cases. For example

There may be a better way to host the X11 window in GTK (gdk_window_foreign_new perhaps?). See issue comment 12.58 for related commentary.

magreenblatt commented 9 years ago

Comment 1. originally posted by magreenblatt on 2014-11-24T23:22:14.000Z:

A more generic embed approach might be using GtkSocket [1] which can host any control that implements the XEmbed protocol [2]. This is how Qt widgets can be hosted in GTK, for example.

[1] https://developer.gnome.org/gtk2/stable/GtkSocket.html
[2] http://www.freedesktop.org/Standards/xembed-spec

magreenblatt commented 7 years ago