Commit Graph

800 Commits

Author SHA1 Message Date
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
Rico Tzschichholz
199abb5464 Some API cleaning in TiledWindow/Container 2014-06-24 14:07:20 +02:00
Rico Tzschichholz
213ff3bf8a FramedBackground: Use gobject-style construction 2014-06-24 12:26:41 +02:00
Rico Tzschichholz
a9522dc566 No need to hold a reference of WindowManager 2014-06-24 12:01:36 +02:00
Rico Tzschichholz
6c6132f9e0 Don't hold a reference of WindowManager 2014-06-24 11:54:26 +02:00
Rico Tzschichholz
f585ca7fe2 Clean up WorkspaceManager 2014-06-24 11:50:46 +02:00
Tom Beckmann
61d5e56d0c properly limit the scroll distance with a concept from maya 2014-06-24 00:06:18 +02:00
Tom Beckmann
4971e9b26e abort all drags when the view is closed 2014-06-23 23:14:17 +02:00
Tom Beckmann
e00c49f1a7 remove some unncesseary code 2014-06-23 23:03:25 +02:00
Tom Beckmann
c89d239930 add close button to icon groups 2014-06-23 23:01:21 +02:00
Tom Beckmann
01959195e2 don't allow scrolling while the view is moving 2014-06-23 22:31:32 +02:00
Tom Beckmann
5521478ad5 make sure the active workspace's icongroup is always visible 2014-06-23 22:26:42 +02:00
Tom Beckmann
c99bafce16 make sure a window can be activated before closing the view 2014-06-23 21:46:07 +02:00
Rico Tzschichholz
97b71fce4b More API clean ups
Drop "window_stacking_order" and "windows_restacked" from window-manager
and replace it by an implementation in TiledWindowContainer
2014-06-23 21:29:18 +02:00
Rico Tzschichholz
195dfd06f9 Avoid using lambdas to disconnect properly 2014-06-22 23:44:07 +02:00
Rico Tzschichholz
287b080288 Clean up select_next_window and avoid more type-checks in favor of casts 2014-06-22 23:36:58 +02:00
Rico Tzschichholz
f3a3c848db Replace type-checks with simple cast where possible 2014-06-22 19:54:46 +02:00
Rico Tzschichholz
e1097f5882 Clean up API a bit 2014-06-22 19:30:14 +02:00
Tom Beckmann
fd7f0ad753 only draw the plus sign on the last workspace 2014-06-22 19:09:33 +02:00
Tom Beckmann
1dd51b4ae4 make placement of icon groups more stable, prepare for window insert code 2014-06-22 18:17:16 +02:00
Tom Beckmann
7c190df02c decrease pulse animation scale 2014-06-22 17:56:35 +02:00
Tom Beckmann
c9324d31d2 use a click action on the icon groups to force both button press and release to be on that actor 2014-06-22 17:54:13 +02:00
Rico Tzschichholz
1f15d25853 Fix build with mutter git 2014-06-22 09:22:30 +02:00
Rico Tzschichholz
345148df43 merge trunk 384 2014-06-22 09:17:52 +02:00
Tom Beckmann
a3fcb17c86 fix regression on DnD 2014-06-21 19:58:03 +02:00
Tom Beckmann
1ea3fd452c lots of cleanup, add copyright headers, remove unused classes 2014-06-21 16:29:59 +02:00
Tom Beckmann
933f8d5576 add proper multimonitor support if workspaces-only-on-primary is enabled 2014-06-21 16:04:24 +02:00
Tom Beckmann
efa173fda1 fix hotcorners not being available when screensaver is uninstalled 2014-06-21 12:57:49 +02:00
Tom Beckmann
38437474f8 update shadows and window positions if they changed while the view was closed 2014-06-21 12:52:48 +02:00
Tom Beckmann
ed459f6529 fix a problem where the first workspace could not be removed 2014-06-19 17:04:16 +02:00
Tom Beckmann
25916425c2 make sure icon groups stay centered when adding/removing 2014-06-18 19:04:40 +02:00
Tom Beckmann
2aacc047b0 fix crash on selecting a window from a different workspace in windowoverview 2014-06-18 18:57:00 +02:00
Tom Beckmann
4c08373810 draw a custom shadow around windows, use window textures only which have better filtering when scaled 2014-06-18 18:55:22 +02:00
Tom Beckmann
4debed4fed make sure windows are removed from a workspace when they are moved to another 2014-06-18 16:01:54 +02:00
Tom Beckmann
3e6519fefd add basic keyboard navigation 2014-06-17 23:34:08 +02:00
Tom Beckmann
bba903a5f3 check if a transient dialog spawns after closing a window and close the view in that case 2014-06-17 19:50:16 +02:00
Tom Beckmann
f42b885f38 improve performance of central open function, don't draw plus signs when using static workspaces 2014-06-17 19:31:30 +02:00
Tom Beckmann
32bb21243b improvements for multimonitor handling, cleanup previous commit 2014-06-17 17:19:42 +02:00
Tom Beckmann
15bc1b33ef fix icons sometimes not being loaded correctly, fix windows appearing on all workspaces instead of only the one they belong to 2014-06-17 16:17:23 +02:00
Tom Beckmann
c8a4515665 remove workspace immediately while in modal mode 2014-06-17 15:17:45 +02:00
Tom Beckmann
9ccd433049 add a backdrop to icongroups while they're active 2014-06-17 15:02:42 +02:00
Tom Beckmann
4ec9f2e6b6 fix issue where the view would close after closing a window, make windows take the correct spot after being opened while the view is open 2014-06-16 15:00:19 +02:00
Tom Beckmann
5adb6566f6 allow keybindings to pass through while in multitaskingview, start implementing selecting windows via keyboard 2014-06-15 23:43:34 +02:00
Tom Beckmann
5d8d3b0f71 fix scrolling going crazy, reorder some properties 2014-06-15 21:02:20 +02:00
Tom Beckmann
3aaa42dc90 fix fallbacks not being used and remove the new ones 2014-06-15 20:36:39 +02:00
Tom Beckmann
0e77abb21f connect close button, add window icon 2014-06-15 20:33:10 +02:00
Tom Beckmann
ff48c641fd Various small fixes, added workspace manager, new animations for IconGroup 2014-06-14 19:19:24 +02:00
Rico Tzschichholz
a06d946710 Updates for Mutter 3.13.2+ 2014-06-03 21:24:52 +02:00
Rico Tzschichholz
0212e277da Update texts of EndSessionDialog and distinguish between shutdown/logout 2014-06-03 20:20:59 +02:00
Tom Beckmann
0af86fdbf9 greatly reduce number of crashes by adding fallback to icon loading code 2014-05-30 21:57:17 +02:00
Tom Beckmann
2977609308 add dnd interactions 2014-04-29 21:35:49 +02:00
Tom Beckmann
befc6cc8f8 add alt-tab-window-opacity key to configure opacity of faded-out windows 2014-04-19 14:57:09 +02:00
Tom Beckmann
84355bbdca update to latest trunk 2014-04-19 14:07:03 +02:00
Tom Beckmann
b6a714034c update to trunk 2014-04-19 14:06:11 +02:00
Tom Beckmann
83fced6513 make sure the allocated system memory size is really large enough 2014-04-19 13:34:53 +02:00
Rico Tzschichholz
0257a23691 codestyle: Drop trailing spaces/tabs 2014-04-08 14:51:06 +02:00
Tom Beckmann
0e3e371524 throw an error if an invalid type is given 2014-04-08 10:53:31 +02:00
Rico Tzschichholz
b580313fb6 Add and use EndSessionDialogType enum and construct-property cleaning 2014-04-08 10:48:28 +02:00
Tom Beckmann
f85a721e0c add docs, add construct blocks 2014-04-08 10:30:40 +02:00
Tom Beckmann
1cc7a0467a drop set_modal(true) as it has no effect 2014-04-08 10:03:32 +02:00
Tom Beckmann
f1d1e23381 emit closed signal 2014-04-08 09:59:56 +02:00
Tom Beckmann
9fb5bf53d1 clean up code, add translations 2014-04-08 09:50:59 +02:00
Tom Beckmann
7cf89b4f59 Add an endsessiondialog 2014-04-07 14:41:14 +02:00
Tom Beckmann
d808003e1d fix ordering of class members, make recalculate_regions private 2014-04-06 20:03:24 +02:00
Tom Beckmann
549215efb8 make region gathering code nicer 2014-04-06 18:22:37 +02:00
Rico Tzschichholz
0d4c57772a Merge trunk r371 2014-03-22 08:15:41 +01:00
Victor Martinez
2f24f871e5 Emit BackgroundChanged DBus signal when the wallpaper changes 2014-03-17 23:44:47 +01:00
Tom Beckmann
8bd6411dd8 various little fixes 2014-03-12 21:04:08 +01:00
Tom Beckmann
e26d4274a0 Fix various little problems, add track_actor functionality, add extended
plugin info allowing plugins to replace built-in componenets, allow them
to delay their load.
2014-03-12 20:06:23 +01:00
Rico Tzschichholz
d8ac8c372e src: Add missing copyright headers 2014-03-09 20:09:07 +01:00
Rico Tzschichholz
1d28ef24ef Drop support for Mutter < 3.8.4 2014-03-09 18:04:43 +01:00
Tom Beckmann
efa9733c57 correct valac version, add min version requirement for libmutter, fix whitespaces 2014-03-09 12:29:09 +01:00
Tom Beckmann
3fcb14e764 Ported plugins branch to autotools based on the setup of lp:~docky-core/docky/plank-docky
Default plugins are not compiled and installed yet
2014-03-08 20:05:56 +01:00
Tom Beckmann
1baf0793cb add average color calcuation copied from plank 2014-03-07 00:31:37 +01:00
Tom Beckmann
f1fb0f45fb bump required vala version to 0.22 to benefit from cogl vapi fixes, ditch custom cogl vapi, but add a small fix for it, change dbus API, add copyright info 2014-03-06 22:21:43 +01:00
Tom Beckmann
baebdb9dd6 Add get_optimal_panel_alpha method to dbus interface
Code to figure out the actual alpha is by jacobparker1992, new cogl vapi is by smndtrl
2014-03-05 23:21:28 +01:00
Tom Beckmann
af8f3608dc add first implementation of multitaskingview to replace workspaceview 2014-02-21 15:25:10 +01:00
Rico Tzschichholz
913721161f Adjustments for mutter 3.11.5 API changes 2014-02-05 19:06:21 +01:00
Tom Beckmann
bae5d02475 split gala into a wm part and a library, add plugin system, move zooming out to a plugin, add a template plugin 2013-12-17 20:10:03 +01:00
Rico Tzschichholz
1021be483e Use MT-safe Clutter.Threads.Timeout.add () instead of GLib.Timeout.add () 2013-11-27 19:50:56 +01:00
Tom Beckmann
9b78a00cbe simplify slideshow/static image switching, add animation when switching between different types 2013-11-23 00:12:47 +01:00
Rico Tzschichholz
25e011135e build: Yet more compat fixes for mutter >= 3.4 2013-11-22 22:09:33 +01:00
Rico Tzschichholz
1d2ddad0e2 build: More compat fixes for mutter >= 3.4 2013-11-22 21:56:09 +01:00
Rico Tzschichholz
805f48530a build: Make it compile with mutter >= 3.4 2013-11-22 21:14:24 +01:00
Rico Tzschichholz
82d1dff7aa background: Make *_string_to_enum methods static 2013-11-22 21:01:27 +01:00
Rico Tzschichholz
bc4ec5ab64 background: Handle picture-uri more careful 2013-11-22 20:56:35 +01:00
Tom Beckmann
93f3286311 revert revision 374 because it fails to handle some cases. Adding animations when switching to slideshows will be revisited later 2013-11-22 16:09:29 +01:00
Tom Beckmann
f021bcd8d2 fix wallpaper on second monitor being moved away, fix cache to actually enable waiting for a loading texture 2013-11-18 15:09:43 +01:00
Rico Tzschichholz
6406995a01 cleanup: Organize fields/properties and use gobject-style-contstruction 2013-11-18 12:39:40 +01:00
Tom Beckmann
6c6c491103 fix session intialization being blocked by gala 2013-11-17 13:37:59 +01:00
Tom Beckmann
a5943e5be7 add animation when switching from wallpaper to slideshow 2013-11-16 18:20:41 +01:00
Tom Beckmann
f98871ae61 workspacethumb: fix weirdnesses with the last workspacethumb and the opacity change 2013-11-16 17:13:15 +01:00
Tom Beckmann
05721f9273 add 'owned' to update_image's image parameter 2013-11-16 16:30:56 +01:00
Tom Beckmann
69f3bc2bb8 readd copyright notices to the background related files 2013-11-16 12:36:34 +01:00
Tom Beckmann
34b4613325 workspaceview: fix click outside to close not working after first close 2013-11-16 12:29:06 +01:00
Tom Beckmann
be906a98cd rewrite background system 2013-11-16 12:19:29 +01:00
Rico Tzschichholz
a5fd2630ca Merge trunk 362 2013-10-05 09:21:24 +02:00
Tom Beckmann
30a0226b5d add namespace 2013-10-04 21:55:50 +02:00
Tom Beckmann
ee641a99a1 clean up indentation, fix year 2013-10-04 21:22:52 +02:00
Tom Beckmann
a549baa191 ported background system from gnome-shell 2013-10-04 20:00:28 +02:00
Tom Beckmann
48c5e61fd5 plugin: disable input to stage when screen is locked
This is a slightly modified version of jaapz' branch trying to make the
method more general by applying the lock in update_input_area.
begin_modal will now set the the input area to FULLSCREEN, so
set_input_area is no longer required to be called from the
windowoverview or the workspaceview.
2013-09-29 00:17:35 +02:00
Rico Tzschichholz
6eb9c4d38f Updates for mutter 3.9.90 api changes 2013-08-29 10:09:58 +02:00
Tom Beckmann
e79d4484c3 windowthumb: properly check if a window is not destroyed when asked to close and focus it in that case 2013-08-27 08:22:58 +02:00
Tom Beckmann
ccb259dc35 plugin: add the option to assign different commands to each hotcorner while staying compatible to the previous scheme 2013-08-26 19:45:01 +02:00
Tom Beckmann
3135b6fdfd windowthumb: use button-release-event instead of button-press-event to catch problems with unintentional clicks that happen after the modal mode is exited and the release happens 2013-08-26 19:15:42 +02:00
Wojciech Inglot
b7887b219a windowswitcher: fix alt tab behaviore with minimized windows 2013-08-18 23:09:23 +02:00
Tom Beckmann
6f82c6d889 windowoverview: make sure a window is actually supposed to show up when exiting 2013-08-10 22:53:51 +02:00
Tom Beckmann
28207b62c9 workspacethumb, windowthumb: place close button according to button-layout key 2013-08-09 19:00:29 +00:00
Tom Beckmann
51f054ccee connect signal directly 2013-08-09 20:37:25 +02:00
Tom Beckmann
a594d85f2b replace last constant value 2013-08-09 14:52:20 +02:00
Tom Beckmann
db743fd318 use switch statements and calculated values instead of constants 2013-08-09 13:12:21 +02:00
Tom Beckmann
9171b9f8fb plugin: reset properties once minimizing finished 2013-08-07 20:19:52 +02:00
Tom Beckmann
ca13862f70 windowoverview: focus window on a different workspace correctly 2013-08-05 00:39:48 +02:00
Tom Beckmann
04f458fc25 windowswitcher: check if the alt key has been released at the end of the setup function to prevent lockups 2013-08-05 00:35:22 +02:00
Tom Beckmann
fec97f1469 plugin: disable input to stage when screen is locked
This is a slightly modified version of jaapz' branch trying to make the method more general
by applying the lock in update_input_area. begin_modal will now set the the input area
to FULLSCREEN, so set_input_area is no longer required to be called from the windowoverview
or the workspaceview.
2013-08-03 13:15:11 +02:00
Tom Beckmann
9586eee40e adjust to most recent granite api changes 2013-07-17 00:25:56 +02:00
Tom Beckmann
a28227d641 workspacethumb, windowthumb: place close button according to button-layout key 2013-07-15 22:02:47 +02:00
Rico Tzschichholz
16276ce0fc Merge trunk 2013-07-14 19:20:53 +02:00
Tom Beckmann
6a21e0c5af remove debug prints 2013-07-14 18:51:47 +02:00
Tom Beckmann
423a45c375 workspacethumb: make sure we never close the last workspace, restructure condition checking in that area 2013-07-14 17:32:52 +02:00
Tom Beckmann
4ebb8aea3a windowswitcher: add option to configure fade opacity 2013-07-14 14:13:31 +02:00
Tom Beckmann
8b29651411 windowoverview: check for the window type of later opened windows 2013-07-14 13:05:59 +02:00
Tom Beckmann
17d9605db8 plugin: ring bell when an impossible window move is attempted, utils: add a bell method 2013-07-14 01:37:28 +02:00
Tom Beckmann
c50c08f3db plugin: remove clear hint 2013-07-13 23:51:04 +02:00
Tom Beckmann
bb3fe6c0bc fix clicks in workspaceview not being registred 2013-07-13 20:22:00 +02:00
Tom Beckmann
8afacc9f08 fix alt-tab 2013-07-13 19:10:59 +02:00
Tom Beckmann
7420b34b80 fix and cleanup things 2013-07-13 18:47:27 +02:00
Tom Beckmann
1c9ba8bde9 plugin: add basic support for backgrounds in mutter 3.8 2013-07-11 23:51:43 +02:00
Raphael Isemann
b79269796b Added the keyword Mutter as prefix for WM_NAME 2013-07-02 08:42:28 +02:00
Tom Beckmann
56759f343a fix regression in rev336 where lonely minimized windows would no longer unminimize on alt-tab 2013-07-01 22:25:41 +02:00
Tom Beckmann
1d5d215f01 plugin: allow cycling through workspaces with <super>tab and <super><shift>tab 2013-07-01 20:43:54 +02:00
Tom Beckmann
5bec3a0e0f windowswicher: use an audible (or visual if configured) bell when there is only a single window instead of the weird animation 2013-07-01 20:19:13 +02:00
Tom Beckmann
541530a206 workspacethumb: Use new DragDropAction for DnD in WorkspaceOverview
This adds a new DragDropAction, as the clutter ones are not working properly in our scenario. Namely, there were some troubles with clicks being blocked and https://bugs.launchpad.net/gala/+bug/1162248 which was caused by the listener on the stage never being removed for unknown reasons. Those problems are fixed by this branch.
2013-06-30 15:00:33 +00:00
Tom Beckmann
32f899c85d change names for signal handlers accordingly, tweak annotations 2013-06-27 19:39:41 +02:00
Tom Beckmann
2f0e3dcf2e move values to constants, rename signals to closer match ClutterDragAction 2013-06-27 15:41:18 +02:00
Tom Beckmann
eeccd29bbe use temp vars instead of casting all the time 2013-06-27 14:58:20 +02:00
Rico Tzschichholz
b81a32abf7 cleanup get_drag_drop_action, change constructor 2013-06-27 14:52:44 +02:00
Tom Beckmann
3703a701aa add gala namespace to DragDropAction class 2013-06-27 14:12:51 +02:00
Tom Beckmann
be7ff00b07 workspaceview: simplify workspacethumb creation, just use what mutter gives us. This also enables keeping the windows where they were, even when restarting gala 2013-06-27 14:05:30 +02:00
Tom Beckmann
f48f9e3449 check for greater-than instead of not-equal for n windows 2013-06-27 13:40:22 +02:00
Tom Beckmann
d60be57fa1 move &&s around 2013-06-27 13:35:14 +02:00
Tom Beckmann
1a52d9c59c rename method 2013-06-27 13:21:37 +02:00
Tom Beckmann
5584a6240e workspaceview: refine preference listener for changes on num workspaces and dynamic workspaces 2013-06-27 11:47:06 +02:00
Tom Beckmann
28cf263df2 workspaceview: simplify workspacethumb creation, just use what mutter gives us. This also enables keeping the windows where they were, even when restarting gala 2013-06-26 15:35:14 +02:00
Tom Beckmann
05ed8e811f forgot DragDropAction.vala file 2013-06-26 14:07:05 +02:00
Tom Beckmann
1e7ab1d307 workspacethumb: use a new DnD action class to fix various problems with the clutter one 2013-06-26 13:57:42 +02:00
Rico Tzschichholz
86e789323d Update and fix for mutter 3.9.1+ 2013-05-23 15:40:25 +02:00
Tom Beckmann
42adee1bd3 workspaceview: don't use meta_get_window_actors as it apparently hates us 2013-05-20 13:00:30 +00:00
Tom Beckmann
8cd230a0ee make sure we actually have an actor for a window 2013-05-20 14:34:14 +02:00
Tom Beckmann
168fed98b9 Cleanup 2013-05-20 14:30:12 +02:00
Rico Tzschichholz
c4be896f5d windowswitcher: Update for plank api change 2013-05-20 08:21:52 +02:00
Tom Beckmann
366579d46b workspaceview: don't use meta_get_window_actors as it apparently hates us 2013-05-18 18:13:17 +02:00
Tom Beckmann
e9cbb893d2 fixed syntax errors from rev324 2013-05-11 16:43:06 +02:00
Tom Beckmann
41dc0838e4 workspacethumb: Add proper null check for meta_get_window_actors 2013-05-11 15:35:45 +02:00
Tom Beckmann
29d053493b dont use meta_window_located_on_workspace where it's not available 2013-05-11 15:03:07 +02:00
Tom Beckmann
86da6d3699 remove blank line 2013-05-03 18:57:04 +02:00
Tom Beckmann
b06b3137ac Add watches for window_left_monitors to the places where we use window clones 2013-05-03 18:53:49 +02:00
Rico Tzschichholz
1487a78b27 windowswitcher: Redraw fake-plank if the theme changed 2013-04-28 11:30:41 +02:00
Tom Beckmann
f27f64b8a6 Revert change in workspaceview entirely, make resize private 2013-03-29 18:45:46 +01:00
Tom Beckmann
5c483376b6 Make each thumb listen for the change 2013-03-29 18:41:25 +01:00
Tom Beckmann
ff891d2c21 workspacethumb: move resizes that depend on the screen size out to one central method and listen for monitor changes 2013-03-29 18:05:41 +01:00
Tom Beckmann
7861d5956b workspacethumb: make background buffer static to increase performance 2013-03-29 17:49:52 +01:00
Rico Tzschichholz
b2686842ed Just make it compile and run with mutter 3.8
Properly handling the background is missing!
2013-03-27 17:52:39 +01:00
Tom Beckmann
6af2a9154a Fixing some errors 2013-03-26 20:22:24 +01:00
Rico Tzschichholz
d464cdc55f plugin: update for binding changes 2013-03-26 19:06:23 +01:00
Rico Tzschichholz
977175ee30 Make sure we don't procede if Compositor.get_window_actors is null 2013-03-26 17:50:07 +01:00
Tom Beckmann
75747cecc5 plugin: make docks not added while switching workspaces when a fullscreened window in on one of the workspaces 2013-03-26 15:11:33 +01:00
Tom Beckmann
b88e40b7c1 workspacethumb: fix the disappearing plus sign issue 2013-03-25 14:04:19 +01:00
Tom Beckmann
07c50e88a3 windowoverview: Added check for window's monitor as there is possibly a bug 2013-03-23 23:16:12 +01:00
Tom Beckmann
08e683d2a7 Use plank's surface to draw the workspace thumb's background 2013-03-23 22:40:27 +01:00
Tom Beckmann
62096214e8 Add a warning about the closed window 2013-03-23 16:19:16 +01:00
Tom Beckmann
ffd0888dbb Add info about the window if watch_window is called when it should not be called 2013-03-23 16:11:01 +01:00
Tom Beckmann
806d89f49c Delete the clones list in watch_windows 2013-03-23 16:09:35 +01:00
Tom Beckmann
cc064cb74f Fix meta_window_appears_focused crashes happening on workspace switching if a dock closes 2013-03-22 23:52:04 +01:00
Tom Beckmann
0329374a4e windowoverview: make sure the close button disappears on closing 2013-03-20 17:27:15 +01:00
Tom Beckmann
6f09a317d0 plugin: add move-to-workspace-first/last keybindings 2013-03-20 17:04:50 +01:00
Tom Beckmann
cac2828284 windowoverview: allow navigating via arrow keys and mouse 2013-03-20 16:44:00 +01:00
Tom Beckmann
9ac446201b windowswitcher: make sure the switcher won't close twice 2013-03-20 16:19:40 +01:00
Tom Beckmann
8c965b6a4d workspaceview: remove the rather broken timeout for showing the workspace during a workspaceswitch 2013-03-20 16:12:52 +01:00
Tom Beckmann
d0efe77bd8 windowswitcher: make sure gala won't lock up if the windowoverview is overriden 2013-03-19 23:07:44 +01:00
Tom Beckmann
2a9fa6e7c5 windowswitcher: call activate if we only got one window on that window 2013-03-19 20:55:12 +01:00
Tom Beckmann
90c133e718 windowoverview: don't duplicate windows that are on all workspaces 2013-03-19 20:51:35 +01:00
Tom Beckmann
753585b146 Workspaceview: wait for workspaceswitch animation to be finished before closing to fix bug #1051732. 2013-03-11 04:52:59 -05:00
Tom Beckmann
94b6a7152f workspaceview: visual improvements, namely custom drawn plus sign, border and top stroke for thumbs and overlaid noise texture on the view 2013-02-17 01:38:16 +01:00
Tom Beckmann
d289153a08 windowswitcher: move the dock-names list to gsettings instead of hardcoding it 2013-02-10 15:01:15 +01:00
Rico Tzschichholz
7a4972df2c Clean up 2013-02-10 14:49:36 +01:00
Tom Beckmann
cf6fa2381d plugin: only forbid creating empty workspaces when being in dynamic workspace mode 2013-02-10 14:37:14 +01:00
Tom Beckmann
4464446d9f Add cache cleaning 2013-02-10 13:38:07 +01:00
Tom Beckmann
7f4a3c64c6 windowswitcher: if we're alt-tabbing with a single minimized window, unminimize it 2013-02-09 15:28:01 +01:00
Tom Beckmann
4036428a66 workspaceview: allow toggling with hotcorner 2013-02-09 15:05:45 +01:00
Tom Beckmann
60f64925c8 workspacethumb: Use click action for close button as well 2013-02-09 14:54:16 +01:00
Tom Beckmann
0f2f5c8c7b workspaceview: wait for workspaceswitch animation to be finished before closing 2013-02-08 23:56:23 +01:00
Tom Beckmann
e2988893c2 windowoverview: even out close button placements 2013-02-08 23:32:26 +01:00
Tom Beckmann
066d731f90 workspacethumb: use ClutterClickAction instead of button_release_event for selecting, so we won't active the workspace whenever an icon is dropped on it 2013-02-08 23:15:16 +01:00
Tom Beckmann
85b9cbad06 plugin: don't attemp to animate minimize of non-NORMAL type windows. May be related to the ide-crashes, looking at the backtraces 2013-02-08 23:08:16 +01:00
Tom Beckmann
f3eefe7582 Add icon size handling 2013-02-08 19:30:00 +01:00
Tom Beckmann
c6e094f7b9 Update to latest trunk 2013-02-08 19:22:33 +01:00
Rico Tzschichholz
45c3d6ffdc windowswitcher: pass the correct plank theme
Needed after the recent changes in plank
2013-02-04 16:40:41 +01:00
Rico Tzschichholz
23bc07175e Some structure changes
Still need to distinguish between different icon-sizes
2013-02-03 18:24:34 +01:00
Rico Tzschichholz
5e8b5d4d80 Make Utils a class instead of just a namespace
No changes here besides making all methods static
2013-02-02 17:41:40 +01:00
Tom Beckmann
5344a9c630 Add a cache for xid:app and app:icon pairs 2013-02-02 16:26:50 +01:00
Sergey Shnatsel Davidoff
efb772b494 split keybindings in a separate GSettings schema 2013-01-31 21:12:19 +04:00
Tom Beckmann
03983dea1f plugin: fix located-on-workspace crash by no longer manually handling focusing after window move across workspaces 2013-01-30 23:05:32 +01:00
Tom Beckmann
7bd6014483 Raise the container, not the window 2013-01-30 15:38:57 +01:00
Tom Beckmann
01a1c64502 Destroy container for the moving window 2013-01-30 15:32:00 +01:00
Tom Beckmann
7222941d12 gschema: change switch-to-first/last to move-to-first/last to match mutter's naming 2013-01-30 15:02:59 +01:00
Sergey Shnatsel Davidoff
065fa69ad8 consider both 'Docky' and 'docky' supported 2013-01-30 15:46:43 +04:00
Sergey Shnatsel Davidoff
e394f384ee change 'Docky' to 'docky' in list of supported docks, as per bug 1082996; the proper fix would be turning it into a GSettings key 2013-01-30 14:05:00 +04:00
Sergey Shnatsel Davidoff
c3f96300c1 renamed custom move-to-workspace-* keys to switch-to-workspace-* 2013-01-30 13:58:59 +04:00
Rico Tzschichholz
c7e727bf66 Minor clean up 2013-01-28 19:26:07 +01:00
Tom Beckmann
826a6f72cd gschema: remove theme key 2013-01-24 22:24:39 +01:00
Tom Beckmann
203b36903a workspaceview: change order of opening to prevent lockup when coming from windowoverview 2013-01-23 17:25:26 +01:00
Tom Beckmann
d7e9c79330 Remove the theme key, this time correctly 2013-01-23 16:54:26 +01:00
Tom Beckmann
12fa2963f3 Fix moving window being offseted while moving it in workspaceview 2013-01-20 15:07:28 +01:00
Tom Beckmann
9dd27b762e Fix the window_located_on_workspace crashes by giving the focus handling for window moving to mutter 2013-01-20 14:36:29 +01:00
Tom Beckmann
38b1445a25 windowthumb: use button_release event on close button in order to prevent the view closing by a late button release (which would then be emitted on the background) 2013-01-20 11:11:51 +01:00
Tom Beckmann
ae4926b10f windowthumb: drop the animation for closing the window. Apparently it relied on the fact that most windows are on the current workspace, those which are not don't get a closing animation and are instantly deleted causing a crash if we continue to use the close 2013-01-20 10:26:21 +01:00