Revert "Bugfix: Ignore enter_notify when warping pointer (makes "goto" work correctly)"
This reverts commit 7d6e80b5ef
.
Instead fix it by setting focus correctly before causig the warp.
This commit is contained in:
@ -46,13 +46,7 @@
|
||||
changing workspaces */
|
||||
static SLIST_HEAD(ignore_head, Ignore_Event) ignore_events;
|
||||
|
||||
/*
|
||||
* Adds the sequence number of an event to the ignored events.
|
||||
* Useful to ignore for example the enter notify caused by a pointer warp of
|
||||
* i3.
|
||||
*
|
||||
*/
|
||||
void add_ignore_event(const int sequence) {
|
||||
static void add_ignore_event(const int sequence) {
|
||||
struct Ignore_Event *event = smalloc(sizeof(struct Ignore_Event));
|
||||
|
||||
event->sequence = sequence;
|
||||
|
Reference in New Issue
Block a user