summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-11-01 20:06:22 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-11-01 20:06:22 +0100
commitc570bd8f96902a2f290f7623b8cf3074ac8f97ca (patch)
treea8fc258d1d4baa0defacad460ca8a4128e0163f9 /src
parent414ad1dce7fe7f9e0839a596e70130b16b5a0794 (diff)
Fix trailing whitespace
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Gl_Window.cxx2
-rw-r--r--src/Fl_cocoa.mm2
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.cxx2
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx2
4 files changed, 4 insertions, 4 deletions
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
}