| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=681446
|
|
|
|
|
|
| |
The removal of the Motif DND code accidentally changed the
value of the TARGET_DELETE enumeration value, breaking DND
pretty badly.
|
|
|
|
|
|
|
| |
The implementation is not working and unused, since XDND is the
de-facto standard under X nowadays.
https://bugzilla.gnome.org/show_bug.cgi?id=695476
|
|
|
|
|
|
|
|
| |
Mutter magically ignores override-redirect windows with geometry
-100-100+1+1, and this breaks the frame synchronization between
gtk+ and mutter. For now, we avoid the issue by simply giving
the window a different geometry.
https://bugzilla.gnome.org/show_bug.cgi?id=694217
|
|
|
|
|
|
|
| |
We are using XI2 to grab the key events, but we did not do the
necessary extra work to make GDK deliver root window events to us.
https://bugzilla.gnome.org/show_bug.cgi?id=681006
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
A modifier of "0" is still a modifier and must be submitted normally.
A num_modifiers of 0 is essentially a noop in the server.
As mentioned by Peter Hutterer <peter.hutterer@who-t.net>
https://bugzilla.gnome.org/show_bug.cgi?id=662839
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turns out that simply using XIGrabKeycode instead of XGrabKey
makes the DND keyboard support mostly work (there seem to be some
minor issues with modifiers). This means we no longer grab the
keyboard actively during DND, which in turn makes Alt-Tab and
other window manager shortcuts work again during DND.
At the same time, bring the DND key handling code into the
multi-backend work, by checking for X11 and XI2 at runtime,
in addition to compile time.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At http://dev.laptop.org/ticket/10643 we are seeing that drag-and-drop
within the Sugar shell causes all of Sugar's custom keybindings to be
removed.
This is because gtkdnd tries to unbind XK_KP_Space, which (on my systems)
is resolved to NoSymbol by XKeycodeToKeysym(). NoSymbol has value 0,
the same as AnyKey, and XUngrabKey(AnyKey) is equivalent to unbinding
all possible keycodes.
Fix this by catching NoSymbol before binding/unbinding.
https://bugzilla.gnome.org/show_bug.cgi?id=652402
|
|
|
|
|
|
|
| |
This will be useful for me to port gnome-panel to gnome-menus 4, which
uses GAppInfo, which in turn returns icon references as GIcon.
https://bugzilla.gnome.org/show_bug.cgi?id=649295
|
| |
|
|
|
|
|
|
| |
Now that we have wesome macros in glib 2.0, we can use them. Woohoo, GTK
2.0 will be so awesome in the future.
(Did anybody touch dnd code this millenium?)
|
| |
|
|
|
|
|
|
| |
which happened when the source widget was hidden or destroyed while a
drag was going on, like when dragging from a popup that got a grab
broken as result of the dnd operation.
|
| |
|
|
|
|
|
| |
They weren't privatized because the dnd code used them, too. But a
private header can allow the dnd code to be nasty, so go dnd code!
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=639945
|
|
|
|
|
|
|
|
|
|
| |
As these do not start with gtk_widget_*, the GI scanner does not recognize them
as methods. With the recently added (method) annotation [1] it is now possible
to mark them as proper methods of GtkWidget.
https://bugzilla.gnome.org/show_bug.cgi?id=639945
[1] http://git.gnome.org/browse/gobject-introspection/commit/?id=09bca85dd4
|
| |
|
| |
|
|
|
|
|
| |
The API was not display-specific, but belonged to the device. Also, we
didn't find a user of the modifier mask, so we dropped it.
|
|
|
|
| |
With proper rounding, we can go back to a 'small step' of 1.
|
|
|
|
|
|
|
|
|
|
| |
This was claimed to cause problems for Chromium, see bug 599130.
Also work around apparent rounding errors in XIWarpDevice by
setting the 'small step' for keynav dnd to 2 instead of 1 - I notice
that a warp seems to sometimes warp a little less than I tell it to,
and if I tell it to only move by 1 pixel then moving less means
that you are stuck.
|
|
|
|
|
| |
warping devices has nothing to do with displays, so putting it there
seems weird.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit does a number of things:
- remove some dead wchar configury from configure.ac and gdkconfig.h
- repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo
macros for each included backend, include it in gdk.h and install
it in $includedir instead of below $libdir
- drop the backend from the library names
- build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la
It does not yet enable building multiple backends at the same time.
|
| |
|
| |
|
|
|
|
| |
Instead use the accessors.
|
|
|
|
| |
Instead of gtk_widget_render_icon() which is now deprecated.
|
| |
|
|
|
|
|
| |
This was causing memory corruption when removing remote plugs from
sockets.
|
| |
|
|
|
|
|
| |
The code for surfaces with alpha content was apparently untested and
screwed up the signs.
|
| |
|
|
|
|
|
|
| |
Large patch, but just renaming.
Indentation should still mostly be correct because I took care of
keeping the indentation for this function name.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
And of course, gtk_widget_pop_colormap() is gone, too.
No replacement is necessary, the function is basically unused.
|
| |
|