Robert Bragg
0058271aaa
Re-works the approach to supporting live preview to handle stacking.
...
We can't easily use a metacity layer to hide windows as that means we
loose our original stacking position. (Metacity's stack positions are
only valid within a single layer) We now have a "guard window" per
screen that is a fullscreen override redirect that is lowered to the
bottom of the stack. Hidden windows now remain in their original layer
so the stacking position remains valid, but all hidden windows get
XRestacked under the guard window.
A new compositor hook is also added to inform it when a window becomes
hidden/unhidded, this lets us map/unmap the corresponding actor.
missing files in preview commit (TODO: rebase -i and squash this later)
2008-11-03 14:50:22 +00:00
Robert Bragg
cfa45beee1
exposes meta_window_showing_on_its_workspace via mutter_window_showing_on_its_workspace
...
This e.g. allows a switcher plugin to determine if a mutter window corresponds
to a minimized or visible window
2008-11-03 14:45:28 +00:00
Robert Bragg
7ea4380725
Adds a compositor_private member to MetaWindow
...
Since we often need to find a MutterWindow corresponding to a MetaWindow
this make it a simple de-reference of a compositor private pointer.
2008-10-31 09:10:10 +00:00
Robert Bragg
6d8baea4c2
[stacking] Simplifies the way compositor code has to handle stacking
...
The compositor now gets handed a GList of MetaWindows when the stacking
gets syncd with the X server.
2008-10-30 22:09:48 +00:00
Owen W. Taylor
20ce1e77d9
Don't show_all() the stage and overlay group at initialization.
...
Calling clutter_actor_show_all() on the stage and overlay_group breaks
the ability for plugins to create initially hidden actors. Call
clutter_actor_show() instead.
2008-10-31 18:59:04 -04:00
Owen W. Taylor
15daecacdc
Allow absolute paths instead of plugin names
...
If a mutter plugin name (in GConf, or more likely on the command line)
looks like an absolute path, use that path directly rather than
looking for the plugin in the plugins directory.
2008-10-31 02:13:53 -04:00
Owen W. Taylor
6683b5efff
Clean up messages when loading plugins
...
Remove a "got here" leftover, remove unnecessary trailing \n when
calling g_message(), include g_module_error() in the output when
loading a module fails.
2008-10-29 14:40:51 -04:00
Owen W. Taylor
783e51281a
Fix installation with --disable-static
...
If --disable-static is passed to configure, then .a files won't be built
or installed. Make removing them in install-exec-hook not fatal if they
don't exist.
2008-10-29 11:58:43 -04:00
Tomas Frydrych
f80e39e2ca
mutter_plugin_get_screen()
2008-11-03 10:07:12 +00:00
Tomas Frydrych
685bbb2e64
Fixed format
2008-11-03 09:59:01 +00:00
Matthew Allum
e85f67f564
Fix minor warning
2008-10-31 23:37:46 +00:00
Matthew Allum
eeb762e1e2
Remove overlay debug message.
2008-10-31 23:12:40 +00:00
Matthew Allum
3991e82539
Set TFP texture filter-quality to high (as to enable mipmaps)
2008-10-31 16:28:33 +00:00
Tomas Frydrych
312cbf3e04
Added G_MODULE_BIND_LOCAL for plugin load.
...
See http://bugzilla.openedhand.com/show_bug.cgi?id=1216 .
2008-10-31 08:08:08 +00:00
Tomas Frydrych
ce2bfc008d
mutter_window_get_description()
...
Human redable description useful for debugging, now accessible to plugins and
and also for override redirect windows.
2008-10-30 08:30:42 +00:00
Tomas Frydrych
b2fe0097e6
mutter_plugin_get_xdisplay()
2008-10-29 13:27:35 +00:00
Tomas Frydrych
e4501f801e
mutter_plugin_set_stage_input_region()
2008-10-29 13:03:03 +00:00
Tomas Frydrych
7bef175590
MUTTER_PLUGIN_DIR variable/define
...
Define for use in plugin manager
Makefile variable for plugin pc file and plugin installation.
2008-10-29 10:28:48 +00:00
Tomas Frydrych
a4a102726e
Removed tridy-grid and scratch plugin
2008-10-29 09:01:50 +00:00
Matthew Allum
a42ea69d0e
Tweak workspace switcher to display all windows
2008-10-28 23:04:51 +00:00
Tomas Frydrych
8f594c93cd
Added StructureNotifyMask for override redirect windows.
...
We need to be getting ConfigureNotify events for these, so we can respond
to changes in position of these windows. We cannot add this to windows
Metacity manages, as this makes it got mental.
2008-10-28 13:02:33 +00:00
Tomas Frydrych
8f8a193c7e
Revert "Add StructureNotifyMask windows the compositor is interested in."
...
This reverts commit f76f4dc898c435d9a15bc96a9aad89526f69fcb2.
2008-10-28 12:27:30 +00:00
Matthew Allum
c283fbe9b3
Merge branch 'clutter' of ssh://gitserver@git.o-hand.com/metacity-clutter into clutter
2008-10-28 11:34:05 +00:00
Matthew Allum
53d89a7fd5
Tweak/fix/improve workspace switching effect
2008-10-28 11:30:29 +00:00
Tomas Frydrych
68c2f75558
Changes necessary to build plugins out of tree:
...
metacity-plugins.pc.in
installation necessary header files
fixed misplaced inclusion of config.h
2008-10-28 10:45:45 +00:00
Tomas Frydrych
2a3445c865
Add StructureNotifyMask windows the compositor is interested in.
2008-10-27 17:17:09 +00:00
Tomas Frydrych
b1c5a2e221
Added mutter_get_plugin() to mutter-plugin.h
...
So we can completely hide the struct name from plugins.
2008-10-27 10:34:32 +00:00
Tomas Frydrych
1d6e70a49d
Fixed stale comment.
2008-10-27 09:38:21 +00:00
Tomas Frydrych
310970a91b
De-C99fied default and scratch plugins.
2008-10-27 09:33:58 +00:00
Tomas Frydrych
07c1003905
Live previews for hidden windows.
...
ClutterActors for hidden windows (such windows on different than active
workspaces and windows that are minimized) are available, and reflect the
actual state of the window. This is intended for use in task-switchers etc.
This feature is disabled by default (due to increased demand on resources),
and can be enabled through the metacity/general/live_hidden_windows gconf key.
A trivial sample window switcher is included in the scratch plugin (activated
by clicking on the slide out panel).
2008-10-24 10:07:24 +01:00
Matthew Allum
273d213509
Integrate in Ebassi's workspace switching code from ui-hackfest branch.
2008-10-23 15:36:33 +01:00
Matthew Allum
4d441a6f7b
Make the overlay message a little less in your face..
2008-10-23 12:53:01 +01:00
Tomas Frydrych
3cc7b2c74d
Fixed how windows are added to avoid duplication.
2008-10-22 17:12:15 +01:00
Tomas Frydrych
275cccb136
Fixed process_reparent()
2008-10-22 14:40:06 +01:00
Iain Holmes
be11a6bf72
Allow framed ARGB windows to have a shadow
...
When creating the drop shadow source, just have a translucent centre
2008-10-21 16:51:18 +01:00
Tomas Frydrych
0684ef95c5
Fixed up stage reactivity bug.
2008-10-21 08:58:44 +01:00
Tomas Frydrych
775cb1f4a4
Removed plugin .features member (no longer required); reanambled all effects in scratch plugin by popular demand.
2008-10-20 13:04:46 +01:00
Tomas Frydrych
8a0ffa93eb
Merge branch 'clutter' of ssh://gitserver@git.o-hand.com/metacity-clutter into clutter
2008-10-20 08:54:03 +01:00
Tomas Frydrych
7ddb3a4663
Disabled event effects; disable_stage() convenience function.
2008-10-20 08:52:38 +01:00
Robert Bragg
9a66ce6b01
Removes unused files: compositor-clutter-plugin-manager.c and compositor-clutter-plugin.h
2008-10-17 17:12:57 +01:00
Robert Bragg
08c3c187eb
Removes the running counter from the plugins and instead manage it internally
...
to the plugin manager
2008-10-17 17:10:15 +01:00
Tomas Frydrych
b422faa4fe
Fixed build when building without --with-clutter
2008-10-17 12:45:45 +01:00
Tomas Frydrych
a8dd848ca4
Connect to captured-event signal on stage for generic panel processing
...
This is to allow the panel to handle events the normal way without interference
2008-10-17 11:02:04 +01:00
Tomas Frydrych
143cb3d60b
white space tweaks
2008-10-17 07:25:18 +01:00
Tomas Frydrych
92610f53c3
renamed DefaultPluginState to PluginState
2008-10-17 07:23:34 +01:00
Tomas Frydrych
30ece059cf
whitespace cleanup; use g_slice in scratch plugin.
2008-10-16 23:29:24 +01:00
Tomas Frydrych
1e59d63e31
adjusted panel color and opacity
2008-10-16 23:08:12 +01:00
Tomas Frydrych
7380163eaf
Renamed moblin.c to avoid confusion
2008-10-16 23:04:32 +01:00
Tomas Frydrych
dc33ad1adf
Merge branch 'moblin-plugin' into clutter
...
Conflicts:
src/compositor/clutter/compositor-clutter-plugin-manager.c
src/compositor/mutter/plugins/Makefile.am
src/compositor/mutter/plugins/moblin.c
src/include/compositor-clutter-plugin.h
src/include/compositor-clutter.h
2008-10-16 23:02:34 +01:00
Tomas Frydrych
b5414c27a3
sliding panel
2008-10-16 15:50:03 +01:00