Commit Graph

112 Commits

Author SHA1 Message Date
Owen Taylor
f546d92033 Hide the group containing the windows while overlay is up
When we are animating the overlay, we don't want to be continually
redrawing the (obscured) window actors.

src/shell-global.c: Add 'window-group' property to expose the group
  holding the window actors.
js/ui/overlay.js: Hide the window group while the overlay is up.

svn path=/trunk/; revision=39
2008-11-08 19:33:33 +00:00
Owen Taylor
ffed9df171 Add dummy return values to metacity-symbols.c
Make sure that all functions in metacity-symbols.c with a return value
return something so that the compilation is clean.

svn path=/trunk/; revision=38
2008-11-08 15:49:01 +00:00
Colin Walters
19070be3ba Run gnome-terminal on alt-f2
svn path=/trunk/; revision=36
2008-11-07 18:42:23 +00:00
Owen Taylor
2ba8aaafca Don't overwrite existing LD_LIBRARY_PATH when running g-ir-compiler
When running g-ir-compiler, augment LD_LIBRARY_PATH with the current
directory, rather than overwriting it entirely.

svn path=/trunk/; revision=27
2008-11-03 20:41:25 +00:00
Owen Taylor
9d15b7c9e1 Install our typelib privately inside $(pkglibdir)
Installing the plugin typelib into $(libdir)/girepository is
non-sensical since no other program would want to reference it.
Move it to $(pkglibdir)/girepository instead. (Will need to set
environment variables to find it when we make installed operation
work.)

svn path=/trunk/; revision=25
2008-11-02 04:18:43 +00:00
Owen Taylor
e624b2a241 First stab at showing windows in the overlay
shell-global.[ch]: Add shell_global_get_windows() to get
  the list of all MutterWindow for the  screen
Makefile.am: Include the metacity typelib so that we can
  reference the MutterWindow type
js/ui/overlay.js: Cascade the open windows, scaled down
  in the overlay

svn path=/trunk/; revision=24
2008-11-02 04:18:41 +00:00
Owen Taylor
9c4d104630 Add annotations to fix return-value transfer for shell_global_get()
Default transfership for a GObject return value is 'full', override
it to 'none' for a singleton getter.

svn path=/trunk/; revision=12
2008-10-31 18:24:29 +00:00
Owen Taylor
136dbbb41f Add shell_global_set_stage_input_area() to header file
shell_global_set_stage_input_area() wasn't in the header file
so it wasn't introspected; add it.

svn path=/trunk/; revision=9
2008-10-31 18:05:19 +00:00
Owen Taylor
7d6896a669 Add ShellGlobal.stage property
Add a property to get the root stage for the scene graph.

svn path=/trunk/; revision=8
2008-10-31 18:04:38 +00:00
Owen Taylor
dec83013fc Add an xevent_filter method to our plugin
By default, mutter doesn't pass events to clutter. We need to add an
xevent_filter method to our plugin and do that ourselves.

svn path=/trunk/; revision=7
2008-10-31 18:02:52 +00:00
Owen Taylor
2fd4c9058d Extend ShellGlobal object with more properties
* Add screen-width, screen-height, overlay-group properties
* Add set_stage_input_area() function
* Fix main.js to rotate DRAFT properly

svn path=/trunk/; revision=6
2008-10-31 15:20:54 +00:00
Owen Taylor
4ba985b484 Initial commit
A plugin for metacity-clutter (mutter) that initializes Javascript
and via Javascript adds an object to the mutter scene graph.

src/gnome-shell-plugin.c: metacity-clutter-plugin
src/shell-global.[ch]: Simple global-information object
js/: Directory for javascript
scripts/start-in-Xephyr: Launch metacity with our plugin
  "nested" within an Xephy X server

svn path=/trunk/; revision=2
2008-10-31 04:22:44 +00:00