~jamespharaoh/ubuntu/oneiric/unity/fix-for-880672

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/WindowManager.h

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2011-09-01 17:33:06 UTC
  • mfrom: (1.1.54 upstream)
  • Revision ID: package-import@ubuntu.com-20110901173306-6y8qov47isa9phym
Tags: 4.12.0-0ubuntu1
* New upstream release.
  - P3: [natty] Cannot click on indicators (LP: #819202)
  - Icons not visible in the launcher or alt-tab switcher (LP: #833905)
  - [dash] Search field in Unity can not support iBus (LP: #663776)
  - [dash] preferred applications are not stored in GConf anylonger
    (LP: #805063)
  - SysTray icons have a white square background in Unity. (LP: #823407)
  - new dash does not fit a normal netbook screen (LP: #825370)
  - Dash picks random weird colors (yellow, green), fonts invisible (with
    blur en- or disabled) (LP: #828363)
  - Music Lens doesn't display items until you search (LP: #824892)
  - Dash - Adjustments to stateful behaviour  (LP: #838667)
  - Dragging from dash to launcher still doesn't work (LP: #824833)
  - Click on 'More Apps' et al closes the dash (LP: #824842)
  - cannot paste into dash (particularly relevant for alt+f2) (LP: #736222)
  - Ctrl X doesn't cut selected text in Dash search field (LP: #737731)
  - Ctrl+C doesn't copy selected text in Dash search field (LP: #737732)
  - The indicators shows a big white square when systray whitelisted
    (LP: #822672)
  - ARM FTBFS fix (LP: #834576)
* debian/control:
  - build on latest nux
* debian/rules:
  - bump shlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "Nux/WindowThread.h"
26
26
#include "NuxGraphics/GLWindowManager.h"
27
27
#include <gdk/gdkx.h>
 
28
#include <core/core.h>
28
29
 
29
30
class WindowManager
30
31
{
62
63
  virtual void Raise(guint32 xid) = 0;
63
64
  virtual void Lower(guint32 xid) = 0;
64
65
 
 
66
  virtual void TerminateScale() = 0;
 
67
  virtual bool IsScaleActive() = 0;
 
68
 
 
69
  virtual void InitiateExpo() = 0;
 
70
  virtual bool IsExpoActive() = 0;
 
71
 
 
72
  virtual void FocusWindowGroup(std::vector<Window> windows) = 0;
 
73
  virtual bool ScaleWindowGroup(std::vector<Window> windows, int state, bool force) = 0;
 
74
 
65
75
  virtual void Decorate(guint32 xid) {};
66
76
  virtual void Undecorate(guint32 xid) {};
67
77
 
68
78
  virtual bool IsScreenGrabbed() = 0;
 
79
  virtual bool IsViewPortSwitchStarted() = 0;
69
80
 
70
81
  void StartMove(guint32 id, int, int);
71
82
 
72
83
  virtual nux::Geometry GetWindowGeometry(guint32 xid) = 0;
 
84
  virtual nux::Geometry GetScreenGeometry() = 0;
73
85
 
74
86
  virtual unsigned int GetWindowActiveNumber (guint32 xid) = 0;
75
87
 
 
88
  virtual void SetWindowIconGeometry(Window window, nux::Geometry const& geo) = 0;
 
89
 
 
90
  virtual void CheckWindowIntersections (nux::Geometry const& region, bool &active, bool &any) = 0;
 
91
 
 
92
  virtual int WorkspaceCount() = 0;
 
93
 
 
94
 
76
95
  // Signals
77
96
  sigc::signal<void, guint32> window_mapped;
78
97
  sigc::signal<void, guint32> window_unmapped;
96
115
 
97
116
  sigc::signal<void> compiz_screen_grabbed;
98
117
  sigc::signal<void> compiz_screen_ungrabbed;
 
118
  sigc::signal<void> compiz_screen_viewport_switch_started;
 
119
  sigc::signal<void> compiz_screen_viewport_switch_ended;
 
120
 
 
121
  sigc::signal<void, const char*, const char*, CompOption::Vector&> compiz_event;
99
122
 
100
123
private:
101
124
  Atom m_MoveResizeAtom;