gtk/gdk
Lars Uebernickel 1f07625705 gdk_pixbuf_get_from_window: honor device scale
gdk_pixbuf_get_from_window() paints the given window onto a new cairo
surface. Create that new surface with the same device scale as the
window so that the result is not scaled down on hidpi screens.

This is similar to 657a43e (which was reverted), but doesn't modify the
behavior of gdk_pixbuf_get_from_surface().

https://bugzilla.gnome.org/show_bug.cgi?id=757147
2015-12-16 13:07:58 +01:00
..
broadway broadway: Use GdkSeatDefault to Implement GdkSeat 2015-12-15 00:40:21 +01:00
deprecated gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout 2015-04-17 11:16:30 -05:00
mir mir: remove deprecated function call 2015-12-04 11:17:43 -05:00
quartz quartz: Use GdkSeatDefault to implement GdkSeat 2015-12-15 00:40:21 +01:00
wayland wayland: Improve creation of windowing surface roles 2015-12-15 00:40:21 +01:00
win32 win32: Use GdkSeatDefault to implement GdkSeat 2015-12-15 00:40:22 +01:00
x11 x11: Use GdkSeatDefault to implement GdkSeat 2015-12-15 00:32:55 +01:00
COPYING
fallback-c89.c
gdk-autocleanup.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
gdk-private.c gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdk-private.h gdk: Make debug-updates a per-display setting 2014-11-10 15:23:14 -05:00
gdk.c Control legacy GL context via environment variable 2015-10-07 16:21:57 +01:00
gdk.h gdk: Add GdkSeat 2015-12-15 00:16:15 +01:00
gdkapplaunchcontext.c
gdkapplaunchcontext.h
gdkapplaunchcontextprivate.h
gdkcairo.c gdkcairo: Bail if surface is in error 2015-02-25 01:55:28 +01:00
gdkcairo.h gdk: Add support for OpenGL 2014-10-13 10:43:31 -04:00
gdkconfig.h.win32
gdkconfig.h.win32_broadway
gdkcursor.c docs: Show less ugly X cursors 2015-05-08 14:21:11 -04:00
gdkcursor.h Update docs 2015-05-08 13:34:25 -04:00
gdkcursorprivate.h
gdkdeprecated.c
gdkdevice.c gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdevice.h gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdevicemanager.c gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdevicemanager.h gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdevicemanagerprivate.h
gdkdeviceprivate.h GdkDevice: Add GdkSeat property and getter 2015-12-15 00:16:15 +01:00
gdkdisplay.c gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdisplay.h gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
gdkdisplaymanager.c Avoid an extra type check in gdk_screen_get_default 2015-09-07 03:18:04 -04:00
gdkdisplaymanager.h
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h GdkDisplay: Add GdkSeat getters 2015-12-15 00:16:15 +01:00
gdkdnd.c gdk: Add gdk_drag_drop_done 2015-12-13 10:39:43 -05:00
gdkdnd.h gdk: Add gdk_drag_drop_done 2015-12-13 10:39:43 -05:00
gdkdndprivate.h gdk: Add gdk_drag_drop_done 2015-12-13 10:39:43 -05:00
gdkenumtypes.c.template
gdkenumtypes.h.template Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkevents.c gdkevents: Avoid gdk_device_manager_get_client_pointer() 2015-12-15 23:24:59 +01:00
gdkevents.h GdkEvent: Add GdkSeat getter and internal setter 2015-12-15 00:16:15 +01:00
gdkframeclock.c
gdkframeclock.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkframeclockidle.c
gdkframeclockidle.h GdkFrameClockIdle: Add a missing declaration 2014-09-05 20:44:22 -04:00
gdkframeclockprivate.h
gdkframetimings.c
gdkframetimings.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkgl.c gl: Use older GLSL shaders with legacy contexts 2015-10-07 16:21:57 +01:00
gdkglcontext.c docs: Improve description of gdk_gl_context_is_legacy() 2015-10-07 16:21:57 +01:00
gdkglcontext.h gdk: Allow querying if a GL context is in legacy mode 2015-10-07 16:21:57 +01:00
gdkglcontextprivate.h gl: Store the legacy bit in the GL program data 2015-10-07 16:21:57 +01:00
gdkglobals.c Add GDK_GL env var and GdkGLFlags 2014-11-06 12:24:43 +01:00
gdkinternals.h GdkEvent: Add GdkSeat getter and internal setter 2015-12-15 00:16:15 +01:00
gdkintl.h
gdkkeynames.c
gdkkeys.c Intern all signal names beforehand 2015-09-12 12:50:39 -04:00
gdkkeys.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysprivate.h gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysyms-compat.h
gdkkeysyms-update.pl
gdkkeysyms.h
gdkkeyuni.c Translate GDK_KEY_KP_Decimal according to locale 2015-10-25 13:59:48 -04:00
gdkmain.h Make global GDK libgtk_only functions more private 2014-11-08 00:20:15 -05:00
gdkmarshalers.list
gdkoffscreenwindow.c gdkoffscreenwindow: use embedder to derive surfaces & scale factor 2015-12-03 21:47:29 +00:00
gdkpango.c
gdkpango.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkpixbuf-drawable.c gdk_pixbuf_get_from_window: honor device scale 2015-12-16 13:07:58 +01:00
gdkpixbuf.h
gdkprivate.h
gdkproperty.c Trivial formatting fix 2014-08-30 00:53:21 -04:00
gdkproperty.h
gdkrectangle.c gdk: Add gdk_rectangle_equal() 2015-10-03 22:26:27 -04:00
gdkrectangle.h gdk: Add gdk_rectangle_equal() 2015-10-03 22:26:27 -04:00
gdkrgba.c gdkrgba: Use %g instead of %.17g to print alpha 2015-11-02 20:32:12 +01:00
gdkrgba.h
gdkscreen.c docs: Fix typo in gdk_screen_get_scale_factor() 2015-11-04 11:45:19 +00:00
gdkscreen.h
gdkscreenprivate.h Handle resolution changes in the GDK backend code 2014-07-13 15:35:23 -04:00
gdkseat.c gdk: Add GdkSeat 2015-12-15 00:16:15 +01:00
gdkseat.h gdk: Add GdkSeat 2015-12-15 00:16:15 +01:00
gdkseatdefault.c gdk: Add GdkSeatDefault 2015-12-15 00:16:15 +01:00
gdkseatdefaultprivate.h gdk: Add GdkSeatDefault 2015-12-15 00:16:15 +01:00
gdkseatprivate.h gdk: Add GdkSeat 2015-12-15 00:16:15 +01:00
gdkselection.c
gdkselection.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdktestutils.h
gdkthreads.h
gdktypes.h gdkborder: add GdkBorder to gdktypes.h 2015-12-15 10:13:03 -05:00
gdkversionmacros.h.in gdk: Add version macros for 3.20 2015-10-03 22:24:17 -04:00
gdkvisual.c Small doc improvement 2014-09-07 17:14:37 -04:00
gdkvisual.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkvisualprivate.h
gdkwindow.c GdkWindow: Listen to ::seat-removed in order to remove pointer info 2015-12-15 23:22:00 +01:00
gdkwindow.h gdkwindow: move GdkWindowTypeHint to gdktypes.h 2015-12-15 10:13:03 -05:00
gdkwindowimpl.c gdkwindow: Provide a default implementation of process_updates_recurse 2014-06-22 10:20:50 -04:00
gdkwindowimpl.h gdk: Allow passing the start coordinates in drag_begin 2015-12-13 10:39:43 -05:00
gdkx.h
gen-keyname-table.pl
keyname-table.h
keynames-translate.txt
keynames.txt
Makefile.am gdk: Add GdkSeatDefault 2015-12-15 00:16:15 +01:00
makefile.msc