diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-12-30 20:53:54 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2022-12-30 20:54:03 +0100 |
| commit | 473b5d8b5b18643c9162138fb8114ede8e2043cf (patch) | |
| tree | ad3877f16ea0021bd5b8b88ac6ac3c32e131bff5 /src | |
| parent | 96f080a2121a02eb6aabe61237fdf1d4bb8a7546 (diff) | |
Fixing false FL_OVERRIDE
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_x.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 2cc04913c..2c2720033 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2412,7 +2412,7 @@ void Fl_X::make_xid(Fl_Window* win, XVisualInfo *visual, Colormap colormap) attr.colormap = colormap; attr.border_pixel = 0; attr.bit_gravity = 0; // StaticGravity; - if (win->FL_OVERRIDE()) { + if (win->override()) { attr.override_redirect = 1; attr.save_under = 1; mask |= CWOverrideRedirect | CWSaveUnder; @@ -2613,7 +2613,7 @@ void Fl_X::make_xid(Fl_Window* win, XVisualInfo *visual, Colormap colormap) void Fl_X11_Window_Driver::sendxjunk() { Fl_Window *w = pWindow; - if (w->parent() || w->FL_OVERRIDE()) return; // it's not a window manager window! + if (w->parent() || w->override()) return; // it's not a window manager window! XSizeHints *hints = XAllocSizeHints(); // memset(&hints, 0, sizeof(hints)); jreiser suggestion to fix purify? |
