- 21 Dec, 2010 7 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
This is really not a cross-platform API
-
Javier Jardón authored
Use accessors instead.
-
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
Use the grab and ungrab vfuncs from the frontend instead of the _gdk_windowing wrappers, and move some things around accordingly. Again, only the X11 backend has been updated, other backends need to be updated to match.
-
Matthias Clasen authored
-
- 15 Dec, 2010 1 commit
-
-
Carlos Garnacho authored
This function may be used to know the hardware device that triggered an event, it could resort to the master device in the few cases there's not a direct hardware device to relate to the event (i.e.: crossing events due to grabs)
-
- 15 Oct, 2010 1 commit
-
-
Matthias Clasen authored
Try to do inclusions in the same sequence, more or less.
-
- 26 Sep, 2010 1 commit
-
-
Benjamin Otte authored
-
- 21 Sep, 2010 1 commit
-
-
Owen W. Taylor authored
Currently fprintf(stderr, ...) is used for X error and X IO errors (unless compiled with debugging, in which case g_error() is used for X errors.) But if an application is redirecting log messages, we really want X errors to appear in that same log, so it's better to use a g_logv() variant. Though g_warning() isn't really appropriate for "lost connection to the server", G_LOG_LEVEL_INFO isn't part of the "prefixed log levels" so will produce output without the application name and PID. https://bugzilla.gnome.org/show_bug.cgi?id=630216
-
- 19 Sep, 2010 1 commit
-
-
Havoc Pennington authored
* don't lose track of previous X error handler if nested traps are pushed * free any remaining traps when display is finalized Test will fail unless bug 630032 is closed so gdk_display_close() works. https://bugzilla.gnome.org/show_bug.cgi?id=630033
-
- 18 Sep, 2010 3 commits
-
-
Havoc Pennington authored
* add per-display gdk_x11_display_error_trap_push() (X11-specific because gdk_error_trap_push() probably should have been) * make gdk_error_trap_push() handle only GDK displays not displays opened without a GDK wrapper * make gdk_error_trap_pop() and gdk_x11_display_error_trap_pop() automatically sync only if needed, so manual gdk_flush() is not required * add gdk_error_trap_pop_ignored() which just asynchronously ignores errors, so never needs to sync * add G_GNUC_WARN_UNUSED_RESULT to plain pop(), because if you use plain pop() and don't need the return value, the async gdk_error_trap_pop_ignored() should be used instead. This results in lots of warnings to clean up in a later patch. The main objective here was to avoid the need to sync just to ignore an error. Now, syncing is automatic, and only happens when we need to know the error code. https://bugzilla.gnome.org/show_bug.cgi?id=629608
-
Havoc Pennington authored
No need to do a manual free list these days. https://bugzilla.gnome.org/show_bug.cgi?id=629608
-
Havoc Pennington authored
(there are actual docs in the template file, these were some kind of pre-gtk-doc comments without useful info) https://bugzilla.gnome.org/show_bug.cgi?id=629608
-
- 10 Jul, 2010 1 commit
-
-
- 29 Jun, 2010 2 commits
-
-
-
Benjamin Otte authored
Only changes in headers: GdkRegion and GdkRectangle are typedeffed to cairo_region_t and cairo_rectangle_int_t respectively. The region type was opaque anyway so it doesn't matter and the rectangle types are identical. https://bugzilla.gnome.org/show_bug.cgi?id=613284
-
- 26 May, 2010 1 commit
-
-
Javier Jardón authored
-
- 25 May, 2010 1 commit
-
-
Matthias Clasen authored
-
- 08 Jun, 2009 1 commit
-
-
Alexander Larsson authored
-
- 01 Jun, 2009 2 commits
-
-
Alexander Larsson authored
Seems like i forgot a bunch of things.
-
Alexander Larsson authored
This also removes the (unimplemented) possibility to change a window to non-native. This seems generally not very useful, and there are some problems with it, for instance if two "users" need a window to be native and then one of the "users" doesn't need it anymore it can't change it back, because it is unaware of the other reason the window is native.
-
- 29 May, 2009 1 commit
-
-
Alexander Larsson authored
-
- 02 Apr, 2009 12 commits
-
-
Alexander Larsson authored
-
Alexander Larsson authored
-
Alexander Larsson authored
We try to track the exact grab state, i.e. whats valid on the client now and whats comming soon via the xserver roundtrip (and when).
-
Alexander Larsson authored
-
Alexander Larsson authored
-
Alexander Larsson authored
After a successful grab/ungrab we wait for an xserver roundtrip until we change the tracked grab in GdkDisplay. This way that data is always up-to-date wrt events comming in.
-
Alexander Larsson authored
-
Alexander Larsson authored
This is the first stage in tracking keyboard grabs in the common code. This lets us handle destroying or unmapping virtual window with a keyboard grab.
-
Alexander Larsson authored
Don't sent native MotionHint masks on pointer grabs as then we won't get enought motion events reported.
-
Alexander Larsson authored
-
Alexander Larsson authored
Grab pointer on toplevel window, not on nearest native, so that we always get all events on toplevel
-
Alexander Larsson authored
The history before this was kind of twisted as several different approaches were tested, so that was all squashed into this initial commit to hide the uninteresting changes and files that were later removed.
-
- 22 Jun, 2008 1 commit
-
-
Johan Dahlin authored
2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
-
- 14 Jan, 2008 1 commit
-
-
Michael Natterer authored
2008-01-14 Michael Natterer <mitch@imendio.com> * gdk/gdk.h * gdk/gdkcairo.h * gdk/gdkcolor.h * gdk/gdkgc.h * gdk/gdkinternals.h * gdk/gdkregion.h * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor* parameters const. * gdk/gdkcairo.c * gdk/gdkgc.c * gdk/gdkwindow.c * gdk/gdkrectangle.c * gdk/gdkpolyreg-generic.c * gdk/gdkregion-generic.c * gdk/directfb/gdkcolor-directfb.c * gdk/directfb/gdkgc-directfb.c * gdk/directfb/gdkgeometry-directfb.c * gdk/directfb/gdkwindow-directfb.c * gdk/quartz/gdkcolor-quartz.c * gdk/quartz/gdkgc-quartz.c * gdk/quartz/gdkgeometry-quartz.c * gdk/quartz/gdkwindow-quartz.c * gdk/win32/gdkcolor-win32.c * gdk/win32/gdkgc-win32.c * gdk/win32/gdkgeometry-win32.c * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkwindow-win32.c * gdk/x11/gdkcolor-x11.c * gdk/x11/gdkgc-x11.c * gdk/x11/gdkgeometry-x11.c * gdk/x11/gdkmain-x11.c * gdk/x11/gdkprivate-x11.h * gdk/x11/gdkwindow-x11.c: changed accordingly. * gdk/gdkpolyreg-generic.c: uncruftify to have proper function headers. svn path=/trunk/; revision=19365
-
- 16 Feb, 2007 1 commit
-
-
Matthias Clasen authored
2007-02-15 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more careful when checking for ButtonRelease events that end implicit grabs. (#386618, Christof Krüger) svn path=/trunk/; revision=17304
-
- 04 Jan, 2007 1 commit
-
-
Matthias Clasen authored
2007-01-03 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/x11/*.c: Apply a patch by Chris Wilson to avoid spurious valgrind warnings from XSendEvent() calls. (#392532) svn path=/trunk/; revision=17044
-