1
0
Fork 0
mutter-performance-source/src/core
Florian Müllner aa0aa89a1e window: Ignore requests to be placed on non-existent workspaces
When an X11 window requests an initial workspace, we currently trust
it that the workspace actually exists. However dynamic workspaces
make this easy to get wrong for applications: They make it likely
for the number of workspaces to change between application starts,
and if the app blindly applies its saved state on startup, it will
trigger an assertion.

Make sure that we pass valid parameters to set_workspace_state(),
and simply let the workspace assignment fall through to the default
handling otherwise.

https://gitlab.gnome.org/GNOME/mutter/issues/1029
2020-02-04 00:07:54 +00:00
..
bell.c frame: Remove flashing support 2019-03-12 00:27:07 +00:00
bell.h frame: Remove flashing support 2019-03-12 00:27:07 +00:00
boxes-private.h Replace ClutterRect by graphene_rect_t 2019-10-16 11:38:14 +00:00
boxes.c Replace ClutterRect by graphene_rect_t 2019-10-16 11:38:14 +00:00
constraints.c wayland: Let MetaWaylandXdgPopup dismiss incorrectly placed popups 2019-12-09 10:09:40 +01:00
constraints.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
delete.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
display-private.h core/core: Remove meta_retheme_all() helper 2019-10-15 07:17:29 +00:00
display.c display: Unref selection on shutdown 2020-02-01 14:02:19 +00:00
edge-resistance.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:27:40 +01:00
edge-resistance.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
events.c backends: Do not use device IDs on idle monitors 2020-01-30 18:11:23 +01:00
events.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
frame.c frame: Pass the frame area for get_mask() 2020-01-29 10:44:50 +00:00
frame.h frame: Pass the frame area for get_mask() 2020-01-29 10:44:50 +00:00
keybindings-private.h keybindings: Do not grab the locate-pointer key if unnecessary 2019-07-18 13:10:32 +00:00
keybindings.c keybinding: Check for handler functions as well 2019-09-24 17:08:20 +02:00
main-private.h meta: Move private defines to a private header 2019-10-15 11:03:56 +00:00
main.c core/core: Remove meta_retheme_all() helper 2019-10-15 07:17:29 +00:00
meta-accel-parse.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-accel-parse.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-border.c MetaBorder: Use float constants and functions instead of double variants 2016-02-16 19:02:48 +08:00
meta-border.h Move out generic math parts out of the native barrier implementation 2016-02-16 19:02:48 +08:00
meta-clipboard-manager.c core: Extend list of image formats to be stored in the clipboard manager 2020-02-03 16:51:15 +01:00
meta-clipboard-manager.h core: Add clipboard manager 2019-05-02 16:22:45 +02:00
meta-close-dialog-default-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-close-dialog-default.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:27:40 +01:00
meta-close-dialog.c Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
meta-fraction.c Add MetaFraction for dealing with fractions 2017-08-29 14:39:04 +08:00
meta-fraction.h Add MetaFraction for dealing with fractions 2017-08-29 14:39:04 +08:00
meta-gesture-tracker-private.h display: Move finishing of touch sequence to the backend 2019-10-28 18:40:43 +00:00
meta-gesture-tracker.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:27:40 +01:00
meta-inhibit-shortcuts-dialog-default-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-inhibit-shortcuts-dialog-default.c Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
meta-inhibit-shortcuts-dialog.c core: add MetaInhibitShortcutsDialog 2017-08-02 11:58:55 +02:00
meta-launch-context.c x11: Add meta_x11_get_display_name() function 2019-08-06 00:41:36 +00:00
meta-selection-source-memory.c core: Fix task leak in meta_selection_source_memory_read_async 2020-02-01 14:02:19 +00:00
meta-selection-source.c Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public 2019-05-02 16:31:45 +02:00
meta-selection.c selection: Fix task leak in error case of source_read_cb 2020-02-01 14:02:19 +00:00
meta-sound-player.c cleanup: Use g_clear_signal_handler() where possible 2019-11-21 15:02:27 +00:00
meta-workspace-manager-private.h Move workspace related code from MetaDisplay to MetaWorkspaceManager 2018-07-06 19:47:17 +02:00
meta-workspace-manager.c workspace-manager: get_workspace_by_index can return NULL 2019-11-22 22:13:35 +00:00
mutter.c plugin: Rename the .so file from plugin.so to libplugin.so 2018-11-06 17:17:36 +01:00
place.c place: Assign anchor rect using automatic copy 2019-05-21 08:50:09 +00:00
place.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
prefs.c cleanup: Use g_clear_signal_handler() where possible 2019-11-21 15:02:27 +00:00
restart-helper.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
restart.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
stack-tracker.c core: Split x11-display initialization in 2 signals 2019-09-11 22:30:13 +02:00
stack-tracker.h meta: Hide libmutter symbols by default and selectively export them 2019-01-23 14:18:13 +01:00
stack.c stack: Delegate layer calculation to a window vfunc 2019-11-29 15:14:38 +01:00
stack.h stack: Style and introspection doc fixes 2019-07-08 11:46:52 +02:00
startup-notification-private.h meta, startup-notification: Make type declarations public 2019-01-24 16:38:09 +00:00
startup-notification.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:27:40 +01:00
util-private.h meta: Hide libmutter symbols by default and selectively export them 2019-01-23 14:18:13 +01:00
util.c cleanup: Use g_clear_handle_id() for g_source_remove() 2019-11-22 01:27:40 +01:00
window-private.h window/wayland: Make .._wayland_move_resize() name more explanatory 2019-12-09 10:09:40 +01:00
window.c window: Ignore requests to be placed on non-existent workspaces 2020-02-04 00:07:54 +00:00
workspace-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
workspace.c core: Trace various window management actions 2019-09-02 17:36:00 +00:00