Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
use NativeCall;
|
||||
|
||||
sub XOpenDisplay(Str $s --> int64) is native('X11') {*}
|
||||
sub XCloseDisplay(int64 $i --> int32) is native('X11') {*}
|
||||
|
||||
if try my $d = XOpenDisplay ":0.0" {
|
||||
say "ID = $d";
|
||||
XCloseDisplay($d);
|
||||
}
|
||||
else {
|
||||
say "No X11 library!";
|
||||
say "Use this window instead --> ⬜";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue