const pointer
This commit is contained in:
parent
dfaed0ceca
commit
46087c7e08
4 changed files with 10 additions and 9 deletions
|
@ -19,7 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: AtomHandler.hh,v 1.2 2002/09/08 11:02:08 fluxgen Exp $
|
||||
// $Id: AtomHandler.hh,v 1.3 2002/10/16 19:01:41 fluxgen Exp $
|
||||
|
||||
#ifndef ATOMHANDLER_HH
|
||||
#define ATOMHANDLER_HH
|
||||
|
@ -45,7 +45,8 @@ public:
|
|||
virtual void updateState(FluxboxWindow &win) = 0;
|
||||
virtual void updateHints(FluxboxWindow &win) = 0;
|
||||
|
||||
virtual bool checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win) = 0;
|
||||
virtual bool checkClientMessage(const XClientMessageEvent &ce,
|
||||
BScreen * const screen, FluxboxWindow * const win) = 0;
|
||||
|
||||
/// should this object be updated or not?
|
||||
bool update() const { return m_update; }
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: Ewmh.hh,v 1.2 2002/10/11 10:20:33 fluxgen Exp $
|
||||
// $Id: Ewmh.hh,v 1.3 2002/10/16 19:02:25 fluxgen Exp $
|
||||
|
||||
#include "AtomHandler.hh"
|
||||
|
||||
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
|
||||
bool checkClientMessage(const XClientMessageEvent &ce,
|
||||
BScreen *screen, FluxboxWindow *win);
|
||||
BScreen * const screen, FluxboxWindow * const win);
|
||||
private:
|
||||
|
||||
enum { STATE_REMOVE = 0, STATE_ADD = 1, STATE_TOGGLE = 2};
|
||||
|
@ -58,7 +58,7 @@ private:
|
|||
Atom m_net_supported, m_net_client_list, m_net_client_list_stacking,
|
||||
m_net_number_of_desktops, m_net_desktop_geometry, m_net_desktop_viewport,
|
||||
m_net_current_desktop, m_net_desktop_names, m_net_active_window, m_net_workarea,
|
||||
m_net_supporting_wm_check, m_net_virtual_roots;
|
||||
m_net_supporting_wm_check, m_net_virtual_roots, m_net_moveresize_window;
|
||||
|
||||
// root window messages
|
||||
Atom m_net_close_window, m_net_wm_moveresize;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: Gnome.cc,v 1.3 2002/09/10 12:23:03 fluxgen Exp $
|
||||
// $Id: Gnome.cc,v 1.4 2002/10/16 19:06:51 fluxgen Exp $
|
||||
|
||||
#include "Gnome.hh"
|
||||
|
||||
|
@ -213,7 +213,7 @@ void Gnome::updateHints(FluxboxWindow &win) {
|
|||
|
||||
}
|
||||
|
||||
bool Gnome::checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win) {
|
||||
bool Gnome::checkClientMessage(const XClientMessageEvent &ce, BScreen * const screen, FluxboxWindow * const win) {
|
||||
if (ce.message_type == m_gnome_wm_win_workspace) {
|
||||
#ifdef DEBUG
|
||||
cerr<<__FILE__<<"("<<__LINE__<<"): Got workspace atom="<<ce.data.l[0]<<endl;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: Gnome.hh,v 1.2 2002/09/08 10:57:34 fluxgen Exp $
|
||||
// $Id: Gnome.hh,v 1.3 2002/10/16 19:01:58 fluxgen Exp $
|
||||
|
||||
#ifndef GNOME_HH
|
||||
#define GNOME_HH
|
||||
|
@ -77,7 +77,7 @@ public:
|
|||
void updateWorkspace(FluxboxWindow &win);
|
||||
|
||||
|
||||
bool checkClientMessage(const XClientMessageEvent &ce, BScreen *screen, FluxboxWindow *win);
|
||||
bool checkClientMessage(const XClientMessageEvent &ce, BScreen * const screen, FluxboxWindow * const win);
|
||||
|
||||
private:
|
||||
void setLayer(GnomeLayer layer);
|
||||
|
|
Loading…
Reference in a new issue