aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox
AgeCommit message (Collapse)Author
2008-03-022008-03-02 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: (mb_wm_comp_mgr_clutter_map_notify_real): Only create shadows for select group of client types. * matchbox/theme-engines/mb-wm-theme-simple.h: Fixed broken include.
2008-02-292008-02-29 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: Initial stab at gaussian shadows.
2008-02-292008-02-29 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-root-window.c: (mb_wm_root_window_handle_message): Handle WM_CHANGE_STATE client message per ICCC.
2008-02-292008-02-28 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: (mb_wm_comp_mgr_clutter_fetch_texture): Handle shaped windows correctly. (mb_wm_comp_mgr_clutter_turn_on_real): Removed debug colour for stage.
2008-02-282008-02-28 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme-xml.c: * matchbox/theme-engines/mb-wm-theme.c: Fixed parsing of colour alpha. * data/themes/Default/theme.xml Added shaddow colour definition. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: Implemented simple shaddows.
2008-02-282008-02-28 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr.c: * matchbox/comp-mgr/mb-wm-comp-mgr.h: * matchbox/core/mb-window-manager.c: (mb_wm_sync): Added MBWMCompMgr::restack() virtual for CMs that need to track WM stacking order. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: Implemented MBWMCompMgrClutter::restack(). Fixed fade transition to handle transients correctly.
2008-02-282008-02-28 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-types.h: * matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: * matchbox/theme-engines/mb-wm-theme-xml.c: * matchbox/theme-engines/mb-wm-theme-xml.h: * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: * matchbox/comp-mgr/mb-wm-comp-mgr.c: * data/themes/Default/theme.xml: Added transition support to theme.
2008-02-282008-02-28 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr.c: * matchbox/comp-mgr/mb-wm-comp-mgr.h: * matchbox/core/mb-window-manager.c (mb_wm_cycle_apps): Simple API for client transition effects. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: (mb_wm_comp_mgr_clutter_client_destroy): Remove actor from stage when destroying cm client. (mb_wm_comp_mgr_clutter_transition_real): Sample transition implementation.
2008-02-282008-02-28 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr.h: (MBWMCompMgrEffect::run): (mb_wm_comp_mgr_client_run_effect): Simplified effect API by removing completion callback from run() function (no longer required; custom CM implementations must implement effects in a way that does not block the WM processing). * matchbox/core/mb-wm-client.c: (mb_wm_client_iconize): Adjusted following the above API change. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: (mb_wm_comp_mgr_clutter_effect_run_real): Set an EffectRunning flag on client to indicate that effect is in progress. (mb_wm_comp_mgr_clutter_client_hide_real): Do not hide client actor if effect is in progress. (mb_wm_comp_mgr_clutter_effect_completed_cb): Call clutter_actor_hide() when unmap or minimize effects are completed. * matchbox/comp-mgr/mb-wm-comp-mgr.c: (mb_wm_comp_mgr_client_run_effect): Release assumed reference on client object if no effects were started to avoid memory leak.
2008-02-272008-02-27 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac: Fixed incorrect string quoting. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: * matchbox/comp-mgr/mb-wm-comp-mgr-default.c: * matchbox/comp-mgr/mb-wm-comp-mgr.c: (mb_wm_comp_mgr_unregister_client): Moved shared code into the public function, and removed unnecessary implementations from the default and clutter managers. Removed call to mb_wm_comp_mgr_client_hide() as this interfers with managers implementing an unmap effect. * matchbox/comp-mgr/mb-wm-comp-mgr.h: Added MBWMCompMgr::unmap_notify virtual. * matchbox/comp-mgr/mb-wm-comp-mgr.c: (mb_wm_comp_mgr_map_notify): (mb_wm_comp_mgr_unmap_notify): Moved the effects handling for map and umap events out of MBWindowManager into the CM. (mb_wm_comp_mgr_client_run_effect): Take a temporary reference of the CM client object to enusure that it is not destroyed while an effect is running. * matchbox/core/mb-window-manager.c: (mb_wm_handle_unmap_notify): Removed handling of CM unmap effect. (mb_wm_unmanage_client): Extra comments.
2008-02-272008-02-27 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-debug.c: * matchbox/core/mb-wm-debug.h: Added DAMAGE debug domain. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: (mb_wm_comp_mgr_clutter_client_show_real): Clear DontUpdate flag if set. (mb_wm_comp_mgr_clutter_client_repair_real): Added debug output.
2008-02-272008-02-27 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-theme.c: (mb_wm_theme_paint_decor): (mb_wm_theme_paint_button): Remove superfluous calls to mb_wm_comp_mgr_client_repair().
2008-02-262008-02-26 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-client.c: (mb_wm_client_deliver_delete): Removed unmap effect hook.
2008-02-252008-02-25 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: Insert texture actors into a 'desktop' ClutterGroup rather than directly into stage to provide greater flexibility in subclassing.
2008-02-222008-02-22 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: (MBWMCompMgrClutterClient): Collapsed a bunch of boolean members into flag set; 'done' flag for effects that should only run once. * matchbox/core/mb-wm-client.c: (mb_wm_client_deliver_delete): Hooked unmap effect in.
2008-02-222008-02-22 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-window-manager.c: (mb_wm_manage_preexistsing_wins): Fixed handling of pre-exising windows when compositing. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: (mb_wm_comp_mgr_clutter_turn_on_real): Remove no longer needed pre-existing windows code. (mb_wm_comp_mgr_clutter_fetch_texture): Update actor position when re-fetching texture; use client geometry rather than pixmap geometery for actor size. (mb_wm_comp_mgr_clutter_map_notify_real): Removed unneeded effect callback. * matchbox/comp-mgr/mb-wm-comp-mgr.c: (mb_wm_comp_mgr_client_hide): (mb_wm_comp_mgr_map_notify): Added checks for NULL. (mb_wm_comp_mgr_unregister_client): Call mb_wm_comp_mgr_client_hide() to provide more coherent show/hide behaviour; clear the client data pointer.
2008-02-222008-02-22 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-client.c: (mb_wm_comp_mgr_map_notify): Removed superfluous mb_wm_comp_mgr_client_show/hide(). * matchbox/comp-mgr/mb-wm-comp-mgr.c: (mb_wm_comp_mgr_map_notify): Call mb_wm_comp_mgr_client_show() to provide more coherent show/hide behaviour. * matchbox/core/mb-window-manager.c: (mb_wm_comp_mgr_map_notify): Only call mb_wm_comp_mgr_client_hide() if we are not unregistering the client. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: Code cleanup.
2008-02-212008-02-21 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-window-manager.c: (mb_wm_main_real): * matchbox/managers/simple/matchbox-window-manager-2-simple.c: (main): Use clutter_x11_handle_event and clutter_x11_disable_event_retrieval to hook clutter into gdk event processing (needs clutter r2243+).
2008-02-21double xevent callbackTomas Frydrych
2008-02-212008-02-21 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-window-manager.c: (mb_wm_unmanage_client): Make sure that mb_wm_comp_mgr_client_hide() is called when unmanaging a client. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: (mb_wm_comp_mgr_clutter_client_destroy): Removed a superfluous call to mb_wm_comp_mgr_client_hide().
2008-02-212008-02-21 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme-cairo.c: * matchbox/managers/simple/matchbox-window-manager-2-simple.c: Disabled gtk integration until I can find a way for the gtk main loop not to mess us about.
2008-02-202008-02-20 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac: Bumped clutter requirement to 0.7. * matchbox/theme-engines/mb-wm-theme-cairo.c: (mb_wm_theme_cairo_init): Removed call to gtk_init (must be called by the application main() function so display connection can be set up correctly. * matchbox/managers/simple/matchbox-window-manager-2-simple.c: (main): Call gtk_init() if GTK integration is enabled.
2008-02-202008-02-20 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-main-context.h: Added missing prototype for mb_wm_main_context_handle_x_event().
2008-02-202008-02-20 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-window-manager.c: (mb_wm_init): Added missing break statement.
2008-02-202008-02-20 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-window-manager.c: (mb_wm_main_loop): Fixed build. * matchbox/core/mb-wm-main-context.h: Added missing prototype for mb_wm_main_context_gloop_xevent().
2008-02-202008-02-20 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac: * matchbox/comp-mgr/Makefile.am: * matchbox/mb-wm-config.h.in: * matchbox/core/mb-window-manager.c: Added --enable-compositing-manager=framework-only to make it possible to build libmatchox with compositing capabilites, but without any of the provided backends. * matchbox/core/mb-window-manager.c: (mb_wm_main_loop): Added missing xeven callback to the plain main glib loop. * matchbox/core/mb-wm-main-context.c: (mb_wm_main_context_init): Removed unused code.
2008-02-202008-02-20 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm.h: Fixed local includes.
2008-02-202008-02-20 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac: Fixed the header dirctory for libmatchbox. * matchbox/core/mb-window-manager.c: Fixed stray #ifdef.
2008-02-192008-02-19 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac: * matchbox/core/mb-window-manager.c: * matchbox/core/mb-window-manager.h: * matchbox/core/mb-wm-client-base.c: * matchbox/core/mb-wm-client-window.c: * matchbox/core/mb-wm-client.c: * matchbox/core/mb-wm-client.h: * matchbox/core/mb-wm-main-context.c: * matchbox/core/mb-wm-main-context.h: * matchbox/core/mb-wm-root-window.c: * matchbox/core/mb-wm-types.h: * matchbox/core/mb-wm-util.h: * matchbox/managers/maemo/maemo-window-manager.c: * matchbox/managers/simple/matchbox-window-manager-2-simple.c: * matchbox/mb-wm-config.h.in: * matchbox/theme-engines/mb-wm-theme-cairo.c: * matchbox/theme-engines/mb-wm-theme-xml.c: * matchbox/theme-engines/mb-wm-theme-xml.h: * matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: Manually generate mb-wm-config.h so as to avoid any clashes with with any auto-generated application config.h. Changed number of #ifdef's to #if's following the changes to mb-wm-config.h.
2008-02-192008-02-19 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac, *.am, *.h: Changes for building mbwm2 as a library (based on patch by Johan Bilien): Moved 'src' to 'matchbox'; fixed up headers to use #include <>. Moved config.h to matchbox/mb-wm-config.h. Added --enable-libmatchbox configure option, libmatchbox2.pc.in