~mir-team/miral/zesty

« back to all changes in this revision

Viewing changes to miral/window_manager_tools.cpp

  • Committer: Bileto Bot
  • Date: 2016-10-24 15:25:22 UTC
  • mfrom: (334.1.4 miral-0.3)
  • Revision ID: ci-train-bot@canonical.com-20161024152522-g758835syc6fca10
* New upstream release 0.3.0 (https://launchpad.net/miral/+milestone/0.3)
  - ABI summary:
    . miral ABI unchanged at 1
  - Enhancements:
    . Add miral-xrun as a better way to use Xmir
    . Added miral/version.h to allow permit compile-time feature detection
    . A convenient overload of WindowManagerTools::modify_window() that
      doesn't require the WindowInfo
    . Add userdata property to WindowSpecification and copy it to WindowInfo
    . miral::Keymap - support for keyboard maps (either programatically
      Keymap::set_keymap(), or via config --keymap)
  - Bugs fixed:
    . Crash after closing Qt dialog (LP: #1631958)
    . tooltips positioned wrong with mir0.24 (LP: #1632325, LP: #1633052)
    . Shell wants way to associate initially requested window creation state
      with the window later created (#1629349)
    . [Xmir] Alt+` switch between different apps not just windows
      (LP: #1625849)
    . miral-shell splash screen should be fullscreen.
    . TitlebarWindowManagerPolicy::end_resize() should do nothing if not
      resizing
    . deduplicate logging of WindowSpecification::top_left

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
void miral::WindowManagerTools::modify_window(WindowInfo& window_info, WindowSpecification const& modifications)
78
78
{ tools->modify_window(window_info,modifications); }
79
79
 
 
80
void miral::WindowManagerTools::modify_window(Window const& window, WindowSpecification const& modifications)
 
81
{ tools->modify_window(tools->info_for(window), modifications); }
 
82
 
80
83
auto miral::WindowManagerTools::info_for_window_id(std::string const& id) const -> WindowInfo&
81
84
{ return tools->info_for_window_id(id); }
82
85