mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
display: Remove ungrab_should_not_cause_focus_window
It's been unused ever since we removed tabpopup.c
This commit is contained in:
parent
ef32bbdc99
commit
5c66bee84b
@ -175,7 +175,6 @@ struct _MetaDisplay
|
||||
* ignore
|
||||
*/
|
||||
unsigned long ignored_crossing_serials[N_IGNORED_CROSSING_SERIALS];
|
||||
Window ungrab_should_not_cause_focus_window;
|
||||
|
||||
guint32 current_time;
|
||||
|
||||
|
@ -651,7 +651,6 @@ meta_display_open (void)
|
||||
display->ignored_crossing_serials[i] = 0;
|
||||
++i;
|
||||
}
|
||||
display->ungrab_should_not_cause_focus_window = None;
|
||||
|
||||
display->current_time = CurrentTime;
|
||||
display->sentinel_counter = 0;
|
||||
|
@ -7559,8 +7559,6 @@ reset_ignored_crossing_serials (MetaDisplay *display)
|
||||
display->ignored_crossing_serials[i] = 0;
|
||||
++i;
|
||||
}
|
||||
|
||||
display->ungrab_should_not_cause_focus_window = None;
|
||||
}
|
||||
|
||||
typedef struct
|
||||
|
@ -1717,16 +1717,6 @@ meta_display_handle_xevent (MetaDisplay *display,
|
||||
event->xany.serial);
|
||||
}
|
||||
}
|
||||
else if (input_event &&
|
||||
input_event->evtype == XI_Leave &&
|
||||
((XILeaveEvent *)input_event)->mode == XINotifyUngrab &&
|
||||
modified == display->ungrab_should_not_cause_focus_window)
|
||||
{
|
||||
meta_display_add_ignored_crossing_serial (display, event->xany.serial);
|
||||
meta_topic (META_DEBUG_FOCUS,
|
||||
"Adding LeaveNotify serial %lu to ignored focus serials\n",
|
||||
event->xany.serial);
|
||||
}
|
||||
|
||||
#ifdef HAVE_XI23
|
||||
if (meta_display_process_barrier_xevent (display, input_event))
|
||||
|
Loading…
Reference in New Issue
Block a user