summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl.cxx2
-rw-r--r--src/Fl_Grid.cxx4
-rw-r--r--src/Fl_Terminal.cxx18
-rw-r--r--src/Fl_Window.cxx2
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx2
-rw-r--r--src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx2
6 files changed, 15 insertions, 15 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 94cfff6e8..7bb710480 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -946,7 +946,7 @@ Fl_Widget* fl_oldfocus; // kludge for Fl_Group...
Use this function inside the \c handle(int) member function of a widget of yours
to give focus to the widget, for example when it receives the FL_FOCUS or the FL_PUSH event.
Otherwise, use Fl_Widget::take_focus() to give focus to a widget;
-
+
If you change Fl::focus(), the previous widget and all
parents (that don't contain the new widget) are sent FL_UNFOCUS
events. Changing the focus does \e not send FL_FOCUS to
diff --git a/src/Fl_Grid.cxx b/src/Fl_Grid.cxx
index 9910bb069..e5259be19 100644
--- a/src/Fl_Grid.cxx
+++ b/src/Fl_Grid.cxx
@@ -641,7 +641,7 @@ void Fl_Grid::margin(int left, int top, int right, int bottom) {
need_layout(1);
}
-/**
+/**
Returns all outside margin sizes of the grid.
All margin sizes are returned in the given arguments. If any argument
@@ -1146,7 +1146,7 @@ int Fl_Grid::computed_col_width(int col) const {
return Cols_[col].w_;
}
-int Fl_Grid::computed_row_height(int row) const {
+int Fl_Grid::computed_row_height(int row) const {
return Rows_[row].h_;
}
diff --git a/src/Fl_Terminal.cxx b/src/Fl_Terminal.cxx
index 6b7d6dd87..ea401d033 100644
--- a/src/Fl_Terminal.cxx
+++ b/src/Fl_Terminal.cxx
@@ -2238,15 +2238,15 @@ void Fl_Terminal::handle_SGR(void) { // ESC[...m?
int val = esc.val(i); // each val one at a time
switch ( rgbmode ) {
case 0:
- // RGB mode values?
- switch (val) {
- case 38: // fg RGB mode? e.g. ESC[38;2;<R>;<G>;<B>m
- case 48: // bg RGB mode? e.g. ESC[48;2;<R>;<G>;<B>m
- rgbmode = 1;
- rgbcode = val;
- continue;
- }
- break;
+ // RGB mode values?
+ switch (val) {
+ case 38: // fg RGB mode? e.g. ESC[38;2;<R>;<G>;<B>m
+ case 48: // bg RGB mode? e.g. ESC[48;2;<R>;<G>;<B>m
+ rgbmode = 1;
+ rgbcode = val;
+ continue;
+ }
+ break;
case 1: if (val == 2) { rgbmode++; continue; } // '2'?
rgbcode = rgbmode = 0; // not '2'? cancel
handle_unknown_char();
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index 18c01151b..6611e0261 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -925,7 +925,7 @@ fl_uintptr_t Fl_Window::os_id() { return pWindowDriver->os_id();}
/**
Maximizes a top-level window to its current screen.
-
+
This function is effective only with a show()'n, resizable, top-level window.
Bordered and borderless windows can be used.
\see Fl_Window::un_maximize(), Fl_Window::maximize_active()
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
index b130b5b8f..34e4971da 100644
--- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
@@ -95,7 +95,7 @@ void Fl_Wayland_Graphics_Driver::create_shm_buffer(Fl_Wayland_Graphics_Driver::w
wl_list_init(&pool_data->buffers);
wl_shm_pool_set_user_data(current_pool, pool_data);
}
- buffer->wl_buffer = wl_shm_pool_create_buffer(current_pool, chunk_offset,
+ buffer->wl_buffer = wl_shm_pool_create_buffer(current_pool, chunk_offset,
width, height, stride, wld_format);
wl_buffer_add_listener(buffer->wl_buffer, &buffer_listener, buffer);
// add this buffer to head of list of current pool's buffers
diff --git a/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx b/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx
index f060542ea..973746f7c 100644
--- a/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx
+++ b/src/drivers/Wayland/fl_wayland_clipboard_dnd.cxx
@@ -673,7 +673,7 @@ void Fl_Wayland_Screen_Driver::copy(const char *stuff, int len, int clipboard,
// we transmit the adequate value of index in fl_selection_buffer[index]
wl_data_source_add_listener(seat->data_source, &data_source_listener, (void*)1);
wl_data_source_offer(seat->data_source, wld_plain_text_clipboard);
- wl_data_device_set_selection(seat->data_device,
+ wl_data_device_set_selection(seat->data_device,
seat->data_source,
seat->keyboard_enter_serial);
//fprintf(stderr, "wl_data_device_set_selection len=%d to %d\n", len, clipboard);