~unity-team/unity/trusty-1328677

« back to all changes in this revision

Viewing changes to unity-shared/UnityWindowView.h

  • Committer: CI bot
  • Author(s): Chris Townsend, Andrea Azzarone, Alfred Neumayer, Brandon Schaefer, Marco Trevisan (Treviño)
  • Date: 2014-07-14 14:30:31 UTC
  • mfrom: (3797.1.35 unity.trusty-7.2.2)
  • Revision ID: ps-jenkins@lists.canonical.com-20140714143031-f5ky7acxlp761352
Prepare for upstream micro-release 7.2.2 that includes fixes for the following bugs:
Bug #607796: Launcher, Window management - Dragging and holding a selection over an entry in the Launcher should spread out windows belonging to that application
Bug #727902: Launcher icon highlighting should not switch off as soon the cursor moves after the app spread appears.
Bug #741869: Unity/compiz intercepts Super and Alt keypresses from grabbed windows like VMs.
Bug #754580: Cannot move tabs between multiple Firefox or Chromium windows while using Unity unless windows are both unmaximized, unminimized, and visible.
Bug #839728: Launcher - dragging a item on top of a launcher tile that is a valid drop receptacle in the Launcher should cause that launcher tile to glow
Bug #924840: Keyboard shortcuts overlay text too long
Bug #1281058: [UIFe] The system shutdowns when multiple accounts are open
Bug #1283775: Launcher: icon pips are not always updated properly
Bug #1304882: [Regression] Launcher doesn't reappear fully after hiding from DND
Bug #1305586: Lock screen is unusable when some windows have a keyboard/mouse grab
Bug #1307738: Lockscreen caps lock icon drawn under text entry, should be a white icon.
Bug #1308288: Lockscreen warning icon has no tooltip
Bug #1308323: Shutdown/reboot/login/logout dialogs not scaled after toggling UI scale Edit
Bug #1308911: Clipboard contents are accessible within lockscreen
Bug #1309739: Unity launcher icon edge illumination is offset
Bug #1310200: Indicators disappear at the panel (clementine, dropbox, skype etc)
Bug #1313280: Fullscreen window set to "Always on Top" in single-monitor will hide the lockscreen
Bug #1316005: Panel shadow appears over full screen applications w/ locally integrated menus enabled
Bug #1317348: Switcher (Alt-Tab) does not respect monitor-defined scaling factor
Bug #1317356: Shortcut hint does not respect monitor scaling factor
Bug #1317869: Keyboard shortcuts overlay does not show up when workspaces are enabled at 1366x768
Bug #1320438: Unity launcher auto hide fails on screen unlock using "Super+L"
Bug #1321043: [regression] lock screen bypass with touchpad Fixes: 607796, 727902, 741869, 754580, 839728, 924840, 1281058, 1283775, 1304882, 1305586, 1307738, 1308288, 1308323, 1308911, 1309739, 1310200, 1313280, 1316005, 1317348, 1317356, 1317869, 1320438, 1321043
Approved by: Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include "unity-shared/BackgroundEffectHelper.h"
25
25
#include "unity-shared/IconTexture.h"
 
26
 
26
27
#include "Introspectable.h"
27
28
#include "UnityWindowStyle.h"
28
29
#include <sigc++/sigc++.h>
41
42
  nux::Property<nux::Color> background_color;
42
43
  nux::Property<UnityWindowStyle::Ptr> style;
43
44
  nux::Property<bool> closable;
 
45
  nux::Property<int> monitor;
 
46
  nux::Property<double> scale;
44
47
 
45
48
  UnityWindowView(NUX_FILE_LINE_PROTO);
46
49
  virtual ~UnityWindowView();
64
67
  virtual nux::Geometry GetBlurredBackgroundGeometry();
65
68
  void SetBackgroundHelperGeometryGetter(BackgroundEffectHelper::GeometryGetterFunc const&);
66
69
 
 
70
  void ReloadCloseButtonTexture();
 
71
 
67
72
  // Introspectable methods
68
73
  std::string GetName() const;
69
74
  void AddProperties(debug::IntrospectionData&);
71
76
private:
72
77
  friend class TestUnityWindowView;
73
78
 
 
79
  void OnDPIChanged();
74
80
  void OnClosableChanged(bool closable);
75
81
  void DrawBackground(nux::GraphicsEngine& GfxContext, nux::Geometry const& geo);
76
82