all repos — fluxbox @ 9163668e98e1683b95fb5cc44c19b3695c7857c4

custom fork of the fluxbox windowmanager

changed size_t to unsigned
fluxgen fluxgen
commit

9163668e98e1683b95fb5cc44c19b3695c7857c4

parent

ee81f56a6011479d048d4225bdb4ab31c6d807e8

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

jump to
M src/FbTk/FbWindow.ccsrc/FbTk/FbWindow.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: FbWindow.cc,v 1.8 2003/04/14 12:06:25 fluxgen Exp $ +// $Id: FbWindow.cc,v 1.9 2003/04/16 16:02:14 fluxgen Exp $ #include "FbWindow.hh"

@@ -40,7 +40,9 @@ s_display = App::instance()->display();

} FbWindow::FbWindow(int screen_num, - int x, int y, size_t width, size_t height, long eventmask, + int x, int y, + unsigned int width, unsigned int height, + long eventmask, bool override_redirect, int depth, int class_type):
M src/FbTk/FbWindow.hhsrc/FbTk/FbWindow.hh

@@ -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: FbWindow.hh,v 1.9 2003/04/14 12:04:32 fluxgen Exp $ +// $Id: FbWindow.hh,v 1.10 2003/04/16 16:01:38 fluxgen Exp $ #ifndef FBTK_FBWINDOW_HH #define FBTK_FBWINDOW_HH

@@ -43,7 +43,9 @@ bool overrride_redirect = false,

int depth = CopyFromParent, int class_type = InputOutput); FbWindow(const FbWindow &parent, - int x, int y, size_t width, size_t height, long eventmask, + int x, int y, + unsigned int width, unsigned int height, + long eventmask, bool overrride_redirect = false, int depth = CopyFromParent, int class_type = InputOutput);

@@ -52,7 +54,7 @@ virtual ~FbWindow();

void setBackgroundColor(const FbTk::Color &bg_color); void setBackgroundPixmap(Pixmap bg_pixmap); void setBorderColor(const FbTk::Color &border_color); - void setBorderWidth(size_t size); + void setBorderWidth(unsigned int size); /// set window name (for title) void setName(const char *name); void setEventMask(long mask);