From c570bd8f96902a2f290f7623b8cf3074ac8f97ca Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 1 Nov 2022 20:06:22 +0100 Subject: Fix trailing whitespace --- src/Fl_Gl_Window.cxx | 2 +- src/Fl_cocoa.mm | 2 +- src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx | 2 +- src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index ae1e66bd6..edcf45f0d 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -526,7 +526,7 @@ char Fl_Gl_Window_Driver::swap_type() {return UNDEFINED;} void* Fl_Gl_Window_Driver::GetProcAddress(const char *procName) { #if defined(HAVE_GLXGETPROCADDRESSARB) return (void*)glXGetProcAddressARB((const GLubyte *)procName); - + #elif (HAVE_DLSYM && HAVE_DLFCN_H) # ifdef RTLD_DEFAULT void *rtld_default = RTLD_DEFAULT; diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 8183f835a..92bb6c2fd 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3281,7 +3281,7 @@ void Fl_Cocoa_Window_Driver::resize(int X, int Y, int W, int H) { } through_resize(0); } - + // make sure subwindow doesn't leak outside parent if (pWindow->parent()) [fl_xid(pWindow) checkSubwindowFrame]; } diff --git a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx index 0cd33cac0..59f92663f 100644 --- a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx @@ -33,7 +33,7 @@ eglQueryContext() reports that EGL_RENDER_BUFFER equals EGL_BACK_BUFFER. This experiment suggests that the platform only supports double-buffer drawing. Consequently, FL_DOUBLE is enforced in all Fl_Gl_Window::mode_ values under Wayland. - + * Commented out code marked with CONTROL_LEAKING_SUB_GL_WINDOWS aims to prevent sub GL windows from leaking out from their parent by making leaking parts fully transparent. This code is commented out because it requires the FL_ALPHA flag to be on diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 3f131f301..b7c07a38b 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -1479,7 +1479,7 @@ void Fl_Wayland_Window_Driver::resize(int X, int Y, int W, int H) { } } } - + if (fl_win && fl_win->kind == SUBWINDOW && fl_win->subsurface) checkSubwindowFrame(); // make sure subwindow doesn't leak outside parent } -- cgit v1.2.3