Changeset 254 for trunk


Ignore:
Timestamp:
Sep 22, 2018, 11:13:50 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Full screen mode under Linux.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r253 r254  
    285285      FormMain.WindowState := wsFullScreen;
    286286    end;
     287    {$IFDEF WINDOWS}
    287288    FormMain.BorderStyle := bsSizeable;
     289    {$ENDIF}
    288290    FormMain.WindowState := OldWindowState;
    289291    InFullScreenMode := False;
    290292  end else begin
    291293    OldWindowState := FormMain.WindowState;
     294    {$IFDEF WINDOWS}
    292295    FormMain.BorderStyle := bsNone;
     296    {$ENDIF}
    293297    FormMain.WindowState := wsFullScreen;
    294298    InFullScreenMode := True;
Note: See TracChangeset for help on using the changeset viewer.