- 21 Dec, 2010 40 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
The function is badly named, not multihead-safe, basically unused, and has a better replacement with gdk_x11_screen_lookup_visual.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
The X11 backend exports a number of symbols which are _-prefixed (so don't become part of the gdk api), but are not named in a way to prevent accidental clashes between backends. The one API change here is that the gdk_xid_table functions have been removed - they did not server an purpose, since the xid table only stores windows anyway, and we already have a lookup-by-xid function for windows.
-
Benjamin Otte authored
-
Matthias Clasen authored
Reduces the changes of cross-backend collisions
-
Matthias Clasen authored
These functions were trivial g_spawn wrappers in all backends except for X11, and they can be easily replaced by g_app_info_create_for_commandline + GdkAppLaunchContext.
-
Matthias Clasen authored
Replace the sole use of gdk_spawn in GTK+ by GAppInfo.
-
Matthias Clasen authored
Just use the default display for copy/free of event data. Maybe the vfuncs should be moved to GdkDisplayManager.
-
Matthias Clasen authored
We didn't set the display, ever. Add a construct-only property for this purpose.
-
Matthias Clasen authored
-
Matthias Clasen authored
At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and add some exemplaric ifdefs to GTK+ code.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
Commandline arguments should go away altogether, but this one goes first, since we then don't need to worry about _gdk_windowing_substitute_screen_number anymore.
-
Matthias Clasen authored
At the same time, add a display api for this, since it really is per-display.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
The !trusted workaround code is pushed down into the GdkDevice subclasses, and we use the device vfuncs directly in gdkdisplay.c
-
Matthias Clasen authored
-
Matthias Clasen authored
There were already GdkDevice vfuncs for this.
-
Matthias Clasen authored
This is really not a cross-platform API
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Javier Jardon authored
Use accessors instead.
-
Matthias Clasen authored
At the same time, move some more class and instance structs out of public headers.
-
Matthias Clasen authored
Once its hidden, we can kill the GdkDevicePrivate struct too.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
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.
-
Matthias Clasen authored
Dropping those will be an unnecessary pain.
-
Matthias Clasen authored
All backends updated.
-
Matthias Clasen authored
-
Matthias Clasen authored
-