Commit 875471d6 authored by Martin Nordholts's avatar Martin Nordholts

app: Don't create empty dock windows when switching off swm

parent 4080caf9
......@@ -335,6 +335,10 @@ gimp_ui_configurer_move_docks_to_window (GimpUIConfigurer *ui_configurer,
GtkWidget *dock_window = NULL;
GtkAllocation original_size = { 0, 0, 0, 0 };
/* Are there docks to move at all? */
if (! docks)
return;
/* Remember the size so we can set the new dock window to the same
* size
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment