diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-15 06:42:06 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-29 12:15:32 +0200 |
| commit | c720aae51515907ae82ee02df80bd084f291d4b1 (patch) | |
| tree | 7fbf3569f35966891df68490b047b30c9ec20bcd /FL/platform.H | |
| parent | 28981f6fd3971aaf7ff6527ee1cdeb9d886c4a4a (diff) | |
Make hybrid Wayland/X11 platform.
Diffstat (limited to 'FL/platform.H')
| -rw-r--r-- | FL/platform.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/platform.H b/FL/platform.H index 1ff9cd48c..834a32392 100644 --- a/FL/platform.H +++ b/FL/platform.H @@ -51,7 +51,7 @@ class Fl_Window; class FL_EXPORT Fl_X { public: - Window xid; + fl_uintptr_t xid; Fl_Window* w; Fl_Region region; Fl_X *next; @@ -64,7 +64,7 @@ public: # endif }; -inline Window fl_xid(const Fl_Window* w) { Fl_X *xTemp = Fl_X::i(w); return xTemp ? xTemp->xid : 0; } +inline Window fl_xid(const Fl_Window* w) { Fl_X *xTemp = Fl_X::i(w); return xTemp ? (Window)xTemp->xid : 0; } #else extern FL_EXPORT Window fl_xid_(const Fl_Window* w); # define fl_xid(w) fl_xid_(w) |
