all repos — fluxbox @ a01e77133e66e7affaff475f67d8b50975543968

custom fork of the fluxbox windowmanager

removed colormap atom
fluxgen fluxgen
commit

a01e77133e66e7affaff475f67d8b50975543968

parent

6e460803e4429db5a230417fcbb67214217b58fb

2 files changed, 5 insertions(+), 10 deletions(-)

jump to
M src/FbAtoms.ccsrc/FbAtoms.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // 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 "App.hh"

@@ -53,8 +53,6 @@

void FbAtoms::initAtoms() { 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_state = XInternAtom(display, "WM_STATE", False); xa_wm_change_state = XInternAtom(display, "WM_CHANGE_STATE", False);
M src/FbAtoms.hhsrc/FbAtoms.hh

@@ -19,16 +19,14 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // 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 #define FBATOMS_HH #include <X11/Xlib.h> #include <X11/Xatom.h> -/** - atom handler for base atoms -*/ +/// atom handler for basic X atoms class FbAtoms { public: FbAtoms();

@@ -42,7 +40,6 @@ inline Atom getWMStateAtom() const { return xa_wm_state; }

inline Atom getWMDeleteAtom() const { return xa_wm_delete_window; } inline Atom getWMProtocolsAtom() const { return xa_wm_protocols; } 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, // starting workspace etc...

@@ -50,7 +47,7 @@ inline Atom getFluxboxHintsAtom() const { return blackbox_hints;}

// these atoms are for normal app->WM interaction beyond the scope of the // ICCCM... - inline Atom getFluxboxAttributesAtom() const { return blackbox_attributes; } + inline Atom getFluxboxAttributesAtom() const { return blackbox_attributes; } inline Atom getFluxboxChangeAttributesAtom() const { return blackbox_change_attributes; } // these atoms are for window->WM interaction, with more control and

@@ -92,7 +89,7 @@ // message_types for client -> wm messages

Atom blackbox_change_workspace, blackbox_change_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; bool m_init;