Skip to content

Commit

Permalink
Fix loosing focus while moving windows with gtk_window_set_accept_foc…
Browse files Browse the repository at this point in the history
…us() called with FALSE
  • Loading branch information
9fcc committed Apr 13, 2018
1 parent 9e8813e commit 45ecdd0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions openbox/moveresize.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr)
/* keep the pointer bounded to the screen for move/resize */
if (!grab_pointer(FALSE, TRUE, cur))
return;
if (!grab_keyboard()) {
ungrab_pointer();
return;
}

frame_end_iconify_animation(c->frame);

Expand Down Expand Up @@ -311,7 +307,6 @@ void moveresize_start(ObClient *c, gint x, gint y, guint b, guint32 cnr)

void moveresize_end(gboolean cancel)
{
ungrab_keyboard();
ungrab_pointer();

popup_hide(popup);
Expand Down

0 comments on commit 45ecdd0

Please sign in to comment.