This commit is contained in:
mathias 2005-01-20 23:48:24 +00:00
parent ab1a422ac6
commit 6f53cc5120

View file

@ -2798,8 +2798,8 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) {
dx = screen().width() - me.x_root-1; // move mouse to screen width - 1
}
if (new_id != cur_id) {
XWarpPointer(display, None, None, 0, 0, 0, 0, dx, 0);
XWarpPointer(display, None, None, 0, 0, 0, 0, dx, 0);
screen().changeWorkspaceID(new_id);
m_last_resize_x = me.x_root + dx;
@ -2896,7 +2896,7 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) {
// drag'n'drop code for tabs
//
FbTk::TextButton &active_button = *m_labelbuttons[(m_attaching_tab==0)?client:m_attaching_tab];
;
if (m_attaching_tab == 0) {
if (s_num_grabs > 0)
return;
@ -3487,8 +3487,7 @@ void FluxboxWindow::attachTo(int x, int y, bool interrupted) {
client.m_win->move(frame().x() - m_last_resize_x + x, frame().y() - m_last_resize_y + y);
client.m_win->show();
}
}
else if(attach_to_win==this && attach_to_win->isTabable()) {
} else if(attach_to_win==this && attach_to_win->isTabable()) {
//reording of tabs within a frame
moveClientTo(*old_attached, x, y);
}