Add a block around the WM_ACTIVATE case to avoid declaring variables in
2007-10-19 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkevents-win32.c (gdk_event_translate): Add a block around the WM_ACTIVATE case to avoid declaring variables in the middle of a block. (#488017) svn path=/trunk/; revision=18932
This commit is contained in:
committed by
Tor Lillqvist
parent
88aafca418
commit
9466ea35a8
@ -1,3 +1,9 @@
|
|||||||
|
2007-10-19 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
|
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Add a block
|
||||||
|
around the WM_ACTIVATE case to avoid declaring variables in the
|
||||||
|
middle of a block. (#488017)
|
||||||
|
|
||||||
2007-10-18 Cody Russell <cody@jhu.edu>
|
2007-10-18 Cody Russell <cody@jhu.edu>
|
||||||
|
|
||||||
* modules/engines/ms-windows/msw_style.c: Draw focus rect for
|
* modules/engines/ms-windows/msw_style.c: Draw focus rect for
|
||||||
|
|||||||
@ -3363,9 +3363,7 @@ gdk_event_translate (MSG *msg,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_ACTIVATE:
|
case WM_ACTIVATE: {
|
||||||
;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* On Windows, transient windows will not have their own taskbar entries.
|
* On Windows, transient windows will not have their own taskbar entries.
|
||||||
* Because of this, we must hide and restore groups of transients in both
|
* Because of this, we must hide and restore groups of transients in both
|
||||||
@ -3406,7 +3404,6 @@ gdk_event_translate (MSG *msg,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Bring any tablet contexts to the top of the overlap order when
|
/* Bring any tablet contexts to the top of the overlap order when
|
||||||
* one of our windows is activated.
|
* one of our windows is activated.
|
||||||
* NOTE: It doesn't seem to work well if it is done in WM_ACTIVATEAPP
|
* NOTE: It doesn't seem to work well if it is done in WM_ACTIVATEAPP
|
||||||
@ -3415,7 +3412,8 @@ gdk_event_translate (MSG *msg,
|
|||||||
if (LOWORD(msg->wParam) != WA_INACTIVE)
|
if (LOWORD(msg->wParam) != WA_INACTIVE)
|
||||||
_gdk_input_set_tablet_active ();
|
_gdk_input_set_tablet_active ();
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/* Handle WINTAB events here, as we know that gdkinput.c will
|
/* Handle WINTAB events here, as we know that gdkinput.c will
|
||||||
* use the fixed WT_DEFBASE as lcMsgBase, and we thus can use the
|
* use the fixed WT_DEFBASE as lcMsgBase, and we thus can use the
|
||||||
* constants as case labels.
|
* constants as case labels.
|
||||||
|
|||||||
Reference in New Issue
Block a user