Age | Commit message (Collapse) | Author |
|
* matchbox/core/mb-wm-macros.h:
And enable asserts. They can be trivially disabled if required,
but sanity checks are useful things to have.
|
|
* matchbox/core/mb-wm-atoms.c:
Instead of printing a sanity check to the console, assert it.
|
|
|
|
* matchbox/client-types/mb-wm-client-desktop.c:
* matchbox/client-types/mb-wm-client-panel.c:
Add missing include.
|
|
* matchbox/client-types/mb-wm-client-desktop.c:
* matchbox/client-types/mb-wm-client-input.c:
* matchbox/core/mb-wm-client-window.c:
* matchbox/core/mb-wm-stack.c:
* matchbox/core/mb-wm-main-context.c:
* matchbox/core/mb-wm-decor.c:
* matchbox/core/mb-window-manager.c:
* matchbox/core/mb-wm-client.c:
* matchbox/theme-engines/mb-wm-theme.c:
More cleanups to fix warnings from -Wall.
|
|
* matchbox/client-types/mb-wm-client-desktop.c:
* matchbox/client-types/mb-wm-client-app.c:
* matchbox/client-types/mb-wm-client-dialog.c:
* matchbox/client-types/mb-wm-client-input.c:
* matchbox/client-types/mb-wm-client-menu.c:
* matchbox/core/mb-wm-client-window.c:
* matchbox/core/mb-wm-root-window.c:
* matchbox/core/mb-wm-main-context.c:
* matchbox/core/mb-wm-layout.c:
* matchbox/core/mb-wm-debug.c:
* matchbox/core/mb-wm-decor.c:
* matchbox/core/mb-window-manager.c:
* matchbox/core/mb-wm-client.c:
Remove unused variables and functions.
|
|
* matchbox/core/mb-window-manager.h:
Add missing includes.
|
|
* matchbox/managers/maemo/matchbox-window-manager-2-maemo.c:
Fix debug check so it actually works.
|
|
* configure.ac:
When using xfixes and xext, make sure they make it into the .pc
file.
|
|
* matchbox/Makefile.am:
Fix to enable building libmatchbox without CM (patch from Ross
Burton).
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
Replace incorrect use of mb_wm_object_ref with
g_object_ref (in mb_wm_comp_mgr_clutter_client_get_actor)
|
|
* matchbox/client-types/mb-wm-client-app.c
* matchbox/core/mb-wm-client-base.c
* matchbox/core/mb-window-manager.c
Ensure we send a synthetic ConfigureNotify event in responce to a
ConfigureRequest when we decide not to accept the request or
when we only move a window. (Fixes gnome-terminal)
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
Refactored effect creation (allocate effects on demand and destroy
when finished).
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
(mb_wm_comp_mgr_clutter_client_event_real):
Reorganized to avoid leaking the CM client; removed unnecessary
call to clutter_behaviour_get_actors().
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.h
Some minor additions to give more control to comp-mgr-clutter
sub-classes. Adds:
- mb_wm_comp_mgr_clutter_client_get_actor
- mb_wm_comp_mgr_clutter_get_desktops and
and exports mb_wm_comp_mgr_clutter_get_nth_desktop
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
* matchbox/comp-mgr/mb-wm-comp-mgr.c:
* matchbox/comp-mgr/mb-wm-comp-mgr.h:
* matchbox/core/mb-window-manager.c:
Added old_desktop parameter to MBWMCompMgr::select_desktop() to
simplify implementation of desktop switching effects.
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
* matchbox/comp-mgr/mb-wm-comp-mgr-xrender.c:
* matchbox/comp-mgr/mb-wm-comp-mgr.c:
* matchbox/comp-mgr/mb-wm-comp-mgr.h:
Added MBWindowManager reference to MBWMCompMgr needed during
MBWMCompMgr destruction; broke reference cycle between
MBWindowManager and MBWMCompMgr client.
* matchbox/core/mb-window-manager.c:
(mb_wm_handle_destroy_notify):
Fixed memory leak.
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
(mb_wm_comp_mgr_clutter_client_repair_real):
(mb_wm_comp_mgr_clutter_client_init):
Shrink to 80 columns.
(mb_wm_comp_mgr_clutter_client_event_new):
Test that we have an actor to run an effect on.
(mb_wm_comp_mgr_clutter_client_event_real):
Test we have an effect to start.
(mb_wm_comp_mgr_clutter_restack_real):
Handle multiple desktops correctly.
|
|
* matchbox-window-manager-2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
* matchbox-window-manager-2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.h
* matchbox-window-manager-2/matchbox/comp-mgr/mb-wm-comp-mgr.c
* matchbox-window-manager-2/matchbox/comp-mgr/mb-wm-comp-mgr.h
* matchbox-window-manager-2/matchbox/core/mb-wm-client.c
* matchbox-window-manager-2/matchbox/core/mb-wm-types.h
The ->effect and ->transition comp-mgr virtuals have been renamed to
client_event and client_transition. (Other supporting types/functions
have also been renamed in a corresponding way.)
MBWMCompMgrClutterClient gets a ->priv member and is made
sub-classable.
The variable name "cclient" is now used more consistently for
MBWMCompMgrClutterClients.
|
|
* matchbox/core/mb-window-manager.c:
(mb_wm_handle_button_press):
Only activate application if it is not already topmost.
|
|
* matchbox/core/mb-window-manager.c:
(test_key_press):
(test_button_press):
(test_destroy_notify):
Renamed to match the usual mb_wm_ namespace.
|
|
* matchbox/core/mb-wm-decor.c:
(mb_wm_decor_sync_window):
Fixed order of press handlers so that decor buttons get called
before the drag handler.
|
|
* matchbox/core/mb-window-manager.c:
* matchbox/core/mb-window-manager.h:
* matchbox/managers/maemo/matchbox-window-manager-2-maemo.c:
* matchbox/managers/simple/matchbox-window-manager-2-simple.c:
Moved calls to MBWindowManager virtuals (with the exception of
process_cmd_line) from the object constructor to a public
mb_wm_init() method that must be called before the newly
constructed object can be used.
|
|
* matchbox/core/mb-window-manager.c:
* matchbox/core/mb-window-manager.h:
Initialize XComposite, XDamage and XFixes in the WM init method
when building a compositor (avoids duplication of code in the CMs).
* matchbox/core/mb-wm-main-context.c:
* matchbox/core/mb-wm-main-context.h:
Handle DamageNotify the same way as other standard events to avoid
unnecessary calls to the CM event callbacks.
* matchbox/comp-mgr/mb-wm-comp-mgr.c:
* matchbox/comp-mgr/mb-wm-comp-mgr.h:
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
* matchbox/comp-mgr/mb-wm-comp-mgr-xrender.c:
Replaced MBWMCompMgr::handle_event with more specific
::handle_damage().
|
|
* matchbox/core/mb-wm-main-context.c
incorrect dereferencing of xev->xconfigure union member in the
wrong context.
|
|
* matchbox/core/mb-wm-client-app.c:
(mb_wm_client_app_request_geometry):
Added MBWMClientReqGeomIsViaUserAction to allowed flags.
|
|
* matchbox/core/mb-wm-client.h:
Added layout hints for user resizable and movable windows.
* matchbox/client-types/mb-wm-client-dialog.c:
Hint dialogs as user-movable.
* matchbox/core/mb-window-manager.c:
(test_button_press):
Ensure that application-type clients are not only focused, but
also activated.
* matchbox/core/mb-wm-decor.c:
* matchbox/core/mb-wm-decor.h:
Implemented window dragging via north decor.
* matchbox/core/mb-wm-main-context.c:
* matchbox/core/mb-wm-main-context.h:
(mb_wm_main_context_spin_loop):
API to allow manual spining of the main loop.
* matchbox/theme-engines/mb-wm-theme.c:
Make dialogs decorated by default when using fallback theme.
|
|
* matchbox/client-types/mb-wm-client-dialog.h:
Fixed broken include.
|
|
* configure.ac:
* matchbox/mb-wm-config.h.in:
Added missing MBWM_WANT_DEBUG to mb-wm-config.h.
* matchbox/core/mb-wm.h:
Ensure mb-wm-config.h is included before all other mbwm includes.
* matchbox/client-types/mb-wm-client-app.c:
* matchbox/client-types/mb-wm-client-desktop.c:
* matchbox/client-types/mb-wm-client-dialog.c:
* matchbox/client-types/mb-wm-client-input.c:
* matchbox/client-types/mb-wm-client-menu.c:
* matchbox/client-types/mb-wm-client-note.c:
* matchbox/client-types/mb-wm-client-override.c:
* matchbox/client-types/mb-wm-client-panel.c:
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
* matchbox/comp-mgr/mb-wm-comp-mgr-xrender.c:
* matchbox/comp-mgr/mb-wm-comp-mgr.c:
* matchbox/core/mb-window-manager.c:
* matchbox/core/mb-wm-client-base.c:
* matchbox/core/mb-wm-debug.c:
* matchbox/core/mb-wm-debug.h:
* matchbox/core/mb-wm-decor.c:
* matchbox/core/mb-wm-layout.c:
* matchbox/core/mb-wm-macros.h:
* matchbox/core/mb-wm-main-context.c:
* matchbox/core/mb-wm-object.c:
* matchbox/core/mb-wm-object.h:
* matchbox/core/mb-wm-root-window.c:
* matchbox/core/xas.c:
* matchbox/managers/maemo/Makefile.am:
* matchbox/managers/maemo/maemo-input.c:
* matchbox/managers/maemo/maemo-window-manager.c:
* matchbox/managers/maemo/maemo-toolbar.c:
* matchbox/managers/maemo/maemo-window-manager.h:
* matchbox/managers/maemo/matchbox-window-manager-2-maemo.c:
* matchbox/managers/simple/matchbox-window-manager-2-simple.c:
* matchbox/theme-engines/mb-wm-theme-png.c:
* matchbox/theme-engines/mb-wm-theme.c:
Replaced #ifdef MBWM_WANT_DEBUG with #if MBWM_WANT_DEBUG.
* matchbox/managers/maemo/maemo-window-manager.c:
(maemo_window_manager_class_type):
Fixed incorrect object initialization.
|
|
* configure.ac:
Added libpng to the required packages for libmatchbox2 when
building png theme.
|
|
* doc/MBWM2-Overview.xml
* matchbox/theme-engines/mb-wm-theme.c
* matchbox/theme-engines/mb-wm-theme-png.c
* matchbox/theme-engines/mb-wm-theme-xml.h
Fixes png theme engine's rendering of decors that are wider than the
underlying template PNG image. This adds two new decor tag attributes
template-pad-offset and template-pad-length, which have been described
in MBWM2-Overview.xml
|
|
* matchbox/theme-engines/mb-wm-theme.c
Some theme.xml schema changes. clr-* now color-*
All x/y width/height attributes related to specifying regions within
a template image are now prefixed template-*
* doc/MBWM2-Overview.xml
Documentation updated in line with schema changes
* matchbox/managers/maemo/theme/theme.xml
* matchbox/managers/maemo/theme/background.png
* matchbox/managers/maemo/theme/Makefile.am
* data/themes/Default/theme.xml
* data/themes/PngSample/theme.xml
* data/themes/PngSample/background.png
* data/themes/PngSample/Makefile.am
Existing themes updated to use the new attribute names and
background.png images have been renamed to template.png
* configure.ac
* data/themes/Makefile.am
Install the PngSample theme by default if PNG theme engine enabled
|
|
* configure.ac
fix for clutter composite manager: glib main loop had accidentally
been disabled
|
|
* matchbox/theme-engines/mb-wm-theme.c
base class theme: xft_load_font: don't dereference MBWMXmlDecor
if NULL.
|
|
* configure.ac
* matchbox/comp-mgr/Makefile.am
* matchbox/comp-mgr/mb-wm-comp-mgr-xrender.c
* matchbox/comp-mgr/mb-wm-comp-mgr-xrender.h
* matchbox/core/mb-window-manager.c
* matchbox/managers/simple/Makefile.am
* matchbox/managers/simple/matchbox-window-manager-2-simple.c
* matchbox/mb-wm-config.h.in
Adds an --enable-composite-managers=A,B,C.. config option
and renames the "default" composite manager to "xrender"
|
|
Further work on multiple desktop support:
* matchbox/core/mb-wm-client.c:
* matchbox/core/mb-wm-client.h:
(mb_wm_client_desktop_change):
Do not reset the hiding_from_desktop flag when showing a client
* matchbox/core/mb-window-manager.c:
(mb_wm_client_reset_hiding_from_desktop):
Public API so that the WM can reset the flag when window maps.
(mb_wm_handle_map_notify):
Do not pass notification for our frame decors, etc, to the CM.
(mb_wm_select_desktop):
Set MBWindowManager::active_desktop when destkop changes; hook
into CM API.
* matchbox/comp-mgr/mb-wm-comp-mgr.c:
* matchbox/comp-mgr/mb-wm-comp-mgr.h:
(mb_wm_comp_mgr_client_init):
(mb_wm_comp_mgr_client_destroy):
Take/release reference to MBWindowClient object to avoid it
disappearing on us during effect animations.
(mb_wm_comp_mgr_render):
Make class implementation of the render method optional to avoid
unnecessary function calls.
(mb_wm_comp_mgr_map_notify):
(mb_wm_comp_mgr_unmap_notify):
Do not trigger map application map animation when switching
desktops.
(mb_wm_comp_mgr_select_desktop):
CM API for WM to hook into for desktop switching.
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.h:
(mb_wm_comp_mgr_clutter_select_desktop):
(mb_wm_comp_mgr_clutter_map_notify_real):
CM desktop switching implementation.
|
|
* matchbox/core/mb-wm-util.c:
* matchbox/core/mb-wm-util.h:
(mb_wm_util_pixels_to_points):
Utility function for conversion from pixel font sizes to points.
* matchbox/theme-engines/mb-wm-theme-xml.h:
* matchbox/theme-engines/mb-wm-theme.c:
(xft_load_font):
(xml_element_start_cb):
Allow units to be specified with font sizes; default to pixels.
* matchbox/theme-engines/mb-wm-theme-png.c:
(xft_load_font):
(mb_wm_theme_png_paint_decor):
Handle font units in xft/Pango backends.
|
|
* matchbox/core/mb-wm-types.h
* matchbox/theme-engines/mb-wm-theme.c
* matchbox/theme-engines/mb-wm-theme.h
* matchbox/theme-engines/Makefile.am
* matchbox/mb-wm-config.h.in
Moves the simple xlib based theme engine into the theme engine base
class
|
|
* configure.ac:
Changed --enable-gtk and --enable-pango to --with-*.
|
|
* configure.ac
* doc/MBWM2-Overview.xml
* matchbox/core/mb-wm-types.h
* matchbox/mb-wm-config.h.in
* matchbox/theme-engines/Makefile.am
* matchbox/theme-engines/mb-wm-theme-cairo.c
* matchbox/theme-engines/mb-wm-theme-cairo.h
* matchbox/theme-engines/mb-wm-theme.c
* matchbox/theme-engines/mb-wm-theme.h
Removes all references to the cairo theme engine
|
|
* matchbox/theme-engines/mb-wm-theme-png.c:
* matchbox/theme-engines/mb-wm-theme-png.h:
Optionally, use Pango to render text.
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.h:
* matchbox/comp-mgr/mb-wm-comp-mgr.c:
* matchbox/comp-mgr/mb-wm-comp-mgr.h:
* matchbox/core/mb-wm-client.c:
* matchbox/core/mb-wm-types.h:
* 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:
Simplified effect framework (effect are no longer themeable).
|
|
* matchbox/core/mb-window-manager.c:
* matchbox/core/mb-window-manager.h:
* matchbox/core/mb-wm-client-base.c:
* matchbox/core/mb-wm-client.c:
* matchbox/core/mb-wm-client.h:
* matchbox/core/mb-wm-root-window.c:
Start of multi-desktop infrastructure.
|
|
* configure.ac:
* Makefile.am:
* util/Makefile.am:
* util/matchbox-remote.c:
Added matchbox-remote (from mbwm1 + -select-desktop option).
|
|
* 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.
|
|
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c:
Initial stab at gaussian shadows.
|
|
* matchbox/core/mb-wm-root-window.c:
(mb_wm_root_window_handle_message):
Handle WM_CHANGE_STATE client message per ICCC.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|