~mir-team/miral/release

« back to all changes in this revision

Viewing changes to miral-shell/floating_window_manager.h

  • Committer: Bileto Bot
  • Date: 2017-06-21 08:34:34 UTC
  • mfrom: (360.1.1 miral-release)
  • Revision ID: ci-train-bot@canonical.com-20170621083434-e7ftkyg5qr2fzsao
* New upstream release 1.4.0 (https://launchpad.net/miral/+milestone/1.4.0)
  - ABI summary:
    . miral ABI unchanged at 2
  - Enhancements:
    . Support for passing messages to enable Drag & Drop
    . Support for client requested move
    . Port to the undeprecated Mir APIs
    . Added "--cursor-theme" option when configuring a cursor theme
    . Drop support for Mir versions before 0.26
  - Bugs fixed:

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * as published by the Free Software Foundation.
7
7
 *
8
8
 * This program is distributed in the hope that it will be useful,
9
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty ofb
10
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
11
 * GNU General Public License for more details.
12
12
 *
16
16
 * Authored by: Alan Griffiths <alan@octopull.co.uk>
17
17
 */
18
18
 
19
 
#ifndef MIRAL_SHELL_TITLEBAR_WINDOW_MANAGER_H
20
 
#define MIRAL_SHELL_TITLEBAR_WINDOW_MANAGER_H
 
19
#ifndef MIRAL_SHELL_FLOATING_WINDOW_MANAGER_H
 
20
#define MIRAL_SHELL_FLOATING_WINDOW_MANAGER_H
21
21
 
22
22
#include <miral/canonical_window_manager.h>
23
23
#include <miral/workspace_policy.h>
33
33
 
34
34
class DecorationProvider;
35
35
 
36
 
class TitlebarWindowManagerPolicy : public miral::CanonicalWindowManagerPolicy, miral::WorkspacePolicy
 
36
class FloatingWindowManagerPolicy : public miral::CanonicalWindowManagerPolicy, miral::WorkspacePolicy
37
37
{
38
38
public:
39
 
    TitlebarWindowManagerPolicy(
 
39
    FloatingWindowManagerPolicy(
40
40
        miral::WindowManagerTools const& tools,
41
41
        SpinnerSplash const& spinner,
42
42
        miral::InternalClientLauncher const& launcher,
43
43
        std::function<void()>& shutdown_hook);
44
 
    ~TitlebarWindowManagerPolicy();
 
44
    ~FloatingWindowManagerPolicy();
45
45
 
46
46
    virtual miral::WindowSpecification place_new_window(
47
47
        miral::ApplicationInfo const& app_info, miral::WindowSpecification const& request_parameters) override;
133
133
    void apply_workspace_hidden_to(miral::Window const& window);
134
134
};
135
135
 
136
 
#endif //MIRAL_SHELL_TITLEBAR_WINDOW_MANAGER_H
 
136
#endif //MIRAL_SHELL_FLOATING_WINDOW_MANAGER_H