Skip to content

Commit e7cb0fe

Browse files
committed
Added pre-try of mxcb.pas. (11)
1 parent f2eda35 commit e7cb0fe

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

lib/common/kernel/linux/mxcb.pas

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2590,7 +2590,6 @@ function XCreateImage(Display: PDisplay; Visual: msePVisual; Depth: longword; Fo
25902590

25912591
end;
25922592

2593-
25942593
// Todo from Xrandr
25952594
function XRRQueryExtension(dpy: pDisplay; event_base_return: pcint; error_base_return: pcint): tBool; cdecl;
25962595
begin
@@ -2637,11 +2636,6 @@ function XRRUpdateConfiguration(event: pXEvent): cint; cdecl;
26372636

26382637
end;
26392638

2640-
function getxrandrlib: Boolean;
2641-
begin
2642-
Result := True;
2643-
end;
2644-
26452639
function XSetWMHints(Display: PDisplay; W: xid; WMHints: PXWMHints): cint; cdecl;
26462640
begin
26472641

@@ -2732,7 +2726,6 @@ function Xutf8TextPropertyToTextList(para1: PDisplay; para2: PXTextProperty; par
27322726

27332727
end;
27342728

2735-
27362729
// Macros
27372730
function ScreenOfDisplay(dpy: PDisplay; scr: cint): PScreen;
27382731
begin
@@ -2774,5 +2767,9 @@ function XDestroyImage(ximage: PXImage): cint;
27742767
XDestroyImage := ximage^.f.destroy_image(ximage);
27752768
end;
27762769

2777-
end.
2770+
function getxrandrlib: Boolean;
2771+
begin
2772+
Result := True;
2773+
end;
27782774

2775+
end.

0 commit comments

Comments
 (0)