mutter:wip/xdg-shell-props

Last commit made on 2014-02-18
Get this branch:
git clone -b wip/xdg-shell-props https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
wip/xdg-shell-props
Repository:
lp:mutter

Recent commits

c9e2258... by Jasper St. Pierre

xdg-shell: Update for new state change mechanism

We're still not properly going through the request system. This
will require a dense investigation of the code, but it will happen
soon...

1689de7... by Jasper St. Pierre

xdg-shell: Update to latest renames for focused_set / focused_unset

47f4c9d... by Jasper St. Pierre

wayland-surface: Correct xdg_popup placement

Now that we call set_custom_frame_extents, the frame rect corresponds
to the "visible window geometry" used for constrainment, while the
x/y fields in get_xdg_popup instead are relative to the surface.

4c621cc... by Jasper St. Pierre

pointer/keyboard: Make sure to clean up the destroy listeners when releasing

756a412... by Jasper St. Pierre

pointer: Make nested grabs work

Something noticed on code inspection. If we have a popup grab,
it will always return FALSE. The code here clearly meant to continue
if we had an existing popup grab from an existing client.

be16c2f... by Jasper St. Pierre

pointer: Reindent

a364c2a... by Jasper St. Pierre

pointer/keyboard: Make sure not to get stale on client resources as well

Both the pointer/keyboard resource and surface resource can be destroyed
at any point in the destruction process, so we need to have destroy
listeners on both. To make the code easier to follow, rename ->focus
to ->focus_surface at the same time, and rearrange the code so that
the two of them are always grouped together.

414259a... by Jasper St. Pierre

wayland: Fix cast warning

It's sometimes hard to see around all the deprecation warnings. Sorry
about that...

283a81e... by Jasper St. Pierre

wayland: Explicitly destroy the surface actor

This shouldn't change anything right now, but it's better to be
careful than anything else. This is where the actor should be
destroyed.

2a14526... by Jasper St. Pierre

wayland: Rework how surface destruction works

To prevent the MetaSurfaceActor from being destroyed, we normally
unparent it before we unmanage the window. However, this doesn't
work for XWayland windows, which we unmanage when we get UnmapNotify
or DestroyNotify, not when we get the wl_surface_destroy.

To solve this, add an early hook in meta_window_unmanage that
unparents the surface actor if we have one. At the same time, clean
up the destruction code to remove old comments and assumptions about
how wl_shell behaves.