Carlos Garnacho
71c4138933
monitor-manager: Add method to find an output matrix
...
This will be useful to determine input device matrices for touchscreens
and tablets.
https://bugzilla.gnome.org/show_bug.cgi?id=739397
2015-01-18 13:32:28 -08:00
Carlos Garnacho
9d73b4efbb
wayland: Use the new keyboard settings location for repeat settings
...
This makes keyboard repeat in clients in-sync with the input config changes.
https://bugzilla.gnome.org/show_bug.cgi?id=739397
2015-01-18 13:32:28 -08:00
Carlos Garnacho
049f67df0a
native: Remove previous listener for keyboard settings
...
The settings-daemon peripherals schemas are going away, and this is
now handled through MetaInputSettings.
https://bugzilla.gnome.org/show_bug.cgi?id=739397
2015-01-18 13:32:28 -08:00
Carlos Garnacho
2d878d3f55
backends/native: Add libinput-based MetaInputSettings implementation
...
The libinput_device is fetched from the ClutterInputDevice, and configured
through the libinput_device_*config* API.
https://bugzilla.gnome.org/show_bug.cgi?id=739397
2015-01-18 13:32:28 -08:00
Carlos Garnacho
3c06f2dc90
backends/x11: Implement X11-specific MetaInputSettings
...
This goes through modifying XI2 device properties, either common ones (eg.
set on every device) or those specific to the libinput X11 driver. Keyboard
repeat/rate are set through core and XKB APIs.
https://bugzilla.gnome.org/show_bug.cgi?id=739397
2015-01-18 13:32:28 -08:00
Carlos Garnacho
460e1fd7ca
backends: Add MetaInputSettings
...
This object internally keeps track of the relevant input configuration,
and goes through its vmethods in order to apply the configuration on the
backend-specific devices.
So far, only mouse/touchpad settings are actually attached to GSettings
changes. ::set_matrix(), meant for tablets/touchscreens, is not hooked
yet.
One caveat is that meta_input_settings_create() may return NULL if the
backend does not own the windowing system (wayland nested on X11 being
the one case), and thus device settings can't be changed freely.
https://bugzilla.gnome.org/show_bug.cgi?id=739397
2015-01-18 13:32:28 -08:00
Jasper St. Pierre
f083935c6e
barrier: Fix type cast macros
2015-01-18 13:32:28 -08:00
Jasper St. Pierre
5c66bee84b
display: Remove ungrab_should_not_cause_focus_window
...
It's been unused ever since we removed tabpopup.c
2015-01-17 17:55:36 -08:00
Jasper St. Pierre
ef32bbdc99
x11/barrier: Fix build
...
We were missing the get_type() function.
2015-01-17 17:42:48 -08:00
Jonas Ådahl
5f91a62f6f
barriers: Separate implementation from public API
...
This patch removes the X11 specific code from MetaBarrier and creates an
abstraction layer MetaBarrierImpl. The existing X11 implementation is
moved to a new GObject MetaBarrierImplX11 implementing the abstract
interface MetaBarrierImpl which is instantiated by MetaBarrier when
supported.
While at it, move it to backends/ and properly name the files.
https://bugzilla.gnome.org/show_bug.cgi?id=706655
2015-01-17 17:22:57 -08:00
Jonas Ådahl
152b2dab59
barrier: Make X related hook more clearly named
...
https://bugzilla.gnome.org/show_bug.cgi?id=706655
2015-01-17 17:22:56 -08:00
Inaki Larranaga Murgoitio
2fd5173ea4
Updated Basque language
2015-01-17 17:09:25 +01:00
Peter Hutterer
ede13b11d7
evdev: use libinput's new merged scroll events
...
libinput's API changed from separate scroll events for vert/horiz scrolling to
a single event that contains both axes if they changed.
Updated by Armin K. to use the discrete axis value for wheel events as done
in Weston.
https://bugzilla.gnome.org/show_bug.cgi?id=742829
2015-01-16 14:45:47 +00:00
Carlos Garnacho
625d3de2ee
backends: Make KMS EDID information equal to X11's
...
EDID parsing has been refactored to a common meta_output_parse_edid()
function, which ensures the extracted information is the same on both KMS
and X11 backend, so it can be used consistently on eg. settings values.
https://bugzilla.gnome.org/show_bug.cgi?id=742882
2015-01-14 12:16:18 +01:00
Florian Müllner
f71315eb1e
frames: Fix window-type/frame-type mix-up
...
Commit 7e66d2a484e4b2 killed off META_CORE_GET_FRAME_TYPE, but got
the replacement wrong - MetaWindowType is an enum like MetaFrameType,
but the two are not interchangeable.
https://bugzilla.gnome.org/show_bug.cgi?id=742841
2015-01-13 18:14:26 +01:00
Rui Matos
0484ef142d
MetaWindow: Change icon properties to be of pointer type
...
Follow up to commit af7f51b992b20da543312fa9fdf1dcef39704b37 .
https://bugzilla.gnome.org/show_bug.cgi?id=742824
2015-01-13 16:01:13 +01:00
Rui Matos
6609d9c6a4
iconcache: Fix icon data copy into cairo surface
...
The stride is in bytes but we're copying ints.
https://bugzilla.gnome.org/show_bug.cgi?id=742825
2015-01-13 16:01:13 +01:00
Emmanuele Bassi
7eb1a3d35f
Deprecate unused enumeration types
...
Some enumerations types are only used by deprecated API, so it's better
to deprecate them as well.
2015-01-13 00:46:47 +00:00
Fran Dieguez
73c4342580
Updated Galician translations
2015-01-13 00:24:16 +01:00
Emmanuele Bassi
8859ed44e1
gdk: Support GdkWayland
...
We need to set up the Wayland display when using GDK and Wayland's
client-side API.
2015-01-12 17:48:04 +00:00
Emmanuele Bassi
00efa5371d
gdk: Compare integer values
...
Stage sizes are always pixel aligned, so we can do a proper
integer comparison.
2015-01-12 15:05:02 +00:00
Emmanuele Bassi
2aac32694c
gdk: Implement get_scale_factor()
...
Otherwise scaling will not work correctly.
2015-01-12 15:04:27 +00:00
Emmanuele Bassi
87c553e94f
docs: Deprecate ClutterTextureFlags
...
It's pointless, now that ClutterTexture has been deprecated.
2015-01-12 13:42:59 +00:00
Emmanuele Bassi
e77adac16a
docs: Remove a couple of FIXMEs
...
Document the ClutterKeyframeTransition instance and class structures.
2015-01-12 13:42:33 +00:00
Emmanuele Bassi
4e04d2a532
examples/rounded: Use CLUTTER_REQUEST_CONTENT_SIZE
...
Show how to use the request mode to have an actor ask for the size of
its content.
2015-01-12 13:38:07 +00:00
Daniel Mustieles
0d5c24f13d
Updated Spanish translation
2015-01-12 12:21:55 +01:00
Daniel Mustieles
c55b8fdaf8
Updated Spanish translation
2015-01-12 12:14:52 +01:00
Emmanuele Bassi
d56da0ace9
examples/layout-manager: Toggle between states
...
Instead of using two specific keys, toggle between the circular and grid
layouts using a single key.
2015-01-11 17:00:02 +00:00
Emmanuele Bassi
60dbeb9425
Try again at using the GDK backend by default
...
We tried once with commit 398a7ac7 and ended up reverting because of
regressions in the input layer and on Wayland.
We should try again, now that those regressions have been fixed.
https://bugzilla.gnome.org/show_bug.cgi?id=734587
2015-01-11 16:48:47 +00:00
Balázs Úr
7b9068b976
Updated Hungarian translation
2015-01-10 10:51:10 +00:00
Marek Chalupa
b6d070b06f
wayland: Seal SHM buffers before access
...
If wayland client lies about size of given buffer, compositor could touch bad
memory and get SIGBUS. Wayland provides simple API to fix it - so fix it!
[1] http://cgit.freedesktop.org/wayland/wayland/tree/src/wayland-server.h#n416
[2] http://lists.freedesktop.org/archives/wayland-devel/2013-November/012159.html
Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=727893
2015-01-09 16:39:37 -08:00
Jasper St. Pierre
87eb5f8632
frames: Simplify our frame title management
...
This fixes a number of crashers when they try to change their dialog
layout at runtime because we're too tricksy with the frame title.
2015-01-09 16:35:30 -08:00
Jasper St. Pierre
5c60ea6635
keybindings: Consistently use slice allocation for MetaKeyBinding
2015-01-09 14:15:17 -08:00
Jasper St. Pierre
9abcf424b8
prefs: Remove per_window flag from MetaKeyPref
...
It's unused.
2015-01-09 14:15:17 -08:00
Jasper St. Pierre
cc7af83f8a
prefs: Correct the MetaPreference value for workspace names
2015-01-09 14:15:17 -08:00
Carlos Garnacho
f5f523c63a
evdev: Set vendor/product IDs on input devices
...
This is fetched right away from libinput API.
https://bugzilla.gnome.org/show_bug.cgi?id=740759
2015-01-09 17:01:22 +01:00
Carlos Garnacho
c0d5d58e8b
x11: Set vendor/product IDs on input devices
...
This is fetched from XInput device properties
https://bugzilla.gnome.org/show_bug.cgi?id=740759
2015-01-09 17:01:22 +01:00
Carlos Garnacho
78fdefcf0c
input-device: Add vendor/product ID properties and getters
...
This may be useful when trying to identify the device across sessions.
https://bugzilla.gnome.org/show_bug.cgi?id=740759
2015-01-09 17:01:22 +01:00
Jonas Danielsson
9660b001f7
device-manager-xi2: Fix scaling of coordinates
...
Do not CLAMP to width/height before applying the scale factor
we will lose all information we need to scale properly.
https://bugzilla.gnome.org/show_bug.cgi?id=730815
2015-01-09 06:38:24 -05:00
Rafael Ferreira
ae91a174e9
Updated Brazilian Portuguese translation
2015-01-09 01:55:33 +00:00
Jasper St. Pierre
9c73e21113
xrandr: Remove mode fudge code for HSkew
...
This was part of a downstream patch that Endless has where we hid some
secret parameters inside the HSkew field. It wasn't meant as upstream
logic.
2015-01-08 15:04:50 -08:00
Jasper St. Pierre
a1d8110221
keybindings: Merge rebuild_binding_index into reload_combos
...
The two are always called at the same time.
2015-01-08 14:36:47 -08:00
Jasper St. Pierre
9d6357f05a
keybindings: Rename MetaKeyDevirtCombo to MetaResolvedKeyCombo
...
rtcm thought this was less awkward of a name.
2015-01-08 14:36:47 -08:00
Inaki Larranaga Murgoitio
1fc58faff9
Updated Basque language
2015-01-08 18:48:23 +01:00
Adel Gadllah
fea7ac84ee
ui: Disable gdk's gl support
...
This fixes a deadlock on wayland.
2015-01-08 11:15:51 +01:00
Marek Černocký
20bee6f48e
Updated Czech translation
2015-01-07 09:09:19 +01:00
Marek Černocký
fb5c0c3352
Updated Czech translation
2015-01-07 09:08:23 +01:00
Jasper St. Pierre
5bc2bcd109
keybindings: Simplify our keycode/mask pairs with MetaKeyDevirtCombo
2015-01-06 19:24:29 -08:00
Jasper St. Pierre
d12390002a
keybindings: Have meta_change_keygrab take a MetaKeyDevirtCombo
2015-01-06 19:13:03 -08:00
Jasper St. Pierre
13acf9e35d
keybindings: Have meta_accelerator_parse take a MetaKeyCombo
2015-01-06 19:11:57 -08:00