mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
Maybe fix crash
This commit is contained in:
parent
fd1d4f1b77
commit
3525d7caa4
@ -133,7 +133,9 @@ public class Gala.PanelWindow : Object {
|
|||||||
|
|
||||||
private void move_window_idle (int x, int y) {
|
private void move_window_idle (int x, int y) {
|
||||||
Idle.add (() => {
|
Idle.add (() => {
|
||||||
window.move_frame (false, x, y);
|
if (window.mapped) {
|
||||||
|
window.move_frame (false, x, y);
|
||||||
|
}
|
||||||
return Source.REMOVE;
|
return Source.REMOVE;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1165,6 +1165,8 @@ namespace Meta {
|
|||||||
public bool maximized_horizontally { get; }
|
public bool maximized_horizontally { get; }
|
||||||
[NoAccessorMethod]
|
[NoAccessorMethod]
|
||||||
public bool maximized_vertically { get; }
|
public bool maximized_vertically { get; }
|
||||||
|
[NoAccessorMethod]
|
||||||
|
public bool mapped { get; }
|
||||||
#if !HAS_MUTTER46
|
#if !HAS_MUTTER46
|
||||||
[NoAccessorMethod]
|
[NoAccessorMethod]
|
||||||
public Cairo.Surface mini_icon { owned get; }
|
public Cairo.Surface mini_icon { owned get; }
|
||||||
|
Loading…
Reference in New Issue
Block a user