23077 Commits

Author SHA1 Message Date
Rui Matos
c37c741592 meta-background-actor: Fix compilation error 2012-11-05 19:44:03 +01:00
Rui Matos
4cf461fffa display: Only process keyboard mapping events for the core X keyboard
The X server sends a XkbNewKeyboardNotify event for each keyboard
device when a new keyboard description is loaded. These days a typical
computer has several keyboard devices, e.g. xinput on this laptop
lists 8. Since the work we do on these events is relatively expensive
and we are only really interested in changes to the virtual core
keyboard we can skip other devices' events to cut on needless work.

https://bugzilla.gnome.org/show_bug.cgi?id=674859
2012-11-05 19:40:14 +01:00
Giovanni Campagna
859ea1457d Add the ability to add shader hooks to MetaBackgroundActor
Using ClutterEffect is not pratical on MetaBackgroundActor, as the FBO
redirection has a noticeable performance impact. Instead, allow adding
GLSL code directly to the pipeline used to draw the background texture.
At the same time, port MetaBackgroundActor to modern Cogl API.

https://bugzilla.gnome.org/show_bug.cgi?id=669798
2012-11-05 19:12:37 +01:00
Jasper St. Pierre
188d532438 display: Ignore DamageNotify in spew 2012-11-03 19:37:51 -04:00
Owen W. Taylor
f258556cec MetaPluginManager: don't send events to Clutter twice
When support for multiple plugins was removed, the logic that was
supposed to send events to Clutter directly *only if there is no filter
function from a plugin* was broken, so events were being sent to
Clutter twice if Clutter didn't consume them the first time.

https://bugzilla.gnome.org/show_bug.cgi?id=686406
2012-11-03 19:36:41 -04:00
Jasper St. Pierre
62dbaa89ca mutter: Don't call g_type_init
It has been deprecated upstream.
2012-11-02 11:45:11 -04:00
Tobias Endrigkeit
b56396eca5 Updated German translation 2012-10-30 18:59:33 +01:00
Rafael Ferreira
0fdc36cac4 Updated Brazilian Portuguese Translation 2012-10-29 16:29:49 -02:00
Florian Müllner
2cc0d31b17 window: Avoid spurious focus-window changes when showing desktop
When using the show-desktop shortcut with no desktop window, unshowing
will focus the second-most-recently-used window. If we find a desktop
window, it will be focused explicitly and everything works as expected;
however without a desktop window, we end up hiding the focus window,
which will use focus_default_window() with the not_this_one parameter
to move focus away. We used to get away with this, as the not_this_one
parameter was ignored until commit e257580b9484, now with bug 675982
fixed, we need to explicitly handle the show-desktop case.

https://bugzilla.gnome.org/show_bug.cgi?id=686928
2012-10-26 15:52:32 +02:00
Guillaume Desmottes
2be88b34b2 Don't annotate with (transfer full) constructors of GInitiallyUnowned subclasses
https://bugzilla.gnome.org/show_bug.cgi?id=686776
2012-10-24 13:17:57 +02:00
Florian Müllner
e2bf91cd61 Bump version to 3.7.1
Update NEWS
3.7.1
2012-10-23 14:50:37 +02:00
Mattias Põldaru
294311b2d1 [l10n] Updated Estonian translation 2012-10-22 22:02:58 +03:00
Kjartan Maraas
db6d89b742 Updated Norwegian bokmål translation 2012-10-22 19:52:14 +02:00
Piotr Drąg
888a560c93 Updated POTFILES.in 2012-10-20 19:09:27 +02:00
OKANO Takayoshi
c2b7ba7815 [l10n] Update Japanese translation 2012-10-20 02:12:24 +09:00
Emanuele Aina
ccdbd36234 gesture-action: Add clutter_gesture_action_get_last_event()
Export the last event received for each touch point in its entirety,
instead of duplicating ClutterEvent accessors one at a time.

examples/pan-action.c has been updated to show the type of the event
that's causing the panning.

https://bugzilla.gnome.org/show_bug.cgi?id=685737
2012-10-19 14:13:17 +02:00
Emanuele Aina
61f2d751d0 tap-action: Add TapAction, to handle mouse/touch tapping
TapAction is a GestureAction-subclass that handles clicks and
tap gestures. It is meant to provide a replacement for ClickAction
using GestureAction:

• it handles events trasparently without capturing them, so that it
  can coexists with other GestureActions;

• the ::tap signal is not emitted if the drag threshold is exceeded;

• building upon GestureAction the amount of code is greatly reduced.

TapAction provides:

• tap signal, notifying users when a tap has been performed.

The image-content example program has been updated replacing its
ClickAction usage with TapAction.

https://bugzilla.gnome.org/show_bug.cgi?id=683948
2012-10-19 13:41:31 +02:00
Emanuele Aina
bd1febb2ea gesture-action: Unregister all tracked points on cancel
Ensure that when cancelling a gesture, either because a callback
has returned FALSE or because clutter_gesture_action_cancel() has
been called, the array tracking touch points is emptied and a whole
new set of touch points is needed before restarting the gesture.

https://bugzilla.gnome.org/show_bug.cgi?id=685221
2012-10-19 13:41:25 +02:00
Emanuele Aina
abcf1d589f gesture-action: Let subclasses override the GestureTriggerEdge handling
Let gesture subclasses override how the drag threshold should
be handled:

• CLUTTER_GESTURE_TRIGGER_NONE tells GestureAction that the gesture
  must begin immediately and there's no drag limit that will cause
  its cancellation;
• CLUTTER_GESTURE_TRIGGER_AFTER is the default GestureAction behaviour,
  where it needs to wait until the drag threshold has been exceeded
  before considering the gesture valid;
• CLUTTER_GESTURE_TRIGGER_BEFORE will make GestureAction cancel
  the gesture once the drag exceed the configured threshold.

For example, ZoomAction and RotateAction could set
CLUTTER_GESTURE_TRIGGER_NONE since the use of two fingers makes the
begin of the action more self-evident, while an hypothetical Tap
gesture may use CLUTTER_GESTURE_TRIGGER_BEFORE to cancel the tap if
the pointer moves too much.

https://bugzilla.gnome.org/show_bug.cgi?id=685028
2012-10-19 11:27:35 +02:00
Rob Bradford
0e33654efb wayland: Port to new Wayland protocol
Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit db50c3015c589375029a4c26c58db8295bb17bca)
2012-10-18 17:25:21 +01:00
Florian Müllner
2717a02a8d screen: Ignore num-workspaces when using dynamic workspaces
On startup, workspaces are initialized according to the num-workspaces
preference. However when using dynamic workspaces, the actual number
of workspaces in use might be greater than the preference (when
replacing the window manager), forcing windows on those workspaces
to the first workspace.
To fix, ignore the preference completely when using dynamic workspaces
and try to restore the previous number of workspaces (as read from
_NET_NUMBER_OF_DESKTOPS).

https://bugzilla.gnome.org/show_bug.cgi?id=685439
2012-10-17 22:43:26 +02:00
Мирослав Николић
4344c9e192 Updated Serbian translation 2012-10-17 10:11:38 +02:00
Marek Černocký
53e2d34628 Updated Czech translation 2012-10-17 08:27:39 +02:00
Andika Triwidada
c602d53649 Updated Indonesian translation 2012-10-16 23:42:05 +07:00
Daniel Mustieles
43a121c8d9 Updated Spanish translation 2012-10-16 18:12:08 +02:00
Fran Diéguez
a8c5100fbb Updated Galician translations 2012-10-16 17:06:40 +02:00
Matej Urbančič
5034bd8a7e Updated Slovenian translation 2012-10-16 15:33:58 +02:00
Florian Müllner
07d8b9ce19 Revert "delete: Unbreak string freeze"
This reverts commit 09713c5fd4efd123923b8c77df1a126dced96465.

https://bugzilla.gnome.org/show_bug.cgi?id=684306
2012-10-16 14:47:37 +02:00
Florian Müllner
9c5ac65311 Bump version to 3.6.1
Update NEWS
3.6.1
2012-10-15 23:26:37 +02:00
Carles Ferrando
ce8d36a5db [l10n] Updated Catalan (Valencian) translation 2012-10-15 22:39:12 +02:00
Gil Forcada
27b00d6f63 [l10n] Updated Catalan translation 2012-10-15 22:39:04 +02:00
Alexandre Franke
c441364bd3 Update French translation 2012-10-15 21:26:41 +02:00
Jürg Billeter
1a521e10c3 display: Only manage the default X screen
https://bugzilla.gnome.org/show_bug.cgi?id=648156
2012-10-15 19:18:45 +02:00
Theppitak Karoonboonyanan
e22d941f06 Updated Thai translation 2012-10-15 15:16:47 +07:00
Sayak Sarkar
787d22dcd0 Updated Bengali India Translations 2012-10-15 12:30:04 +05:30
Unticha Pramgoed
ad05cb37c6 Added Thai translation 2012-10-15 13:06:21 +07:00
Sandeep Sheshrao Shedmake
22d9182322 Updated Marathi Translations 2012-10-15 11:16:55 +05:30
Ask H. Larsen
38295e8202 Updated Danish translation 2012-10-15 06:38:57 +02:00
Shankar Prasad
fe57f7572d Updated Kannada Translations 2012-10-14 23:58:42 +05:30
Shankar Prasad
aade16a9eb Updated Kannada Translations 2012-10-14 23:57:16 +05:30
Alexander Shopov
e31a97759e Updated Bulgarian translation 2012-10-14 17:31:48 +03:00
Benjamin Berg
472662d099 Resize the guard window when the X screen is resized.
Fixes bug #670396. Without this fix the guard window may not
extend over the whole area of the screen after a XRandR
reconfiguration. The effect being that mouse events are
delivered to invisible windows.
2012-10-14 12:16:06 +02:00
Aurimas Černius
027f16b096 Updated Lithuanian translation 2012-10-13 22:55:26 +03:00
Ihar Hrachyshka
5c7fdd67e8 Updated Belarusian translation. 2012-10-13 17:44:15 +03:00
Kjartan Maraas
4a0b6793bf Updated Norwegian bokmål translation 2012-10-13 12:51:20 +02:00
Daniel Mustieles
228d1bf9aa Updated Spanish translation 2012-10-13 12:28:33 +02:00
Changwoo Ryu
85bcb9c121 Updated Korean translation 2012-10-13 18:54:53 +09:00
Yuri Myasoedov
989a38767e Updated Russian translation 2012-10-13 13:41:26 +04:00
Tom Tryfonidis
78e72f0a47 Updated Greek translation 2012-10-13 01:00:45 +03:00
Rūdolfs Mazurs
0faa623043 Updated Latvian translation 2012-10-12 22:31:27 +03:00