diff options
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 26cec974b..cd3a70f6c 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -53,6 +53,7 @@ class Fl_Widget *fl_selection_requestor; # include <stdlib.h> # include "flstring.h" # include "drivers/X11/Fl_X11_Screen_Driver.H" +# include "drivers/X11/Fl_X11_Window_Driver.H" # include <unistd.h> # include <time.h> # include <sys/time.h> @@ -2557,8 +2558,8 @@ void Fl_X::make_xid(Fl_Window* win, XVisualInfo *visual, Colormap colormap) } #endif - if (win->shape_data_) { - win->combine_mask(); + if (win->is_shaped()) { + ((Fl_X11_Window_Driver*)win->pWindowDriver)->combine_mask(); } XMapWindow(fl_display, xp->xid); if (showit) { |
