diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/mainwindow.c | 7 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2014-12-12 + + * src/mainwindow.c: main_window_window_state_cb(): added more debug + print. + 2014-12-09 * src/prefs_filter.c: fixed a bug that reorder by DnD was not saved. diff --git a/src/mainwindow.c b/src/mainwindow.c index 942cbfe7..c601b32e 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -3243,10 +3243,13 @@ static gboolean main_window_window_state_cb(GtkWidget *widget, gboolean minimized = FALSE; if ((event->changed_mask & GDK_WINDOW_STATE_MAXIMIZED) != 0) { - if ((event->new_window_state & GDK_WINDOW_STATE_MAXIMIZED) != 0) + if ((event->new_window_state & GDK_WINDOW_STATE_MAXIMIZED) != 0) { + debug_print("main_window_window_state_cb: maximized\n"); prefs_common.mainwin_maximized = TRUE; - else + } else { + debug_print("main_window_window_state_cb: unmaximized\n"); prefs_common.mainwin_maximized = FALSE; + } } if ((event->changed_mask & GDK_WINDOW_STATE_ICONIFIED) != 0) { if ((event->new_window_state & GDK_WINDOW_STATE_ICONIFIED) != 0) { |