[ShellApp] Fix handler signature for workspace switch
This was causing crashes or undefined behavior. https://bugzilla.gnome.org/show_bug.cgi?id=598227
This commit is contained in:
parent
d9df7c1b1e
commit
d705c1bb52
@ -243,8 +243,13 @@ shell_app_on_unmanaged (MetaWindow *window,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
shell_app_on_ws_switch (ShellApp *self)
|
shell_app_on_ws_switch (MetaScreen *screen,
|
||||||
|
int from,
|
||||||
|
int to,
|
||||||
|
MetaMotionDirection direction,
|
||||||
|
gpointer data)
|
||||||
{
|
{
|
||||||
|
ShellApp *self = SHELL_APP (data);
|
||||||
self->window_sort_stale = TRUE;
|
self->window_sort_stale = TRUE;
|
||||||
g_signal_emit (self, shell_app_signals[WINDOWS_CHANGED], 0);
|
g_signal_emit (self, shell_app_signals[WINDOWS_CHANGED], 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user