Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unredirect fixes #250

Merged
merged 4 commits into from
Jul 19, 2016
Merged

Unredirect fixes #250

merged 4 commits into from
Jul 19, 2016

Conversation

itzexor
Copy link
Contributor

@itzexor itzexor commented Jul 17, 2016

837aeb1 fixes windows not being unredirected by the heuristic when located on a monitor that is not located at 0,0 in the screen.

The other 3 commits fix some misbehavior and a crash introduced with e5460a3

More info on the crash here:
https://bugzilla.gnome.org/show_bug.cgi?id=740133
https://bugzilla.redhat.com/show_bug.cgi?id=1149409

Edit: The application I reproduced the crash with locally was Universe Sandbox ²

Fixes #249

Damage coordinates are relative to the drawable not to the screen. So we
have to check whether x and y are 0 and not window_rect.x/y otherwise the
herustic will never trigger for windows on monitors whos x and y are not 0.

https://git.gnome.org/browse/mutter/commit/?id=cd32e4a
According to the documentation, the method returns "whether the X window
that the actor was displaying has been destroyed" - that is very much true
when we delay the actual actor destruction for a destroy animation, so
update the method accordingly.

https://git.gnome.org/browse/mutter/commit/?id=d50f8af
WindowActors can outlive their corresponding window to animate unmap.
Unredirecting the actor does not make sense in that case, so make
sure to not request it.

https://git.gnome.org/browse/mutter/commit/?id=6e25c37
@mtwebster mtwebster merged commit fb54bc0 into linuxmint:master Jul 19, 2016
@itzexor itzexor deleted the unredirect-stuff branch August 14, 2016 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault when closing fullscreen window
2 participants