Skip to content
  • Sebastian Keller's avatar
    frame: Fix crash when clicking below titlebar with broken gtk themes · 30c542dd
    Sebastian Keller authored and Jonas Ådahl's avatar Jonas Ådahl committed
    When a gtk theme uses larger shadows for the unfocused state than for
    the focused one, this can cause a crash in meta_frame_left_click_event.
    Since whether to call meta_frame_left_click_event is decided based on
    the decoration size before focusing and the control that was clicked on
    after focusing, this can result in an event handled in
    meta_frame_left_click_event being on the client area.
    
    Fixes #1668
    
    Part-of: <!1748>
    
    
    (cherry picked from commit c2968c89)
    30c542dd