all repos — fluxbox @ 7be1fe89548dd90dbf52bd57613c97644f6f502a

custom fork of the fluxbox windowmanager

fixed minor type issue
fluxgen fluxgen
commit

7be1fe89548dd90dbf52bd57613c97644f6f502a

parent

ecfeae295b80983df83760c892546c9e598b991a

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

jump to
M src/FbTk/Button.ccsrc/FbTk/Button.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: Button.cc,v 1.4 2003/01/10 02:16:29 fluxgen Exp $ +// $Id: Button.cc,v 1.5 2003/02/23 16:52:17 fluxgen Exp $ #include "Button.hh"

@@ -42,7 +42,7 @@ FbTk::EventManager::instance()->add(*this, m_win);

} Button::Button(const FbWindow &parent, int x, int y, - size_t width, size_t height): + unsigned int width, unsigned int height): m_win(parent, x, y, width, height, ExposureMask | ButtonPressMask | ButtonReleaseMask), m_foreground_pm(0),
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.6 2003/02/03 13:39:57 fluxgen Exp $ +// $Id: FbWindow.cc,v 1.7 2003/02/23 16:52:16 fluxgen Exp $ #include "FbWindow.hh"

@@ -157,9 +157,10 @@ if (m_window == 0)

return; Window root; - size_t border_width, depth; + unsigned int border_width, depth; XGetGeometry(s_display, m_window, &root, &m_x, &m_y, - &m_width, &m_height, &border_width, &depth); + (unsigned int *)&m_width, (unsigned int *)&m_height, + &border_width, &depth); } void FbWindow::create(Window parent, int x, int y,