Commit Graph

5249 Commits

Author SHA1 Message Date
Florian Müllner
424fc5245a Add compositor hook to process keybindings selectively
Currently keybindings are blocked while the compositor holds a grab; if
we want a keybinding to be available anyway, we use captured ClutterEvents
to determine the KeyBindingAction the event would have triggered and
run our own handlers (ugh).
Instead, provide a hook to allow the compositor to filter out keybindings
before processing them normally, regardless of whether the compositor
holds a grab or not.

https://bugzilla.gnome.org/show_bug.cgi?id=688202
2012-11-17 01:47:05 +01:00
Rico Tzschichholz
90952ac5c8 Fix naming of "user_data" arguments for better introspection 2012-11-16 21:23:47 +01:00
Florian Müllner
395fbefd3c po: Import translations from Metacity
To save translators some work, import existing translations for the
newly added keybinding files. As a result of a gnome-i18n discussion[0],
all additions are marked as fuzzy.

[0] https://mail.gnome.org/archives/gnome-i18n/2012-November/msg00054.html

https://bugzilla.gnome.org/show_bug.cgi?id=687672
2012-11-13 16:39:07 +01:00
Florian Müllner
bdf47aeac4 keybindings: Import keybinding files from Metacity
Fallback mode is going away, so we should stop depending on Metacity
for keybinding files for common bindings.

https://bugzilla.gnome.org/show_bug.cgi?id=687672
2012-11-12 19:27:35 +01:00
Florian Müllner
daac778f16 ui: Remove obsolete GTK+ version check 2012-11-12 19:27:35 +01:00
Florian Müllner
93a16f6d43 frames: Bump priority of style providers
Since GTK+ commit b1ad5c8abc2c, GtkSetting's CSS provider uses a
priority of GTK_STYLE_PROVIDER_PRIORITY_SETTINGS, which means it
will overwrite the ones we create ourselves.
Bump the priority to fix dark window decorations.

https://bugzilla.gnome.org/show_bug.cgi?id=688182
2012-11-12 19:27:34 +01:00
Yaron Shahrabani
e46cf80fdd Updated Hebrew translation. 2012-11-07 18:40:37 +02:00
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 e257580b94, 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
Florian Müllner
e2bf91cd61 Bump version to 3.7.1
Update NEWS
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
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 09713c5fd4.

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
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
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
Chris Leonard
ecd7e662ff Updated British English translation 2012-10-12 18:55:36 +01:00
Piotr Drąg
7d9925ba2e Updated Polish translation 2012-10-12 19:06:59 +02:00