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
..
directfb
Use 'const' instead G_CONST_RETURN
2011-06-16 00:51:17 +01:00
quartz
quartz: add virtual modifiers already in GDK, just as X11 does it
2012-01-19 16:17:13 +01:00
tests
Add git.mk to generate .gitignore files
2009-05-04 14:29:21 -04:00
win32
win32: fix gdk_win32_window_raise
2012-01-25 12:47:04 +01:00
x11
Fix problems with DND on some X servers
2012-01-03 11:03:45 -05:00
abicheck.sh
Don't include __bss_start, _edata and _end symbols in the abichecks
2010-05-30 02:26:32 -04:00
COPYING
[ Merges from gtk-1-2 ]
1999-09-28 20:19:13 +00:00
gdk.c
gdk: Use 'const' instead deprecated G_CONST_RETURN
2011-06-15 14:47:19 +01:00
gdk.h
gdk: Use 'const' instead deprecated G_CONST_RETURN
2011-06-15 14:47:19 +01:00
gdk.symbols
win32: Add gdk_win32_window_get_impl_hwnd
2011-10-28 11:05:53 +02:00
gdkapplaunchcontext.c
[annotations] Add allow-none
2010-02-19 17:57:51 -02:00
gdkapplaunchcontext.h
fix typo in the type name so the macro becomes usable.
2008-10-15 15:50:10 +00:00
gdkcairo.c
Add gdk_cairo_set_source_window
2010-09-27 19:00:10 -04:00
gdkcairo.h
Add gdk_cairo_set_source_window
2010-09-27 19:00:10 -04:00
gdkcolor.c
Merge in Gdk-custom.c introspection annotations
2009-12-16 17:22:01 -02:00
gdkcolor.h
Seal gdk
2010-05-27 16:25:54 +02:00
gdkconfig.h.win32
Define GDK_NATIVE_WINDOW_POINTER on 32-bit Windows, too. It just makes
2008-08-04 22:20:53 +00:00
gdkcursor.c
[GI] Add missing (transfer) annotations
2011-01-26 12:49:08 +01:00
gdkcursor.h
Add gdk_cursor_get_cursor_type
2010-07-25 12:32:38 +12:00
gdkdisplay.c
[GI] Add missing (out) and (array) annotations
2011-03-16 10:45:35 +01:00
gdkdisplay.h
gdk: Use 'const' instead deprecated G_CONST_RETURN
2011-06-15 14:47:19 +01:00
gdkdisplaymanager.c
Annotate gdk_display_manager_list_displays return value
2010-07-12 12:28:48 -04:00
gdkdisplaymanager.h
Revert name change
2008-07-01 22:57:50 +00:00
gdkdnd.c
Deprecated gdk_drag_find_window and gdk_drag_get_protocol
2010-12-21 09:54:15 -05:00
gdkdnd.h
Fix another typo
2010-12-21 18:06:54 -05:00
gdkdraw.c
API: Add gdk_pixmap_get_size()
2010-11-18 17:45:14 +01:00
gdkdrawable.h
gdk: Remove GTK_COMPILATION checks from headers
2011-01-03 19:07:07 +01:00
gdkenumtypes.c.template
Use templates for glib-mkenums calls instead of complicated commandlines
2007-11-26 17:32:19 +00:00
gdkenumtypes.h.template
do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you
2008-06-23 12:09:15 +00:00
gdkevents.c
[GI] Add missing (out) and (array) annotations
2011-03-16 10:45:35 +01:00
gdkevents.h
Deprecate gdk_event_get_graphics exposes
2009-09-09 09:00:15 -04:00
gdkfont.c
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-01-11 06:25:59 +01:00
gdkfont.h
gdk: Remove GTK_COMPILATION checks from headers
2011-01-03 19:07:07 +01:00
gdkgc.c
Deprecated all GdkGC functions
2010-08-07 22:08:21 +02:00
gdkgc.h
Deprecated all GdkGC functions
2010-08-07 22:08:21 +02:00
gdkglobals.c
Add support for enabling only native windows
2009-08-24 15:22:29 +02:00
gdki18n.h
Revert name change
2008-07-01 22:57:50 +00:00
gdkimage.c
Deprecate all of GdkImage
2010-08-07 22:17:43 +02:00
gdkimage.h
Deprecate all of GdkImage
2010-08-07 22:17:43 +02:00
gdkinput.h
gdk: Use 'const' instead deprecated G_CONST_RETURN
2011-06-15 14:47:19 +01:00
gdkinternals.h
[win32] Fix win32 theme crash on offscreen windows
2011-12-16 09:11:59 +01:00
gdkintl.h
Revert name change
2008-07-01 22:57:50 +00:00
gdkkeynames.c
Fix gdk_keyval_name() and gdk_keyval_from_name() annotations
2011-03-10 13:25:55 +01:00
gdkkeys.c
Merge in Gdk-custom.c introspection annotations
2009-12-16 17:22:01 -02:00
gdkkeys.h
Seal gdk
2010-05-27 16:25:54 +02:00
gdkkeysyms-compat.h
gdk: Prefix keys with _KEY by default
2010-09-08 19:07:23 -04:00
gdkkeysyms-update.pl
gdk: Prefix keys with _KEY by default
2010-09-08 19:07:23 -04:00
gdkkeysyms.h
gdk: Prefix keys with _KEY by default
2010-09-08 19:07:23 -04:00
gdkkeyuni.c
Revert name change
2008-07-01 22:57:50 +00:00
gdkmarshalers.list
Add signals for offscreen window embedding
2009-06-08 19:39:06 +02:00
gdkmedialib.c
Minor fix for GTK+ mediaLib code.
2009-04-29 18:52:32 -05:00
gdkmedialib.h
Revert name change
2008-07-01 22:57:50 +00:00
gdkoffscreenwindow.c
[win32] Fix win32 theme crash on offscreen windows
2011-12-16 09:11:59 +01:00
gdkpango.c
Don't use deprecated Pango api
2011-11-08 12:40:48 -05:00
gdkpango.h
Revert name change
2008-07-01 22:57:50 +00:00
gdkpixbuf-drawable.c
Make GTK+ build against an external gdk-pixbuf
2010-06-26 02:29:29 -04:00
gdkpixbuf-render.c
Do not return values from a function returning void
2010-07-26 11:58:23 +02:00
gdkpixbuf.h
Revert name change
2008-07-01 22:57:50 +00:00
gdkpixmap.c
API: Add gdk_pixmap_get_size()
2010-11-18 17:45:14 +01:00
gdkpixmap.h
API: Add gdk_pixmap_get_size()
2010-11-18 17:45:14 +01:00
gdkpoly-generic.h
Merge no-flicker branch into HEAD
2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c
Deprecate GdkRegion symbols that have no Cairo equivalent
2010-06-30 16:25:03 +02:00
gdkprivate.h
Make public GDK_WINDOW_TYPE and GDK_WINDOW_DESTROYED use functions calls
2009-09-04 17:59:17 +02:00
gdkproperty.h
Deprecate some gdk text conversion routines
2010-12-21 09:54:15 -05:00
gdkrectangle.c
[GI] Add missing (out) and (array) annotations
2011-03-16 10:45:35 +01:00
gdkregion-generic.c
gdk: Undeprecate gdk_region_xor()
2010-08-10 18:26:12 +02:00
gdkregion-generic.h
Handle a borderline case correctly
2007-04-18 15:19:58 +00:00
gdkregion.h
gdk: Undeprecate gdk_region_xor()
2010-08-10 18:26:12 +02:00
gdkrgb.c
docs: Fix some docs in gdkrgb
2010-10-06 01:00:35 +02:00
gdkrgb.h
gdk: Deprecate GdkRGB functions
2010-08-08 02:59:21 +02:00
gdkscreen.c
[annotations] Add allow-none
2010-02-19 17:57:51 -02:00
gdkscreen.h
Seal gdk
2010-05-27 16:25:54 +02:00
gdkselection.c
[annotations] Add allow-none
2010-02-19 17:57:51 -02:00
gdkselection.h
Fix the return type of gdk_selection_property_get
2009-09-02 22:50:05 -04:00
gdkspawn.h
Deprecate gdk_spawn apis
2010-12-21 09:54:14 -05:00
gdktestutils.h
gdk/gdkapplaunchcontext.h gdk/gdktestutils.h gtk/gtkmountoperation.h
2008-05-30 12:08:30 +00:00
gdktypes.h
Revert "Implement GdkRegion in terms of cairo_region_t"
2010-05-26 09:25:55 +02:00
gdkvisual.c
Add annotations
2010-09-17 09:47:47 -04:00
gdkvisual.h
Seal gdk
2010-05-27 16:25:54 +02:00
gdkwindow.c
win32: Make WINTAB support work
2011-11-01 12:38:15 +01:00
gdkwindow.h
gdk: Remove GTK_COMPILATION checks from headers
2011-01-03 19:07:07 +01:00
gdkwindowimpl.c
Fix make check
2008-07-04 04:02:35 +00:00
gdkwindowimpl.h
Add supports_native_bg to GdkWindowImpl
2009-11-05 12:52:12 +01:00
gen-keyname-table.pl
Generate N_() calls for translatable key names.
2005-06-10 06:41:04 +00:00
keyname-table.h
fix small typo.
2008-10-28 22:55:23 +00:00
keynames.txt
Mark arrow keys as translatable
2006-12-21 05:11:00 +00:00
makeenums.pl
Add GdkEventSetting event for notification of changes to system settings,
2001-04-02 23:33:47 +00:00
Makefile.am
introspection: Fix srcdir != builddir builds
2012-01-09 17:08:12 +01:00
makefile.msc
Update mscv/win32 build
2010-08-27 20:34:23 +02:00
makegdkalias.pl
Make PLT-reduction work with gcc4, and don't include everything in
2005-03-16 03:17:27 +00:00
pltcheck.sh
Commit a patch by Behdad to fix typos, omissions and other errors in the
2006-09-10 06:39:16 +00:00
testgdk.c
Use G_STRLOC instead __LINE__
2009-10-26 18:19:48 +01:00