aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-10-16 19:06:51 (GMT)
committerfluxgen <fluxgen>2002-10-16 19:06:51 (GMT)
commit46087c7e08f96864bc14a9eaa06067f7672997a0 (patch)
treee0671406f509804a4a6bcb8d4ebdca35b08b36a2 /src
parentdfaed0cecae85324fc72b968ebe28f74067aaeba (diff)
downloadfluxbox_pavel-46087c7e08f96864bc14a9eaa06067f7672997a0.zip
fluxbox_pavel-46087c7e08f96864bc14a9eaa06067f7672997a0.tar.bz2
const pointer
Diffstat (limited to 'src')
-rw-r--r--src/AtomHandler.hh5
-rw-r--r--src/Ewmh.hh6
-rw-r--r--src/Gnome.cc4
-rw-r--r--src/Gnome.hh4
4 files changed, 10 insertions, 9 deletions
diff --git a/src/AtomHandler.hh b/src/AtomHandler.hh
index df006f3..cdc7b51 100644
--- a/src/AtomHandler.hh
+++ b/src/AtomHandler.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: AtomHandler.hh,v 1.2 2002/09/08 11:02:08 fluxgen Exp $ 22// $Id: AtomHandler.hh,v 1.3 2002/10/16 19:01:41 fluxgen Exp $
23 23
24#ifndef ATOMHANDLER_HH 24#ifndef ATOMHANDLER_HH
25#define ATOMHANDLER_HH 25#define ATOMHANDLER_HH
@@ -45,7 +45,8 @@ public:
45 virtual void updateState(FluxboxWindow &win) = 0; 45 virtual void updateState(FluxboxWindow &win) = 0;
46 virtual void updateHints(FluxboxWindow &win) = 0; 46 virtual void updateHints(FluxboxWindow &win) = 0;
47 47
48 virtual bool checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win) = 0; 48 virtual bool checkClientMessage(const XClientMessageEvent &ce,
49 BScreen * const screen, FluxboxWindow * const win) = 0;
49 50
50 /// should this object be updated or not? 51 /// should this object be updated or not?
51 bool update() const { return m_update; } 52 bool update() const { return m_update; }
diff --git a/src/Ewmh.hh b/src/Ewmh.hh
index 672665a..b3f8154 100644
--- a/src/Ewmh.hh
+++ b/src/Ewmh.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Ewmh.hh,v 1.2 2002/10/11 10:20:33 fluxgen Exp $ 22// $Id: Ewmh.hh,v 1.3 2002/10/16 19:02:25 fluxgen Exp $
23 23
24#include "AtomHandler.hh" 24#include "AtomHandler.hh"
25 25
@@ -45,7 +45,7 @@ public:
45 45
46 46
47 bool checkClientMessage(const XClientMessageEvent &ce, 47 bool checkClientMessage(const XClientMessageEvent &ce,
48 BScreen *screen, FluxboxWindow *win); 48 BScreen * const screen, FluxboxWindow * const win);
49private: 49private:
50 50
51 enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2}; 51 enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2};
@@ -58,7 +58,7 @@ private:
58 Atom m_net_supported, m_net_client_list, m_net_client_list_stacking, 58 Atom m_net_supported, m_net_client_list, m_net_client_list_stacking,
59 m_net_number_of_desktops, m_net_desktop_geometry, m_net_desktop_viewport, 59 m_net_number_of_desktops, m_net_desktop_geometry, m_net_desktop_viewport,
60 m_net_current_desktop, m_net_desktop_names, m_net_active_window, m_net_workarea, 60 m_net_current_desktop, m_net_desktop_names, m_net_active_window, m_net_workarea,
61 m_net_supporting_wm_check, m_net_virtual_roots; 61 m_net_supporting_wm_check, m_net_virtual_roots, m_net_moveresize_window;
62 62
63 // root window messages 63 // root window messages
64 Atom m_net_close_window, m_net_wm_moveresize; 64 Atom m_net_close_window, m_net_wm_moveresize;
diff --git a/src/Gnome.cc b/src/Gnome.cc
index 1eb0c04..4d21fb6 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Gnome.cc,v 1.3 2002/09/10 12:23:03 fluxgen Exp $ 22// $Id: Gnome.cc,v 1.4 2002/10/16 19:06:51 fluxgen Exp $
23 23
24#include "Gnome.hh" 24#include "Gnome.hh"
25 25
@@ -213,7 +213,7 @@ void Gnome::updateHints(FluxboxWindow &win) {
213 213
214} 214}
215 215
216bool Gnome::checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win) { 216bool Gnome::checkClientMessage(const XClientMessageEvent &ce, BScreen * const screen, FluxboxWindow * const win) {
217 if (ce.message_type == m_gnome_wm_win_workspace) { 217 if (ce.message_type == m_gnome_wm_win_workspace) {
218#ifdef DEBUG 218#ifdef DEBUG
219 cerr<<__FILE__<<"("<<__LINE__<<"): Got workspace atom="<<ce.data.l[0]<<endl; 219 cerr<<__FILE__<<"("<<__LINE__<<"): Got workspace atom="<<ce.data.l[0]<<endl;
diff --git a/src/Gnome.hh b/src/Gnome.hh
index 68b581e..3f1346b 100644
--- a/src/Gnome.hh
+++ b/src/Gnome.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Gnome.hh,v 1.2 2002/09/08 10:57:34 fluxgen Exp $ 22// $Id: Gnome.hh,v 1.3 2002/10/16 19:01:58 fluxgen Exp $
23 23
24#ifndef GNOME_HH 24#ifndef GNOME_HH
25#define GNOME_HH 25#define GNOME_HH
@@ -77,7 +77,7 @@ public:
77 void updateWorkspace(FluxboxWindow &win); 77 void updateWorkspace(FluxboxWindow &win);
78 78
79 79
80 bool checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win); 80 bool checkClientMessage(const XClientMessageEvent &ce, BScreen * const screen, FluxboxWindow * const win);
81 81
82private: 82private:
83 void setLayer(GnomeLayer layer); 83 void setLayer(GnomeLayer layer);