Jasper St. Pierre
be57308663
compositor: Clean up
...
Remove a bunch of weird checks, random logs, unused variables
and other cruft that nobody cares about today.
2014-03-18 18:25:32 -04:00
Jasper St. Pierre
33f1bd96f5
compositor: Kill off modal_plugin
...
We only ever have one plugin, so don't bother recording which plugin
is modal, only whether we are modal or not.
2014-03-18 18:25:32 -04:00
Jasper St. Pierre
9ba49358e5
compositor: Remove meta_check_end_modal
...
"This is used when reloading plugins"
Yeah, no.
2014-03-18 18:25:32 -04:00
Jasper St. Pierre
8b2b65246a
Assume the compositor always exists
...
At one point, it was supported to run mutter without a compositor,
but we don't allow that any longer. A lot of code already assumes
display->compositor exists and doesn't check for a NULL pointer,
so just kill the rest of the checks.
2014-03-18 18:25:32 -04:00
Jasper St. Pierre
4fdbb466e1
meta-plugin: Remove some unused features
...
And don't use properties for no reason.
2014-03-18 18:25:31 -04:00
Jasper St. Pierre
da48b18188
window: Fix build
...
A bad rebase on top of some other GObject cleanups I had made
this go sour.
2014-03-18 16:45:53 -04:00
Jasper St. Pierre
a5f1790828
window: Rename wm_hints_urgent to urgent
...
The flag and setter is now decoupled from the WM_HINTS state.
2014-03-18 15:44:11 -04:00
Jasper St. Pierre
6efcf2526d
window: Move urgency to a setter
2014-03-18 15:44:11 -04:00
Jasper St. Pierre
d6a27195d3
Move more fields to MetaWindowX11
2014-03-18 15:44:11 -04:00
Jasper St. Pierre
8f151842fb
Start moving X11 implementation to its own subdirectory
...
This is specifically about managing X11 windows, not necessarily
running as an X11 compositor. By that I mean that this code is
still used for XWayland windows, and event handling is still and
modesetting / monitor management is still in core/.
This is also a fairly conservative move. We don't move anything
like screen.c or bell.c in here, even though those are really
only for X11 clients.
2014-03-18 15:44:11 -04:00
Jasper St. Pierre
6f7023bc6b
Start splitting the X11-specific stuff of MetaWindow out into a subclass
...
This is fairly simple and basic for now, with just skip_taskbar /
skip_pager, but eventually a lot of "WM policy" like this, including
move-resize, will be in subclasses for each individual surface.
2014-03-18 15:44:11 -04:00
Jasper St. Pierre
63b158e4da
window: Split out recalc of skip_taskbar / skip_pager
...
This will be our first attempt for the MetaWindowX11Private
2014-03-18 15:44:11 -04:00
Emmanuele Bassi
ccc5eb9f35
build: Resync our copy of introspection.m4
2014-03-18 19:06:49 +00:00
Rui Matos
b3364cad3e
wayland: Update keyboard state unconditionally
...
In particular we need to know about all key events to keep the xkb
state reliable even if the event is then consumed by a global shortcut
or grab and never reaches any wayland client.
We also need to keep track of all pressed keys at all times so that we
can send an updated set or pressed keys to the focused client when a
grab ends.
https://bugzilla.gnome.org/show_bug.cgi?id=722847
2014-03-18 19:15:17 +01:00
Rui Matos
3502cfba34
wayland-keyboard: Split out a function to determine the evdev keycode
...
We will need to use this is in another place on the next commit.
https://bugzilla.gnome.org/show_bug.cgi?id=722847
2014-03-18 19:15:17 +01:00
Rui Matos
5cc6becb63
wayland-keyboard: Make sure we send an updated modifiers event
...
Any given clutter event carries the modifier state as it was before it
occured but, for the wayland modifiers event, we want the state
including the current event.
To fix this, we'll keep our xkb_state instance around instead of the
serialized mods.
https://bugzilla.gnome.org/show_bug.cgi?id=722847
2014-03-18 19:15:17 +01:00
Jasper St. Pierre
ae8f21a3dc
wayland-keyboard: Don't use our own tracking to detect autorepeat
...
Clutter already marks all autorepeat key events it as synthetic
key events. We can simply ignore these instead of relying on custom
key tracking code.
2014-03-18 19:15:17 +01:00
Jasper St. Pierre
0cdf3bd383
Update .gitignore
2014-03-18 13:18:52 -04:00
Jasper St. Pierre
3de58189c0
window: Remove an unused bit
2014-03-18 13:18:52 -04:00
Jasper St. Pierre
5270c469a3
window: Remove meta_window_set_gravity as "public" API
2014-03-18 11:24:24 -04:00
Jasper St. Pierre
7504f16e59
Replace wm_state_modal usage with META_WINDOW_TYPE_DIALOG
2014-03-18 11:24:24 -04:00
Jasper St. Pierre
cdb7947dd1
window: Remove meta_window_is_modal
...
It relies on EWMH concepts. Wayland simply has a MODAL_DIALOG type.
2014-03-18 11:24:24 -04:00
Jasper St. Pierre
cdfc6f5b53
window: Remove vfunc slots for signals
...
These aren't used currently, and we're going to be adding
more vfuncs.
2014-03-18 11:24:24 -04:00
Jasper St. Pierre
fcb2ab41b2
window: Remove another bogus comment
...
It's not referring to anything!
2014-03-18 11:24:16 -04:00
Jasper St. Pierre
f5bd7c5f50
window: Remove bogus comment
...
These fields haven't been around for quite some time.
2014-03-18 11:24:16 -04:00
Jasper St. Pierre
cb549154aa
window: Move meta_window_configure_notify to window-x11
2014-03-18 11:24:16 -04:00
Emmanuele Bassi
6414c01719
Post-release version bump to 1.18.1
2014-03-18 14:26:54 +00:00
Jasper St. Pierre
ada9610e30
Start hacking out use of xtransient_for
...
It won't work under Wayland.
2014-03-18 10:25:54 -04:00
Jasper St. Pierre
f11bf44525
stack: Flatten and simplify the default focus window logic
2014-03-18 10:25:54 -04:00
Jasper St. Pierre
1f15c85c00
window: Make window_is_terminal private
2014-03-18 10:25:54 -04:00
Emmanuele Bassi
e0f19ab2c9
Release Clutter 1.18.0
2014-03-18 14:15:01 +00:00
Emmanuele Bassi
fa891a7a3c
docs: Remove --sgml-mode from the build options
...
We're not providing SGML any more.
2014-03-18 14:15:01 +00:00
Emmanuele Bassi
f0ac5e176f
Require GTK-Doc 1.20
...
We want the fancy new MarkDown parser.
2014-03-18 14:15:01 +00:00
Emmanuele Bassi
8453807ce9
docs: Add missing symbols to the API reference
2014-03-18 14:15:01 +00:00
Emmanuele Bassi
4f5dd5ad43
docs: Remove last stray DocBook tags
2014-03-18 14:15:01 +00:00
Jasper St. Pierre
8b4c5459c0
window: Remove transient_for_as_xid
...
It's unused, and it exposes an X11-specific property to API.
2014-03-18 10:07:07 -04:00
Emmanuele Bassi
ddc1955f6b
docs: Port backend-specific sections to markdown
2014-03-17 23:10:07 +00:00
Emmanuele Bassi
46051bfb20
docs: Port deprecated sections to markdown syntax
...
And drop docbook tags along the way.
2014-03-17 23:09:27 +00:00
Emmanuele Bassi
12370bd4f8
docs: Move to markdown
...
We're removing docbook tags in favour of the markdown syntax.
2014-03-17 23:07:58 +00:00
Emmanuele Bassi
115104db8c
cally: Remove docbook tags
2014-03-17 23:05:09 +00:00
A S Alam
b8eb7b883f
update Punjabi Translation 17March2014: Alam
2014-03-17 16:04:20 -05:00
Jasper St. Pierre
d07d5d1328
common: remove documentation for dead grab ops
2014-03-17 16:18:11 -04:00
Emmanuele Bassi
8fc47244b0
build: Remove abicheck.sh
...
We now control the visibility of symbols directly from the header files,
so we always have the correct ABI.
2014-03-17 19:26:49 +00:00
Emmanuele Bassi
386be83f24
New visibility handling in Clutter
...
Instead of listing every public symbol inside an ancillary file, we can
use compiler annotations. This scheme is also used by GLib and GTK+.
The symbols file is left in tree until the Visual Studio rules are
fixed, but it's not used any more during distcheck.
I double-checked that the exposed ABI is the same before and after this
change, except for symbols that were never meant to be public in the
first place, and that escaped our attention when we generated the first
version of the symbols file.
2014-03-17 19:26:49 +00:00
Emmanuele Bassi
5c4c2aa52f
symbols: Fix the expected ABI
...
Some symbols that were never meant to be exported ended up in the
symbols file.
2014-03-17 19:26:49 +00:00
Emmanuele Bassi
3b21999494
Use _CLUTTER_EXTERN to define CLUTTER_VAR
...
The macro is defined outside of the header, and does all the heavy
lifting of getting the proper attributes.
2014-03-17 19:26:49 +00:00
Emmanuele Bassi
c44f73a7f1
Include "config.h"
...
Otherwise the symbol annotation won't be expanded correctly.
2014-03-17 19:26:49 +00:00
Emmanuele Bassi
53a86e91d9
Annotate symbols in backend-specific headers
...
Like we did for the rest of the API.
2014-03-17 19:26:49 +00:00
Emmanuele Bassi
66826bc6ba
Annotate symbol visibility in Cally
...
Like we did for the main library.
2014-03-17 19:26:27 +00:00
Emmanuele Bassi
c69bb976b3
Annotate all public symbols
...
We are going to switch to compiler annotations to determine the
visibility of the symbols.
2014-03-17 18:53:27 +00:00