removed colormap atom

This commit is contained in:
fluxgen 2003-04-26 18:56:02 +00:00
parent 6e460803e4
commit a01e77133e
2 changed files with 5 additions and 10 deletions

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: FbAtoms.cc,v 1.6 2003/04/15 11:59:02 fluxgen Exp $ // $Id: FbAtoms.cc,v 1.7 2003/04/26 18:56:02 fluxgen Exp $
#include "FbAtoms.hh" #include "FbAtoms.hh"
#include "App.hh" #include "App.hh"
@ -53,8 +53,6 @@ FbAtoms *FbAtoms::instance() {
void FbAtoms::initAtoms() { void FbAtoms::initAtoms() {
Display *display = FbTk::App::instance()->display(); Display *display = FbTk::App::instance()->display();
xa_wm_colormap_windows =
XInternAtom(display, "WM_COLORMAP_WINDOWS", False);
xa_wm_protocols = XInternAtom(display, "WM_PROTOCOLS", False); xa_wm_protocols = XInternAtom(display, "WM_PROTOCOLS", False);
xa_wm_state = XInternAtom(display, "WM_STATE", False); xa_wm_state = XInternAtom(display, "WM_STATE", False);
xa_wm_change_state = XInternAtom(display, "WM_CHANGE_STATE", False); xa_wm_change_state = XInternAtom(display, "WM_CHANGE_STATE", False);

View file

@ -19,16 +19,14 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: FbAtoms.hh,v 1.9 2003/04/15 11:57:34 fluxgen Exp $ // $Id: FbAtoms.hh,v 1.10 2003/04/26 18:56:02 fluxgen Exp $
#ifndef FBATOMS_HH #ifndef FBATOMS_HH
#define FBATOMS_HH #define FBATOMS_HH
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xatom.h> #include <X11/Xatom.h>
/** /// atom handler for basic X atoms
atom handler for base atoms
*/
class FbAtoms { class FbAtoms {
public: public:
FbAtoms(); FbAtoms();
@ -42,7 +40,6 @@ public:
inline Atom getWMDeleteAtom() const { return xa_wm_delete_window; } inline Atom getWMDeleteAtom() const { return xa_wm_delete_window; }
inline Atom getWMProtocolsAtom() const { return xa_wm_protocols; } inline Atom getWMProtocolsAtom() const { return xa_wm_protocols; }
inline Atom getWMTakeFocusAtom() const { return xa_wm_take_focus; } inline Atom getWMTakeFocusAtom() const { return xa_wm_take_focus; }
inline Atom getWMColormapAtom() const { return xa_wm_colormap_windows; }
// this atom is for normal app->WM hints about decorations, stacking, // this atom is for normal app->WM hints about decorations, stacking,
// starting workspace etc... // starting workspace etc...
@ -50,7 +47,7 @@ public:
// these atoms are for normal app->WM interaction beyond the scope of the // these atoms are for normal app->WM interaction beyond the scope of the
// ICCCM... // ICCCM...
inline Atom getFluxboxAttributesAtom() const { return blackbox_attributes; } inline Atom getFluxboxAttributesAtom() const { return blackbox_attributes; }
inline Atom getFluxboxChangeAttributesAtom() const { return blackbox_change_attributes; } inline Atom getFluxboxChangeAttributesAtom() const { return blackbox_change_attributes; }
// these atoms are for window->WM interaction, with more control and // these atoms are for window->WM interaction, with more control and
@ -92,7 +89,7 @@ private:
Atom blackbox_change_workspace, blackbox_change_window_focus, Atom blackbox_change_workspace, blackbox_change_window_focus,
blackbox_cycle_window_focus; blackbox_cycle_window_focus;
Atom xa_wm_colormap_windows, xa_wm_protocols, xa_wm_state, Atom xa_wm_protocols, xa_wm_state,
xa_wm_delete_window, xa_wm_take_focus, xa_wm_change_state; xa_wm_delete_window, xa_wm_take_focus, xa_wm_change_state;
bool m_init; bool m_init;