Commit Graph

716 Commits

Author SHA1 Message Date
Tom Beckmann
88ab22ccc4 multitaskingview: make sure we don't slide out docks while in fullscreen 2015-04-12 22:46:43 +02:00
Tom Beckmann
824bcb3ff0 minor cleanup 2015-04-11 17:24:55 +02:00
Tom Beckmann
5c382a76d0 fix workspace switch animation for secondary monitor on the left 2015-04-11 15:38:09 +02:00
Tom Beckmann
570f236c1b animate shadow when entering multitaskingview to not visually disrupt 2015-04-11 14:40:20 +02:00
Tom Beckmann
6926adb70b fix wrong offset on multimonitor 2015-04-11 14:23:30 +02:00
Tom Beckmann
82fa8b65f5 slide out docks when entering multitaskingview 2015-03-04 21:00:55 +01:00
Tom Beckmann
1aa57baa72 fix jumping when exiting too early 2015-03-03 20:07:17 +00:00
Santiago Leon O.
19e9aa69e5 Add keybindings to switch input-sources 2015-03-14 16:20:17 +01:00
Rico Tzschichholz
f2afc60db2 Avoid returning a new reference of singletons 2015-03-12 15:10:18 +01:00
Rico Tzschichholz
5927e8f2ea Cache AnimationSettings.get_default () and properties which are re-used 2015-03-12 15:00:26 +01:00
Rico Tzschichholz
7de592c1e6 Fix typo in r446 2015-03-12 14:46:47 +01:00
Rico Tzschichholz
c6e92e95dd settings: Do not return new references 2015-03-12 14:41:51 +01:00
Rico Tzschichholz
8ddf5cf111 windowsclone: Transform some lambdas to override-methods 2015-03-12 14:14:26 +01:00
Rico Tzschichholz
24bd250891 Refactoring of keybinding-handlers 2015-03-12 12:19:56 +01:00
Rico Tzschichholz
ae4bbf363c Implement smooth (un)maximize 2015-03-12 10:20:34 +00:00
Rico Tzschichholz
7e7e21bc27 Fix compilation with valac >= 0.22 2015-03-12 10:53:41 +01:00
Tom Beckmann
4f148d0503 windowoverview: fix regression where windows could no longer be selected 2015-03-12 06:16:50 +01:00
Tom Beckmann
27b43cc32c improve flash prevent code, bump snap-duration to 250ms, actor-snapshot can be NULL 2015-03-11 14:23:10 +01:00
Tom Beckmann
e41d44d4e2 windowoverview: don't use dragaction in overview, close on button press
closing on button press will prevent the overview from closing when a close
button is pressed as the press event is consumed by the button, but not the
release event.
2015-03-11 13:59:57 +01:00
Rico Tzschichholz
5fa4764c98 Move SafeWindowClone into its own file 2015-03-04 12:29:53 +01:00
Rico Tzschichholz
74a3b19f9d docs: Fix build and some warnings 2015-03-04 11:50:18 +01:00
Rico Tzschichholz
638849eb2b build: Let gala provide a public library for 3rd party plugin development 2015-03-04 10:51:43 +01:00
Rico Tzschichholz
d588328a03 Refactoring to avoid nested classes and multi-class files
Additionally don't expose plank in libgala
2015-03-04 09:36:08 +01:00
Tom Beckmann
e8d3b6a26b fixed offsets when unmaximizing in most cases, prevented flickering sometimes
Offsets are now fixed for all windows that have ever been unmaximized.
Flickering is fixed for durations >=300ms, otherwise it's barely noticeable and
unfortunately not fixable.
2015-03-03 16:27:21 +00:00
Tom Beckmann
481da2cc71 implement smooth (un)maximize, may have some small offsets currently 2015-01-05 16:46:27 +01:00
Tom Beckmann
0de2631f68 Adapt gala to the various API changes in mutter 3.14 2015-01-05 14:36:15 +01:00
Rico Tzschichholz
666675ea8f Minor cleaups 2015-01-04 17:19:15 +01:00
Marcus Wichelmann
971df059c0 Code moved to InternalUtils. 2015-01-04 13:16:56 +01:00
Tom Beckmann
8a35ef813b implement unminimize function 2015-01-04 12:19:27 +01:00
Marcus Wichelmann
6c6287c9af Added a setting to change the background-image of the workspace-switcher 2015-01-04 10:37:05 +01:00
Tom Beckmann
a276a56d67 fix crash on multimonitors when workspaces-only-on-primary was disabled 2015-01-03 23:05:26 +01:00
Tom Beckmann
470a071595 add some more #ifdefs that were missing 2015-01-03 22:04:41 +01:00
Tom Beckmann
977e6215fb fix typo 2015-01-03 21:43:04 +01:00
Tom Beckmann
f665d27e00 forgot to actually add windowmenu file, disable window menus until the mouse event issue has been fixed 2015-01-03 21:25:58 +01:00
Tom Beckmann
4b8e8ddc21 restore accidentally nuked temporary windowmenu implementation 2015-01-03 21:00:51 +01:00
Tom Beckmann
d800d44da9 work on restoring compatibility for building with mutter<3.14 2015-01-03 20:55:40 +01:00
Tom Beckmann
6369f8d423 windowmanager: fix crash during workspace switching
when a window is hidden e.g. on focus out it will still appear in the
compositor's window actors list, however its monitor field is already
unset. This will lead to a crash if an unmanaged window is in the window
actors list and we call meta_window_get_monitor() on its metawindow.
2014-12-24 18:31:08 +01:00
Tom Beckmann
e61b9b8e22 fix problems with settings changed events firing on startup randomly 2014-12-21 00:21:58 +01:00
Tom Beckmann
a3bcc2600c cleanup things properly if the window switcher is invoked again while closing 2014-12-19 20:28:29 +01:00
Rico Tzschichholz
3ab490aaf4 Support compilation with mutter 3.15.2 2014-12-11 12:07:48 +01:00
Tom Beckmann
b09319e2a6 fix rev427 2014-11-25 18:17:52 +01:00
Tom Beckmann
48bbd9afa4 Use proper keybinding filtering 2014-11-25 18:02:42 +01:00
Rico Tzschichholz
91e274cf30 More cleaning up 2014-10-23 10:50:24 +02:00
Rico Tzschichholz
a10be988fb Some codestyle fixes and small refactoring 2014-10-23 10:19:09 +02:00
Tom Beckmann
9ca04ec5b9 start porting background code for mutter3.14 from gnome-shell 2014-10-12 10:55:43 +02:00
Rico Tzschichholz
3ac84e4a01 Use is_horizontal_dock () of DockPreferences 2014-08-18 09:50:13 +02:00
Tom Beckmann
3e417dcfa8 update windowswitcher to use the latest functionality provided in mutter, improve its startup and code structure, add destroy-on-unmanaged properties to WindowIcon and SafeWindowClone 2014-07-19 00:42:06 +02:00
Tom Beckmann
04932c8581 windowmanager: update modal API with proper support for keybindings
Add docs to WindowManager interface, rework modal mode handling API and add functionality to control keybinding filtering, add interface to properly replace core components with plugins.
2014-10-20 08:40:34 +00:00
Tom Beckmann
5c76b8046f multitaskingview: use 24px icons in IconGroups as 22px icons have been removed from the theme 2014-10-06 01:58:46 +02:00
Rico Tzschichholz
ff1a644d7c Avoid calling PluginManager.get_plugin twice, handle case when plugin of a type is null 2014-10-01 22:42:30 +02:00
Tom Beckmann
008afea34d Fix windows flashing when minimizing, restructure minimize code slightly 2014-10-01 21:47:54 +02:00
Tom Beckmann
77856c43a5 actually check the plugin's type for ActivatableComponent 2014-10-01 20:48:22 +02:00
Rico Tzschichholz
8540d25388 Fix some issues and codestyle 2014-09-30 17:40:41 +02:00
Tom Beckmann
cc244921f9 lib: remove public functions for accessing InputArea, fix input area assignment
Rename now internal InputArea.HOTCORNER to DEFAULT for a more fitting description since
it is used by plugins as well and not just HOTCORNERS in the "default" mode.
Fix InputArea.NONE being always assigned when no hotcorners are configured.
Plugins won't need access to the InputArea functions since they're all handled within
the wm and reconfigured when the plugin changes its area or the wm's modal mode.
2014-08-31 19:09:38 +02:00
Tom Beckmann
d62757998e remove Gee as a depedency for libgala, use GVariant instead of GValue for ActivatableComponent.open 2014-08-24 20:34:00 +02:00
Tom Beckmann
48c2779b48 icongroup: Add delay before showing close icon, check condition for showing a close button in central place
Adding a delay should help preventing accidentally closing a workspace.
Checking the condition whether a close button should be shown in a central place fixes the button
appearing after clicking on the last workspace.
2014-08-11 00:54:33 +02:00
Tigran Gabrielyan
c992c5e102 Changed nudge effect to use KeyframeTransition
Check if nudge effect isn't already played before adding the transition to prevent spasms
2014-08-03 19:10:16 -07:00
Tigran Gabrielyan
9319b06b56 Simplified logic 2014-08-03 11:42:01 -07:00
Tigran Gabrielyan
32c1eb4362 Adjusted the position of the close icon 2014-07-31 22:46:10 -07:00
Marcus Wichelmann
89e87fb94b IconGroupContainer: Fix calculation of total width
Merged lp:~l-admin-3/gala/icon-position-fix
2014-07-31 01:21:53 +02:00
Marcus Wichelmann
646ced3f92 edited icongroup-position 2014-07-31 00:41:53 +02:00
Tom Beckmann
ed50b232f5 Remove the EndSessionDialog
As dialogs now use CSD we meet problems with decorations if we have the dialog spawned
inside gala since we're required to spawn POPUP type windows, which apparently won't get
decorated and, if forced to receive decorations, act weirdly.
2014-07-28 13:46:44 +02:00
Tom Beckmann
1e684669fb Add docs to WindowManager interface, rework modal mode handling API and add functionality to control keybinding filtering
Add interface to properly replace core components.
2014-07-20 22:02:34 +02:00
Rico Tzschichholz
b93ab89061 Add documention builds for libgala and the full source of gala 2014-07-19 22:46:45 +02:00
Tom Beckmann
56688c04cf lib: drop unused symbol, update regions after freeze_track is disabled, don't expose X or Bamf to the API 2014-07-18 09:44:04 +02:00
Rico Tzschichholz
8e24266c28 Some minor clean up 2014-07-18 07:37:33 +02:00
Tom Beckmann
3cb9dc60b2 add copyright header to ShadowEffect, add window property to WindowIcon class for easier handling 2014-07-17 19:05:40 +02:00
Tom Beckmann
66b3b1b4df fix window disappearing when dropped on same non-primary monitor 2014-07-17 14:16:01 +02:00
Tom Beckmann
ea95a7113e fix workspace insertion from non-primary monitor, remove shadow update timeout when window is unmanaged 2014-07-17 13:55:37 +02:00
Tom Beckmann
7430117166 Only display icon when dragging windows, listen on screen for confirmation dialogs popping up when closing a window 2014-07-17 13:47:24 +02:00
Tom Beckmann
447f0d450e limit rate at which toggling can be spammed 2014-07-17 03:00:57 +02:00
Tom Beckmann
6f03fc536b add delay before expading an inserter preview 2014-07-17 02:44:31 +02:00
Tom Beckmann
ce5fb86e1b fix centering in previous commit, disable workspace insertion for non dynamic workspaces 2014-07-17 02:07:33 +02:00
Tom Beckmann
16964e865a center icon groups as an insertion is previewed, properly scale insertion preview 2014-07-17 01:48:24 +02:00
Tom Beckmann
7e07b4dc7e draw highlight on half pixels to decrease impression of 1px rounded corners 2014-07-17 01:31:35 +02:00
Tom Beckmann
6697265dd9 minimal cleanup to DragDropAction, fix icons staying when hover event is spammed 2014-07-17 01:27:25 +02:00
Tom Beckmann
486b505823 make sure close button is hidden on windows that are being dragged 2014-07-17 01:08:11 +02:00
Tom Beckmann
967ff8397f decrease opacity of workspace border 2014-07-17 01:06:11 +02:00
Tom Beckmann
29685bac02 display window icon instead of plus sign on workspace insertion 2014-07-17 01:01:59 +02:00
Tom Beckmann
0fa90dddbe fix edge cases when inserting workspaces 2014-07-17 00:47:36 +02:00
Tom Beckmann
9bc51fc694 make sure close button on icon groups is hidden when the cursor leaves the actor during a click 2014-07-08 23:40:58 +02:00
Tom Beckmann
87204bfd8e play bell when active icongroup is selected 2014-07-08 21:45:55 +02:00
Tom Beckmann
ad8e2642bd implement inserting windows between IconGroups 2014-07-07 18:24:04 +02:00
Tom Beckmann
f145d23595 make sure windows that are set to be on all workspaces are not shown in the multitaskingview 2014-07-07 14:42:36 +02:00
Tom Beckmann
627b93884d rework workspace switching code to support workspaces-only-on-primary 2014-06-29 15:52:39 +02:00
Rico Tzschichholz
a964a26bb7 Fix typo :\ 2014-06-29 15:42:25 +02:00
Rico Tzschichholz
745ddd66ba windowoverview: Add some null checks and clean up 2014-06-29 14:33:38 +02:00
Rico Tzschichholz
61b558e407 Rename TiledWindow* to WindowClone* 2014-06-29 13:30:47 +02:00
Tom Beckmann
058b076ca5 minor cleanup to icongroup 2014-06-29 12:42:31 +02:00
Tom Beckmann
c3d5bf15a4 shadow effect: respect actor's paint opacity 2014-06-29 12:20:26 +02:00
Tom Beckmann
2e743a1107 windowoverview: respect padding 2014-06-29 12:10:34 +02:00
Tom Beckmann
3a6dba23b8 fix warning from icongroups 2014-06-29 12:02:53 +02:00
Tom Beckmann
74f471d029 Removed MultitaskingView folder, use get_frame_rect when available, use TiledWindow/Container for WindowOverview 2014-06-29 12:01:09 +02:00
Rico Tzschichholz
c399e882d8 icongroup: use gobject-style construction 2014-06-26 16:13:42 +02:00
Tom Beckmann
99ad3c80f1 update to trunk rev388 2014-06-26 14:02:57 +02:00
Tom Beckmann
bca9b67b1e implement confirm_display_change 2014-06-26 12:50:55 +02:00
Rico Tzschichholz
4880224d61 Add dummy overrides for show_window_menu/_for_rect
Those needs to be implemented for proper mutter 3.13+ support
2014-06-26 11:26:26 +02:00
Tom Beckmann
8205985a6c fix crash when dropping a window from the primary to a secondary monitor 2014-06-24 15:12:35 +02:00
Tom Beckmann
96748eeded Document the MultitaskingView, fix IconGroup.clear, make sure we don't draw the IconGroup highlight when it's not even visible 2014-06-24 15:05:09 +02:00
Rico Tzschichholz
54bf615d27 Unify API of TiledWindowContainer
Provide open/close methodes like we do in other places
2014-06-24 14:42:46 +02:00