Skip to content
  • Marek Rusinowski's avatar
    fix: calling of X11 functions when running under Wayland (#33355) · cdf2b3f4
    Marek Rusinowski authored
    * fix: don't call X11 functions in file dialog and message box
    
    * refactor: remove unused GtkUiPlatform declaration
    
    * fix: set gtk darktheme only when running under X11
    
    * fix: replace X11 window state watcher with implementation using ozone
    
    * fix: make sure global menu barr is used only when supported
    
    * fix: don't call X11 function in native window views under wayland
    
    * style: fix lint issues
    
    * fix: use GtkUiPlatform::ShowGtkWindow instead of gtk_window_present directly
    
    * refactor: extract CreateGlobalMenuBar into separate function
    
    * refactor: move checking for WaylandWindowDecorations inside class
    
    * fix: check if we run under X11 only in ozone build
    
    * refactor: drop including unused ui/base/ui_base_features.h header
    
    * fix: modify ui_gtk_public_header.patch to also export gtk_ui.h
    
    * fix: refactor guarding of X11 calls
    
    - Introduce patch exposing new electron_can_call_x11 property
    - Replace defined(USE_OZONE) with BUILDFLAG(OZONE_PLATFORM_X11) flags
    
    * fix: remove the last remaining usage of USE_X11
    
    * fix: usage of BUILDFLAG(OZONE_PLATFORM_X11) not building on non ozone
    
    * fix: call UpdateWindowState from OnBoundsChanged only under X11
    cdf2b3f4