diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-12-12 05:44:22 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2014-12-12 05:44:22 +0000 |
commit | 0085a6a12bca001914e6fe846a553fa1c482e377 (patch) | |
tree | dea22f814db4f7f6579ea0c711db433154cc878a | |
parent | 37f7dce9d1bea4a806ef284f0e9dbfe02075729f (diff) |
added debug prints.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3457 ee746299-78ed-0310-b773-934348b2243d
-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) { |