Merge branch 'fix-floating-raise'
This commit is contained in:
commit
865c193971
|
@ -297,6 +297,11 @@ DRAGGING_CB(drag_window_callback) {
|
||||||
void floating_drag_window(Con *con, xcb_button_press_event_t *event) {
|
void floating_drag_window(Con *con, xcb_button_press_event_t *event) {
|
||||||
DLOG("floating_drag_window\n");
|
DLOG("floating_drag_window\n");
|
||||||
|
|
||||||
|
/* Push changes before dragging, so that the window gets raised now and not
|
||||||
|
* after the user releases the mouse button */
|
||||||
|
tree_render();
|
||||||
|
|
||||||
|
/* Drag the window */
|
||||||
drag_pointer(con, event, XCB_NONE, BORDER_TOP /* irrelevant */, drag_window_callback, event);
|
drag_pointer(con, event, XCB_NONE, BORDER_TOP /* irrelevant */, drag_window_callback, event);
|
||||||
tree_render();
|
tree_render();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue