Changeset 525 for trunk


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

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r523 r525  
    66726672      PaintBufferToScreen(xMin, yMin, xRange, yRange);
    66736673      {$IFDEF UNIX}
    6674       // TODO: Force animation under UNIX
     6674      // TODO: Force animation under UNIX. Causes also to process keyboard events
     6675      // which can lead to unexpected errors.
    66756676      Application.ProcessMessages;
    66766677      {$ENDIF}
  • 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.