Ignore:
Timestamp:
09/27/23 14:25:35 (7 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Yet another trick to make CEF work on Linux properly

File:
1 edited

Legend:

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

    r1108 r1111  
    209209
    210210    _simBriefHandler = SimBriefHandler()
    211     _initializeCEF([], initializedCallback)
     211    GObject.timeout_add(100, _initializeCEF, [], initializedCallback)
    212212
    213213#------------------------------------------------------------------------------
     
    251251    print("Initialized, executing callback...")
    252252    initializedCallback()
     253
     254    if os.name != "nt":
     255        Gtk.main_quit()
     256
    253257    return False
    254258
Note: See TracChangeset for help on using the changeset viewer.