gtk/gdk/win32
Dieter Verfaillie fb87d9c901 win32: fix gdk_win32_window_raise
When calling gtk_window_present(), gdk_win32_window_raise did not
actually raise the window anymore. Replacing BringWindowToTop() with
SetForegroundWindow() fixes this.

During testing, we also discovered that sometimes SetForeGroundWindow()
will (correctly) refuse to raise the window and fail(for example: sometimes
when dragging a different application at the time of a gtk_window_present()
call). To prevent a GdkWarning from being produced, usage of the API_CALL
macro has been removed for this case.

Additional goodies of SetForeGroundWindow:
- it brings the window to the front when the process owning the
  window to raise is the foreground process (for example when
  gtk_window_present is called from a GtkStatusIcon's activate
  signal handler)
- it limits itself to flashing the task bar button associated
  with the window if the process owning the window to raise
  is *not* the foreground process (for example when gtk_window_present
  is called from a g_timeout_add callback function)

https://bugzilla.gnome.org/show_bug.cgi?id=665760
2012-01-25 12:47:04 +01:00
..
rc Add git.mk to generate .gitignore files 2009-05-04 14:29:21 -04:00
bdfcursor.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
cursor.bdf Committing changes to the source bdf font file that I forgot to commit 2007-08-17 03:40:39 +00:00
gdkapplaunchcontext-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkcolor-win32.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkcursor-win32.c win32: GDIFlush before accessing pixmap bits 2011-11-09 13:33:18 +01:00
gdkdisplay-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkdnd-win32.c win32: Fix DnD when drag icon is below the pointer 2011-09-27 22:22:14 +02:00
gdkdrawable-win32.c win32: Fix up error message 2011-11-09 13:33:18 +01:00
gdkdrawable-win32.h Use G_DEFINE_TYPE (GdkDrawableImplWin32, ...) 2009-07-26 19:14:07 +02:00
gdkevents-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkfont-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkgc-win32.c [win32] Fix win32 theme crash on offscreen windows 2011-12-16 09:11:59 +01:00
gdkgeometry-win32.c win32: Never pass SWP_NOSIZE or SWP_NOMOVE to SetWindowPos 2010-08-27 20:38:01 +02:00
gdkglobals-win32.c win32: Ignore client requested window move/size during SIZEMOVE 2011-10-25 16:13:47 +02:00
gdkim-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkimage-win32.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkinput-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkinput-win32.h win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
gdkinput.c win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
gdkkeys-win32.c Fix a compatibility problem 2010-02-12 18:55:42 -05:00
gdkmain-win32.c Prefer MessageBeep() over Beep() 2010-11-07 22:38:20 +01:00
gdkpixmap-win32.c win32: Fix 16bit pixmaps 2011-12-06 11:29:00 +01:00
gdkpixmap-win32.h
gdkprivate-win32.h win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
gdkproperty-win32.c gdk: Add XSetting for "gtk-cursor-blink-timeout" 2010-11-15 17:20:02 +00:00
gdkscreen-win32.c Implement gdk_screen_get_primary_monitor in all GDK backends 2009-12-13 20:40:02 -05:00
gdkselection-win32.c win32: fix pasting screenshots taken with PrintScreen or Alt+PrintScreen 2011-11-04 15:37:52 +01:00
gdkspawn-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdktestutils-win32.c New file, dummy implementations. 2007-11-25 22:25:18 +00:00
gdkvisual-win32.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkwin32.h win32: Add gdk_win32_window_get_impl_hwnd 2011-10-28 11:05:53 +02:00
gdkwin32id.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00
gdkwindow-win32.c win32: fix gdk_win32_window_raise 2012-01-25 12:47:04 +01:00
gdkwindow-win32.h win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
libwntab32x.la
Makefile.am Add git.mk to generate .gitignore files 2009-05-04 14:29:21 -04:00
makefile.msc Update mscv/win32 build 2010-08-27 20:34:23 +02:00
pktdef.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
wintab.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
xcursors.h Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00