aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox/mb-wm-config.h.in
AgeCommit message (Collapse)Author
2010-12-09Overhaul our mainloop integrationRobert Bragg
This removes mb-wm-main-context.c since we now just use a glib mainloop context instead. The new mainloop integration API allows matchbox to be fed X events from an external toolkit so core matchbox no longer needs to have any gtk specific event source integration code, since it should be straightforward for a gtk based wm/compositor to decide to take ownership of event fetching and pass those events through to matchbox manually if they want. In the process of removing references to the mb-wm-main-context API it was necessary to refactor how we handle mouse grabs for moving and resizing windows. Previously we would do an X grab and then then immediately enter a tight loop, polling for X mouse events and handling them until something triggers an ungrab and then resume fetching events in the normal way. Now though when we do the mouse grab we just use mb_wm_manager_add_event_handler to register a temporary interest in mouse events and mb_wm_manager_remove_event_handler when the grab is finished. This means we can continue to use the normal event delivery mechanism during a grab and more importantly we don't block the mainloop which would really upset window managers and compositors needing to process other asynchronous events during a grab.
2010-12-09build: Another pass at overhauling the naming schemesRobert Bragg
There currently lots of inconsistent ways we refer to matchbox 2; it can be mbwm2, matchbox-wm-2, matchbox2, matchbox-window-manager-2 and things are also confusing when considering the naming of pkg-config files and for choosing the directory name for installing headers. The approach I'm starting to settle on (this goes back on some of the renaming changes I made recently, so sorry for the churn) is to consider the canonical name of the project just "matchbox" and then we use the package/library versioning to define it as "2.0". Headers now get installed in $prefix/include/matchbox-2.0/matchbox and the top level header has been renamed from mb-wm.h to matchbox.h. The pkg-config file will be installed as matchbox-2.0.pc
2010-12-09re-organize directory structure a bitRobert Bragg
This renames the matchbox directory matchbox2 and it also moves the /matchbox/managers directory to sit alongside the matchbox2 directory. The idea being that everything under matchbox2 should be code that gets linked into libmatchbox2 while code sitting alongside can then provide examples that actually consume the libmatchbox2 api.
2008-03-112008-03-11 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* 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.
2008-03-082008-03-08 Robert Bragg <bob@o-hand.com>Robert Bragg
* 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"
2008-03-072008-03-07 Robert Bragg <bob@o-hand.com>Robert Bragg
* 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
2008-03-072008-03-06 Robert Bragg <bob@o-hand.com>Robert Bragg
* 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
2008-03-06makes a start on tidying up configure.acRobert Bragg
- some bits disabled by default - adds a new --enable-pango option that will be optionally used by the png theme engine - adds a new --enable-matchbox-remote option
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-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.