+2005-03-18 Tor Lillqvist <tml@novell.com>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
+ WM_MOUSEMOVE, don't check if this process owns the active
+ window. This makes cross-application widget embedding work better.
+ On WM_MOVE, don't bother checking for window visibility.
+
+ * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
+ unused variables. Add some casts to silence gcc.
+
2005-02-24 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c: Use cairo_set_device_offset().
+2005-03-18 Tor Lillqvist <tml@novell.com>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
+ WM_MOUSEMOVE, don't check if this process owns the active
+ window. This makes cross-application widget embedding work better.
+ On WM_MOVE, don't bother checking for window visibility.
+
+ * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
+ unused variables. Add some casts to silence gcc.
+
2005-02-24 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c: Use cairo_set_device_offset().
+2005-03-18 Tor Lillqvist <tml@novell.com>
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
+ WM_MOUSEMOVE, don't check if this process owns the active
+ window. This makes cross-application widget embedding work better.
+ On WM_MOVE, don't bother checking for window visibility.
+
+ * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
+ unused variables. Add some casts to silence gcc.
+
2005-02-24 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c: Use cairo_set_device_offset().
MSG *msg,
gint *ret_valp)
{
- DWORD pidActWin;
- DWORD pidThis;
RECT rect, *drag, orig_drag;
POINT point;
MINMAXINFO *mmi;
msg->wParam,
GET_X_LPARAM (msg->lParam), GET_Y_LPARAM (msg->lParam)));
- /* HB: only process mouse move messages if we own the active window. */
- GetWindowThreadProcessId (GetActiveWindow (), &pidActWin);
- GetWindowThreadProcessId (msg->hwnd, &pidThis);
- if (pidActWin != pidThis)
- break;
-
assign_object (&window, find_window_for_mouse_event (window, msg));
if (p_grab_window != NULL)
GET_X_LPARAM (msg->lParam), GET_Y_LPARAM (msg->lParam)));
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_CHILD &&
- !IsIconic (msg->hwnd) &&
- IsWindowVisible (msg->hwnd))
+ !IsIconic (msg->hwnd))
{
if (!GDK_WINDOW_DESTROYED (window))
handle_configure_event (msg, window);
#include "gdki18n.h"
#include "gdkwin32.h"
-/*
- *--------------------------------------------------------------
- * gdk_set_locale
- *
- * Arguments:
- *
- * Results:
- *
- * Side effects:
- *
- *--------------------------------------------------------------
- */
-
gchar*
gdk_set_locale (void)
{
gchar *
gdk_wcstombs (const GdkWChar *src)
{
- gchar *utf8;
- gchar *retval;
const gchar *charset;
g_get_charset (&charset);
- return g_convert (src, -1, charset, "UCS-4LE", NULL, NULL, NULL);
+ return g_convert ((char *) src, -1, charset, "UCS-4LE", NULL, NULL, NULL);
}
gint
const gchar *charset;
g_get_charset (&charset);
- ucs4 = g_convert (src, -1, "UCS-4LE", charset, NULL, &nwritten, NULL);
+ ucs4 = (gunichar *) g_convert (src, -1, "UCS-4LE", charset, NULL, &nwritten, NULL);
n_ucs4 = nwritten * sizeof (GdkWChar);
retval = MIN (dest_max, n_ucs4);