~ci-train-bot/mir/mir-ubuntu-artful-2983

« back to all changes in this revision

Viewing changes to src/miral/workspace_policy.cpp

  • Committer: Bileto Bot
  • Date: 2017-10-11 12:39:42 UTC
  • mfrom: (1160.3102.82 mir-1.0)
  • Revision ID: ci-train-bot@canonical.com-20171011123942-bp7v1xqsab8cmbop
* New upstream release 1.0.0(https://launchpad.net/mir/+milestone/1.0.0)
  - ABI summary:
    . mirclient ABI unchanged at 9
    . miral ABI introduced at 2
    . mirserver ABI bumped to 45
    . mircommon ABI unchanged at 7
    . mirplatform ABI unchanged at 61
    . mirprotobuf ABI unchanged at 3
    . mirplatformgraphics ABI unchanged at 13
    . mirclientplatform ABI unchanged at 5
    . mirinputplatform ABI unchanged at 7
    . mircore ABI unchanged at 1
  - Enhancements:
    . Update licences to (L)GPL3 or (L)GPL2.
    . Initial support for Wayland clients
    . [mir_demo_client_display_config] add orientation changing
    . RPC: Don't require the server ACK client's buffer-release requests.
    . Added libmirclientcpp to Mir source package
    . Added libmiral to Mir source package
    . Various small improvements to miral-shell example
    . [libmiral, miral-shell] handle display reconfiguration better and allow
      shells to customize maximized placements.
    . Enable CommandLineOptions to be processed before server initialization
  - Bugs fixed:
    . Fix handling of invalid display configuration. (LP: #1643446)
    . Move full responsibility for buffer IPC into frontend. (LP: #1395421)
    . Don't destroy an IPC "closure" object when it may yet be used
      (LP: #1672960)
    . [mesa-kms] Respect display orientation when painting cursor.
      (LP: #1610078)
    . Respect cursor hotspot when hosted on Mir. (LP: #1705284)
    . mcl::BufferVault: Fix lock inversion.
    . Handle mir_event_type_close_window in examples (LP: #1706004),
      (LP: #1705439)
    . Drop BufferStream::suitable_for_cursor()
    . Only notify resize events for valid surfaces (LP: #1643446)
    . Don't leak DRM fds in platform-eglstream probe.
    . Remove obsolete & broken example code. (LP: #1663130)
    . Move buffer-release IPC to a dedicated IPC thread. (LP: #1395421)
    . [NestedServerWithTwoDisplays] Look for the last of a series of
      synthetic events to ensure that the queue is drained before the test
      exits. (LP: #1709666)
    . floating window manager allows resizing maximized windows (LP: #1704776)
    . [miral-shell] doesn't work with breeze X cursor theme (LP: #1699084)
    . [miral-shell] Don't allow splashscreen to be occluded (LP: #1705973)
    . [miral-shell] Update maximized windows on display changes (LP: #1705695)
    . Make racy DragAndDrop test reliable. (LP: #1704780)
    . [libmiral] Define default window settings in one place and clamp the
      actual values to avoid ldiv0. (LP: #1717061)
    . [miral-kiosk] Apply fullscreen logic when hidden windows are restored.
      (LP: #1717910)
    . [mir-on-x11] Less annoying clipping of Mir-on-X11 window when it exceeds
      display bounds. (LP: #1668599)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2017 Canonical Ltd.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License version 2 or 3 as
 
6
 * published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by: Alan Griffiths <alan@octopull.co.uk>
 
17
 */
 
18
 
 
19
#include <miral/workspace_policy.h>
 
20
 
 
21
void miral::WorkspacePolicy::advise_adding_to_workspace(
 
22
    std::shared_ptr<Workspace> const& , std::vector<Window> const&)
 
23
{
 
24
}
 
25
 
 
26
void miral::WorkspacePolicy::advise_removing_from_workspace(
 
27
    std::shared_ptr<Workspace> const&, std::vector<Window> const&)
 
28
{
 
29
}