Christian Hergert
613f7609c2
build: fix meson.build when quartz is used
...
We need access to the variable earlier in the file when the quartz
backend is being setup.
2018-05-04 17:46:08 -07:00
Piotr Drąg
0f0be1ee8e
Update Polish translation
2018-05-04 21:48:33 +02:00
Matthias Clasen
db095f8cdb
Update NEWS
2018-05-04 15:37:48 -04:00
Matthias Clasen
4a72cab818
Document gdk_drop_read_async
2018-05-03 22:04:28 -04:00
Matthias Clasen
e191015aa0
The legacy event controller is still private
2018-05-03 20:45:36 -04:00
Matthias Clasen
45db4a5550
Merge branch 'wip/xdg-shell' into 'master'
...
xdg shell (stable)
See merge request GNOME/gtk!35
2018-05-04 00:43:01 +00:00
Matthias Clasen
0069de7e75
Merge branch 'altBackspaceEmacs' into 'master'
...
Add binding for <alt>BackSpace to emacs keys
See merge request GNOME/gtk!96
2018-05-04 00:39:39 +00:00
Matthias Clasen
be2853e5de
emoji chooser: Match search terms better
...
Use g_str_match_string for better results.
2018-05-03 20:36:19 -04:00
Emin Tufan Çetin
0ab4bc80ad
Update Turkish translation
2018-05-03 07:04:43 +00:00
Benjamin Otte
35e74a1501
win32: Fix build
2018-05-03 01:56:44 +02:00
Benjamin Otte
eb9105acea
dnd: Add a private struct
...
And put member veriables into it.
Also fix backends to use accessors instead of direct access.
2018-05-03 01:31:40 +02:00
Benjamin Otte
8366ef71c0
dnd: Remove gdk_drop_reply()
...
It was only necessary for Motif DND, and we don't support that anymore.
2018-05-03 01:31:40 +02:00
Benjamin Otte
fb53568c04
gdk: Remove gdk_drag_grop_succeeded()
...
It's unused and most backends don't implement it.
2018-05-03 01:31:39 +02:00
Timm Bäder
622a150bb4
snapshot: merge container nodes
...
A container node inside another container node doesn't make a lot of
sense, we can instead just use the parent container node and add the
child container node's children to it directly.
2018-05-02 19:48:34 +02:00
Timm Bäder
2815054820
recorder: Fix cairo node display
...
We can only upload image surfaces as a texture but cairo nodes use
recording surfaces now.
2018-05-02 19:48:34 +02:00
Timm Bäder
31e0aaf6b0
gl renderer: Remove ops debug message
...
Without a node name, this doesn't make much sense anymore.
2018-05-02 19:48:34 +02:00
Matthias Clasen
ee82d73d7a
Merge branch 'wip/lantw/gtk4-use-dev-evdev-input-h-on-freebsd' into 'master'
...
wayland: Use dev/evdev/input.h on FreeBSD (GTK4)
See merge request GNOME/gtk!133
2018-05-02 10:55:38 +00:00
Matthias Clasen
0f4084946a
Add missing types to gtk docs
2018-05-01 23:26:28 -04:00
Matthias Clasen
1185b0b447
Add missing types to gdk docs
2018-05-01 23:22:13 -04:00
Ting-Wei Lan
7fed0b74ed
wayland: Use dev/evdev/input.h on FreeBSD
...
The header linux/input.h used by GDK is specific to Linux. It is
possible to get a few Linux headers on FreeBSD by installing v4l_compat,
but it is usually better to use the one shipped with FreeBSD.
We prefer dev/evdev/input.h to linux/input.h here, so it will always use
dev/evdev/input.h on FreeBSD regardless of v4l_compat.
https://svnweb.freebsd.org/changeset/ports/465644
2018-05-01 22:28:57 +08:00
Timm Bäder
d506799e72
gl renderer: Ignore nodes outside of the clip
...
Pretty sure this will bite me later but for now we avoid rendering nodes
that we are not going to see anyway.
2018-05-01 15:13:11 +02:00
Timm Bäder
3a5a9d9233
gl renderer: Use simple offset for selected offset node children
2018-05-01 15:13:11 +02:00
Timm Bäder
e0205eb27c
widget: add shortcut to gtk_widget_set_child_visible
...
So we don't do unnecessary work when just setting priv->child_visible to
the same value again.
2018-05-01 15:13:11 +02:00
Timm Bäder
a54e5844b6
widget: Don't mention gtk_widget_snapshot() in the docs
...
It's not public so people can't know about it.
2018-05-01 15:13:11 +02:00
Matthias Clasen
1dcb76bc26
Merge branch 'wip/carlosg/controller' into 'master'
...
carlosg/controller
See merge request GNOME/gtk!131
2018-05-01 12:35:53 +00:00
Jonas Ådahl
5f19421bc9
wayland: Various whitespace cleanups
...
Broke up a long line, added an empty one, indented another one, and re-aligned
a large amount of function parameter names that got misaligned in some past
refactoring.
https://bugzilla.gnome.org/show_bug.cgi?id=791939
2018-05-01 13:39:42 +02:00
Jonas Ådahl
a40923b03a
wayland: Add support for xdg-shell stable
...
This commit adds support the stable version of the xdg-shell protocol.
Support for the last version of the unstable series is left intact, but
will not receive new features.
The stable version is prioritized above the older version.
https://bugzilla.gnome.org/show_bug.cgi?id=791939
2018-05-01 13:36:38 +02:00
Rico Tzschichholz
2cf55c1686
Fix some g-i annotation warnings
2018-05-01 12:35:32 +02:00
Matthias Clasen
422262436b
Fix the modelbutton demo _again_
...
It lost the action-target properties again.
2018-04-30 20:49:34 -04:00
Emmanuele Bassi
97e43715fb
Merge branch 'docs' into 'master'
...
gitlabci: Add gtk-doc to the container image.
See merge request GNOME/gtk!130
2018-04-30 16:21:21 +00:00
Jordan Petridis
50985d922a
gitlabci: Add gtk-doc to the container image.
2018-04-30 19:04:38 +03:00
Benjamin Otte
995b29d8db
Merge branch 'lrn/meson-intl' into 'master'
...
Link libgtk to libintl
See merge request GNOME/gtk!113
2018-04-30 12:25:43 +00:00
Benjamin Otte
5166767e8b
Merge branch '169-gtktextview-accesses-already-disposed-object' into 'master'
...
Resolve "GtkTextView accesses already disposed object"
Closes #169
See merge request GNOME/gtk!109
2018-04-30 11:56:36 +00:00
Mario Blättermann
bf6aafe460
Update German translation
2018-04-30 10:42:41 +00:00
Benjamin Otte
bcb3a32686
Merge branch 'window-activate-grab-4-2.4' into 'master'
...
gdk: do not deactivate surface on keyboard grab
Closes #85
See merge request GNOME/gtk!120
2018-04-30 09:48:25 +00:00
Samuel Thibault
01455399e8
gdk: do not deactivate surface on keyboard grabs
...
When pressing e.g. a window manager shortcut, which acquires keyboard grab,
Xorg would send FocusOut NotifyGrab then FocusIn NotifyUngrab. Currently
gdk would then deactivate the current surface, which makes accessibility
screen readers think that we have switched to a non-accessible application
and came back again, and thus reannounce the application frame etc. which we
don't want when e.g. just raising volume.
And actually, receiving FocusOut NotifyGrab does not mean losing the
X focus, it only means an application aqcuired a grab, i.e. it is
temporarily stealing keyboard events. On Wayland, this isn't even
notified actually.
This commit makes gdk only deactivate surfaces when there was an actual
focus switch to another window, as determined by has_focus_window (instead
of just has_focus), which happens either normally through FocusOut with
NotifyNormal, or during grabs through FocusOut with NotifyWhileGrabbed.
Fixes #85
2018-04-30 10:57:53 +02:00
Matthias Clasen
3684b72121
Misc documentation fixes
...
Close some gaps in gdk docs.
2018-04-28 22:34:14 -04:00
Matthias Clasen
059a181f7d
Document GdkMemoryTexture
2018-04-28 16:22:29 -04:00
Matthias Clasen
a0f591297a
More doc build fixes
...
If only the errors would make it back to stderr.
2018-04-28 16:02:34 -04:00
Matthias Clasen
b20e68cc91
More doc build fixes
2018-04-28 15:07:35 -04:00
Matthias Clasen
6b7be6643a
Add offset nodes to the docs
2018-04-28 15:07:35 -04:00
Matthias Clasen
5e2103f7f0
Fix the gdk doc build
...
GdkDrawingContext no longer exists.
2018-04-28 15:07:35 -04:00
Fabio Tomat
8fecee4e41
Update Friulian translation
2018-04-28 09:19:30 +00:00
Benjamin Otte
4aaeb7de19
dnd: Make GdkDragContext::device a (construct-only) property
...
Also remove gdk_drag_context_set_device() and insist on backends using
the property.
2018-04-27 14:32:28 +02:00
Benjamin Otte
a86359af2b
wayland: Create drop contexts on demand
...
Instead of creating and reusing the same one from start to finish.
2018-04-27 14:32:28 +02:00
Benjamin Otte
56cc470663
dragsource: Use capture phase for gesture
...
Otherwise buttons don't work as drag sources, and we like to do that.
2018-04-27 14:32:28 +02:00
Benjamin Otte
aca20dbb78
gtk-demo: Always have at least 1 icon in the fishbowl
...
When changing the widget type, don't start out with 0 icons.
2018-04-27 14:32:28 +02:00
Kristjan SCHMIDT
3a4238e199
Update Esperanto translation
2018-04-26 23:24:32 +00:00
Руслан Ижбулатов
76855e8999
imcontextsimple: ensure W32 code only runs on W32 displays
...
gdk_win32_keymap_check_compose() shouldn't be called for
non-W32 displays (i.e. when using broadway or other backends
that could be made to run on Windows).
2018-04-26 17:50:55 +00:00
Carlos Garnacho
3675f9ccb2
gesturestylus: Port to new API model
2018-04-26 17:59:42 +02:00