all repos — fluxbox @ 63f9a1637f0b48d4ebc41c99db727826d6199e0d

custom fork of the fluxbox windowmanager

Clean unused variables
Mathias Gumz akira@fluxbox.org
commit

63f9a1637f0b48d4ebc41c99db727826d6199e0d

parent

60e97b968bcd712762c7ee30e350d63e4038fb63

M src/FbTk/EventManager.hhsrc/FbTk/EventManager.hh

@@ -58,14 +58,13 @@ void registerEventHandler(EventHandler &ev, Window win);

void unregisterEventHandler(Window win); private: - EventManager(): m_grabbing_keyboard(0) { } + EventManager() { } ~EventManager(); void dispatch(Window win, XEvent &event, bool parent = false); typedef std::map<Window, EventHandler *> EventHandlerMap; EventHandlerMap m_eventhandlers; EventHandlerMap m_parent; - EventHandler *m_grabbing_keyboard; }; } //end namespace FbTk
M src/FbTk/Font.hhsrc/FbTk/Font.hh

@@ -115,7 +115,6 @@

FbTk::FontImp* m_fontimp; ///< font implementation std::string m_fontstr; ///< font name - int m_angle; ///< rotation angle bool m_shadow; ///< shadow text Color m_shadow_color; ///< shadow color int m_shadow_offx; ///< offset y for shadow
M src/FbTk/ImageControl.hhsrc/FbTk/ImageControl.hh

@@ -82,7 +82,6 @@ */

Pixmap searchCache(unsigned int width, unsigned int height, const Texture &text, Orientation orient) const; void createColorTable(); - bool m_dither; Timer m_timer; Colormap m_colormap;
M src/FbTk/Menu.hhsrc/FbTk/Menu.hh

@@ -235,8 +235,6 @@ unsigned int m_frame_h;

int m_x_move; int m_y_move; - int m_grab_x; - int m_grab_y; // the menuitems are rendered in a grid with // 'm_columns' (a minimum of 'm_min_columns') and

@@ -252,7 +250,6 @@

// the corners std::auto_ptr<FbTk::Shape> m_shape; - Drawable m_root_pm; static Menu *shown; ///< used for determining if there's a menu open at all static Menu *s_focused; ///< holds current input focused menu, so one can determine if a menu is focused bool m_need_update;
M src/RootTheme.ccsrc/RootTheme.cc

@@ -152,7 +152,6 @@ RootTheme::RootTheme(FbTk::ImageControl &image_control):

FbTk::Theme(image_control.screenNumber()), m_background(new BackgroundItem(*this, "background", "Background")), m_opgc(RootWindow(FbTk::App::instance()->display(), image_control.screenNumber())), - m_image_ctrl(image_control), m_first(true) { Display *disp = FbTk::App::instance()->display();
M src/RootTheme.hhsrc/RootTheme.hh

@@ -56,7 +56,6 @@

private: BackgroundItem *m_background;///< background image/texture FbTk::GContext m_opgc; - FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture bool m_first; };
M util/fbrun/FbRun.hhutil/fbrun/FbRun.hh

@@ -39,7 +39,6 @@ class FbRun: public FbTk::TextBox {

public: FbRun(int x = 0, int y = 0, size_t width = 200); ~FbRun(); - void handleEvent(XEvent * const ev); void setTitle(const std::string &title); void resize(unsigned int width, unsigned int height); void setPrint(bool print) { m_print = print; }