Changeset 622 for trunk/Inp.pas


Ignore:
Timestamp:
Sep 15, 2024, 10:04:45 PM (4 days ago)
Author:
chronos
Message:
  • Modified: Show windows by default on primary screen if multiple monitors present.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Inp.pas

    r570 r622  
    8989  EditInput.SelLength := Length(EditInput.Text);
    9090  if Center then
    91     CenterToRect(Rect(0, 0, Screen.Width, Screen.Height));
     91    CenterToRect(Screen.PrimaryMonitor.BoundsRect);
    9292  Gtk2DisableControlStyling(EditInput);
    9393end;
Note: See TracChangeset for help on using the changeset viewer.