diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-21 11:41:40 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-21 11:41:51 +0100 |
| commit | a9412b41bb7f1012402400e56d8dd71f93709f6f (patch) | |
| tree | 20b7ef6e91a0e6fddad59a17b0f59d2349799e54 /src/Fl_cocoa.mm | |
| parent | 7e76929aff68ccde48c63eb8f08c144de43cc59f (diff) | |
Issue #359 RFE: access the MacOS windowid .
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index b6e3fe766..d978ebfc1 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4665,6 +4665,12 @@ void Fl_Cocoa_Screen_Driver::default_icons(const Fl_RGB_Image *icons[], int coun } } + +fl_uintptr_t Fl_Cocoa_Window_Driver::os_id() { + return [fl_xid(pWindow) windowNumber]; +} + + // Deprecated in 1.4 - only for backward compatibility with 1.3 void Fl::insertion_point_location(int x, int y, int height) { Fl_Cocoa_Screen_Driver::insertion_point_location(x, y, height); |
