summaryrefslogtreecommitdiff
path: root/gdk/win32
Commit message (Collapse)AuthorAgeFilesLines
* gdk: fix gdk_keyval_to_lower/upper() for Quartz, Win32 and BroadwayMichael Natterer2011-10-071-14/+0
| | | | | | | | | | | | | | | | | In 2.x, the !HAVE_XCONVERTCASE fallback of keyval_convert_case() was implicitly used as implementation for all !X11 backends. In 3.x, when this function was virtualized in GdkDisplayManager, this fallback was moved to the X11 backend and the other backends "equipped" with /* FIXME implement */ implementations of keyval_convert_case() which don't convert anything. Move the fallback code back to gdk/ as default implementation of GdkDisplayManager::keyval_convert_case() and remove its implementations is all backends but X11. Also remove the implementation in Wayland which was a plain copy of what is now the default implementation. (cherry picked from commit f46c1b76d839a03bdc8080bc130fabd1068f2557)
* Install gdk/win32 headersGreg Hellings2011-08-151-0/+10
| | | | | | | Added install commands for the gdk/win32 headers as referenced from gdkwin32.h. https://bugzilla.gnome.org/show_bug.cgi?id=653964
* Use AM_CPPFLAGS instead the obsolete INCLUDESJavier Jardón2011-07-061-1/+1
|
* gdk: Use const instead G_CONST_RETURNJavier Jardón2011-06-101-1/+1
|
* Update Windows Resource template informationChun-wei Fan2011-06-071-1/+1
|
* GdkDevice: Remove duplicate private functionCarlos Garnacho2011-04-081-1/+1
| | | | | | _gdk_device_get_axis_use() dates back to pre-sealing, when the xi2 work began, this remaining can be gone with a public gdk_device_get_axis_use() function already in place.
* Remove support for GDK_NATIVE_WINDOWSAlexander Larsson2011-03-081-1/+0
| | | | | | | | | | GDK_NATIVE_WINDOWS was a way to keep some old apps running that did weird things in gtk2. We should not have to carry this forwards in gtk 3.x. We do however keep a g_warning() call reminding people of this fact to ease debugging when they try to port their applications. https://bugzilla.gnome.org/show_bug.cgi?id=644119
* Minor documentation improvementsMurray Cumming2011-02-231-1/+1
| | | | Mostly correcting it's to its and changing some , to .
* Tweak include order a bit to get around compilation errorsTor Lillqvist2011-02-202-5/+2
| | | | | wintab.h defines an INT() macro that interfers with some lines in commctrl.h.
* Handle emulated keyboard input that arrives as VK_PACKETTor Lillqvist2011-02-201-6/+10
| | | | | Fixes bug #642772. Thanks to the anonymous bug reporter for providing a test program.
* win32: no more GdkNativeWindow and related changesHans Breuer2011-02-0610-124/+48
| | | | | | - replace GdkNativeWindow with HWND, remove type casts - no more GdkDisplayClass::get_drag_protocol but GdkWindowImpl::get_drag_protocol - remove *_client_message*()
* fix win32 build after removal of the colormap debug categoryFridrich Štrba2011-01-211-4/+0
|
* gdk: Remove colormap debug categoryBenjamin Otte2011-01-211-2/+0
| | | | We don't have colormaps anymore.
* Fix win32 buildFridrich Štrba2011-01-112-1/+1
|
* Bug 639127 - Add missing gdkdisplaymanager-win32.cHans Breuer2011-01-101-0/+135
|
* Fix file lists in the win32 backendMatthias Clasen2011-01-051-6/+9
|
* win32: gdk3 resurrectionHans Breuer2011-01-0233-1578/+1815
| | | | | | There are sure regressions but basic stuff seems to be working again after all the API breakage done with comments like "Win32 and Quartz need to be ported still."
* gdk: Create windows via _gdk_display_create_window()Benjamin Otte2010-12-211-2/+3
| | | | | THe use of this function will become visible in the next commits. But wrapping g_object_new() is a generally a good idea anyway.
* gdk: Move gdk_cursor_get_display() out of the backendsBenjamin Otte2010-12-211-6/+0
| | | | Now that we store the display inside the cursor, that change is obvious.
* Add win32 implementation for foreign window functionsMatthias Clasen2010-12-212-5/+9
|
* Drop sm_client_id win32 implementationMatthias Clasen2010-12-211-7/+0
|
* Remove unused get_offsets functions from headersMatthias Clasen2010-12-211-3/+0
|
* Work toward turning GdkDisplayManager into a backend singletonMatthias Clasen2010-12-211-9/+0
| | | | | | | | | | | This commit hides the GdkDisplayManager instance and class structs, adds vfuncs for listing displays, opening displays, and getting and setting the default display. The X11 backend has a derived GdkDisplayManagerX11. The gdk_display_manager_get() function is responsible for deciding on which of the compiled in backends to use. Currently, it consults the GDK_BACKEND environment variable and falls back to x11.
* Add a vfunc to replace _gdk_windowing_window_destroy_foreignMatthias Clasen2010-12-211-8/+9
| | | | All backends updated.
* Add a vfunc for gdk_window_set_compositedMatthias Clasen2010-12-211-5/+0
|
* Add vtables for DNDMatthias Clasen2010-12-211-34/+0
| | | | | | | | | This commit hides GdkDragContext and GdkDragContextClass, adds vfuncs for most drag context functionality, and turns the X11 DND implementation into GdkDragContextX11. We also add vfuncs to GdkDisplay for gdk_drag_get_protocol and to GdkWindow for gdk_drag_begin, and implemenet them for X11. Other backends need similar treatment and are broken now.
* Make GdkAppLaunchContext display-dependentMatthias Clasen2010-12-212-43/+0
| | | | | | | | | Add a GdkDisplay::get_app_launch_context vfunc, and a gdk_display_get_app_launch_context that for X11 returns a subclass. For win32 and quartz, the implementations were trivial, so we just return a new GdkAppLaunchContext without subclassing. Since the type of the context now depends on the display, gdk_app_launch_context_set_display is deprecated.
* Move gdk_window_lookup to common codeMatthias Clasen2010-12-211-7/+1
|
* Move gdk_add_client_message_filter to common codeMatthias Clasen2010-12-211-9/+0
|
* Move gdk_get_display to common codeMatthias Clasen2010-12-211-6/+0
|
* gdk: Remove depth argument from GdkWindowImpl->get_geometry()Benjamin Otte2010-12-061-4/+1
|
* gdk: Replace direct calls of _gdk_event_func with _gdk_event_emit()Benjamin Otte2010-12-021-48/+44
| | | | For now that function just calls the event func.
* gdk: Move window beeps into GdkWindowImplBenjamin Otte2010-12-021-6/+0
| | | | | | | | One less magic function. Also refactored it to make it easier to implement. It now returns TRUE if it beeped and FALSE if it failed to do so. A default implementation exists that just returns FALSE for all the backends that can't beep windows (read: everything but X11 with XKB - and why on earth do keyboard libs implement beeping?)
* gdk: Make get_shape and get_input_shape vfuncsBenjamin Otte2010-12-021-4/+6
| | | | | | Trying to get rid of all the _gdk_windowing_something() functions that we expect backends to magically know about and instead put them in a proper interface (mostly GdkWindowImplClass).
* API: Remove GdkNoExposeEventBenjamin Otte2010-12-021-1/+0
| | | | It's not used by anyone and not supported by any backend but X11.
* gdk: Pass the GdkWindow to resize_cairo_surface vfuncBenjamin Otte2010-12-021-1/+1
| | | | So it's in sync with all the other vfuncs.
* gdk: Remove _gdk_window_impl_get_type() functionBenjamin Otte2010-12-021-9/+3
| | | | | It was only used in the backends, and they can use the correct type directly.
* gdk: Pass Drawable as argumentBenjamin Otte2010-12-021-1/+1
| | | | We're not passing a GdKWindow here, but the implementation.
* win32: Remove some unused definesBenjamin Otte2010-12-021-12/+0
|
* Fix compilation breakage in gdk/win32Tor Lillqvist2010-11-242-3/+3
|
* Make gdk_event_apply_filters safe against changes in filter listWilliam Jon McCann2010-11-221-6/+27
| | | | | | | | | | | | | An event filter may add or remove filters itself. This patch does two things to address this case. The first is to take a temporary reference to the filter while it is being used. The second is to wait until after the filter function is run before determining the next node in the list to process. This guards against changes to the next node. It also does not run functions that have been marked as removed. Though I'm not sure if this case can arise. https://bugzilla.gnome.org/show_bug.cgi?id=635380
* gdk: Add XSetting for "gtk-cursor-blink-timeout"Bastien Nocera2010-11-121-0/+1
| | | | | | Otherwise the blink timeout is the one used by default in GTK+. https://bugzilla.gnome.org/show_bug.cgi?id=634697
* Avoid a compiler warningTor Lillqvist2010-11-061-1/+1
|
* Drop unused static functionTor Lillqvist2010-11-061-8/+0
|
* gdk: change signature of gdk_device_get_history() back to what it used to beMichael Natterer2010-10-192-4/+4
| | | | "n_events" went back from guint to gint.
* Make it compile again for WindowsTor Lillqvist2010-10-073-161/+12
|
* Make set_cairo_surface_size a vfunc on GdkWindowImplKristian Rietveld2010-10-052-9/+13
| | | | | Note the special implementation of this method on GdkOffscreenWindow that makes sure its current surface is not destroyed.
* win32: Get rid of gdk_drawable_get_size() usageBenjamin Otte2010-09-261-6/+3
|
* API: Remove GdkColormapBenjamin Otte2010-09-264-1126/+0
|
* API: Remove colormap handling from GdkScreenBenjamin Otte2010-09-263-82/+0
| | | | | | | | In particular, the following functions are gone: - gdk_screen_get_default_colormap() - gdk_screen_set_default_colormap() - gdk_screen_get_system_colormap() - gdk_screen_get_rgba_colormap()