Changeset 924:05c2338a2dc4


Ignore:
Timestamp:
04/27/19 12:13:37 (4 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Fixed CEF window ID detection for Linux (re #347).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/cef.py

    r919 r924  
    327327            windowID = window.handle
    328328    else:
    329         windowID = container.window.xid
     329        container.set_visual(container.get_screen().lookup_visual(0x21))
     330        windowID = container.get_window().get_xid()
    330331
    331332    windowInfo = cefpython.WindowInfo()
Note: See TracChangeset for help on using the changeset viewer.