cosmetic
This commit is contained in:
parent
ab1a422ac6
commit
6f53cc5120
1 changed files with 7 additions and 8 deletions
|
@ -2798,8 +2798,8 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) {
|
||||||
dx = screen().width() - me.x_root-1; // move mouse to screen width - 1
|
dx = screen().width() - me.x_root-1; // move mouse to screen width - 1
|
||||||
}
|
}
|
||||||
if (new_id != cur_id) {
|
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);
|
screen().changeWorkspaceID(new_id);
|
||||||
|
|
||||||
m_last_resize_x = me.x_root + dx;
|
m_last_resize_x = me.x_root + dx;
|
||||||
|
@ -2896,7 +2896,7 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) {
|
||||||
// drag'n'drop code for tabs
|
// drag'n'drop code for tabs
|
||||||
//
|
//
|
||||||
FbTk::TextButton &active_button = *m_labelbuttons[(m_attaching_tab==0)?client:m_attaching_tab];
|
FbTk::TextButton &active_button = *m_labelbuttons[(m_attaching_tab==0)?client:m_attaching_tab];
|
||||||
;
|
|
||||||
if (m_attaching_tab == 0) {
|
if (m_attaching_tab == 0) {
|
||||||
if (s_num_grabs > 0)
|
if (s_num_grabs > 0)
|
||||||
return;
|
return;
|
||||||
|
@ -3486,12 +3486,11 @@ void FluxboxWindow::attachTo(int x, int y, bool interrupted) {
|
||||||
if (client.m_win != 0) {
|
if (client.m_win != 0) {
|
||||||
client.m_win->move(frame().x() - m_last_resize_x + x, frame().y() - m_last_resize_y + y);
|
client.m_win->move(frame().x() - m_last_resize_x + x, frame().y() - m_last_resize_y + y);
|
||||||
client.m_win->show();
|
client.m_win->show();
|
||||||
}
|
}
|
||||||
|
} else if(attach_to_win==this && attach_to_win->isTabable()) {
|
||||||
|
//reording of tabs within a frame
|
||||||
|
moveClientTo(*old_attached, x, y);
|
||||||
}
|
}
|
||||||
else if(attach_to_win==this && attach_to_win->isTabable()) {
|
|
||||||
//reording of tabs within a frame
|
|
||||||
moveClientTo(*old_attached, x, y);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue