aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-12-12 05:44:22 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2014-12-12 05:44:22 +0000
commit0085a6a12bca001914e6fe846a553fa1c482e377 (patch)
treedea22f814db4f7f6579ea0c711db433154cc878a /src
parent37f7dce9d1bea4a806ef284f0e9dbfe02075729f (diff)
added debug prints.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3457 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.c7
1 files changed, 5 insertions, 2 deletions
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) {