Ignore:
Timestamp:
Jan 8, 2024, 11:43:27 PM (10 months ago)
Author:
chronos
Message:
  • Fixed: Gtk2 first click workaround to work also with DPI components.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/DrawDlg.pas

    r504 r525  
    200200  MoveActive := False;
    201201
    202   {$IFDEF LCLGTK2}
     202{$IFDEF LCLGTK2}
    203203  // GTK2 bug workaround https://bugs.freepascal.org/view.php?id=35720
     204  {$IFDEF DPI}
     205  if Visible then LastMouse.WinControl := Self.NativeForm;
     206  {$ELSE}
    204207  if Visible then LastMouse.WinControl := Self;
    205208  {$ENDIF}
     209{$ENDIF}
    206210end;
    207211
Note: See TracChangeset for help on using the changeset viewer.