all repos — fluxbox @ eb8234442e9135b10bc26a11ba2d6c8b4e1db2de

custom fork of the fluxbox windowmanager

more const
fluxgen fluxgen
commit

eb8234442e9135b10bc26a11ba2d6c8b4e1db2de

parent

f44b75536312fa5adc4627b799ede6c82c397897

3 files changed, 6 insertions(+), 6 deletions(-)

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

@@ -22,7 +22,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: BaseDisplay.cc,v 1.13 2002/04/08 22:23:41 fluxgen Exp $ +// $Id: BaseDisplay.cc,v 1.14 2002/05/17 11:55:41 fluxgen Exp $ // use GNU extensions #ifndef _GNU_SOURCE

@@ -322,7 +322,7 @@ }

} -const bool BaseDisplay::validateWindow(Window window) { +bool BaseDisplay::validateWindow(Window window) { XEvent event; if (XCheckTypedWindowEvent(m_display, window, DestroyNotify, &event)) { XPutBackEvent(m_display, &event);
M src/BaseDisplay.hhsrc/BaseDisplay.hh

@@ -22,7 +22,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: BaseDisplay.hh,v 1.20 2002/05/17 10:51:48 fluxgen Exp $ +// $Id: BaseDisplay.hh,v 1.21 2002/05/17 11:55:31 fluxgen Exp $ #ifndef BASEDISPLAY_HH #define BASEDISPLAY_HH

@@ -99,7 +99,7 @@

inline void shutdown(void) { m_shutdown = true; } inline void run(void) { m_startup = m_shutdown = false; } - const bool validateWindow(Window); + bool validateWindow(Window); void grab(void); void ungrab(void);
M src/Screen.hhsrc/Screen.hh

@@ -22,7 +22,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: Screen.hh,v 1.34 2002/05/17 11:02:30 fluxgen Exp $ +// $Id: Screen.hh,v 1.35 2002/05/17 11:55:02 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH

@@ -131,7 +131,7 @@ inline unsigned int getIconCount(void) const { return iconList.size(); }

inline Icons &getIconList(void) { return iconList; } inline int getNumberOfWorkspaces(void) { return *resource.workspaces; } - inline const Toolbar::Placement getToolbarPlacement(void) { return *resource.toolbar_placement; } + inline Toolbar::Placement getToolbarPlacement(void) { return *resource.toolbar_placement; } #ifdef XINERAMA inline int getToolbarOnHead(void) { return *resource.toolbar_on_head; } #endif // XINERAMA