Merge pull request #565 from mikkeloscar/fix-pointer-crash
Fix pointer related crash when stacked/tabbed
This commit is contained in:
commit
0d4c31edcd
|
@ -615,7 +615,7 @@ swayc_t *container_under_pointer(void) {
|
||||||
}
|
}
|
||||||
struct wlc_point origin;
|
struct wlc_point origin;
|
||||||
wlc_pointer_get_position(&origin);
|
wlc_pointer_get_position(&origin);
|
||||||
while (lookup->type != C_VIEW) {
|
while (lookup && lookup->type != C_VIEW) {
|
||||||
int i;
|
int i;
|
||||||
int len;
|
int len;
|
||||||
// if tabbed/stacked go directly to focused container, otherwise search
|
// if tabbed/stacked go directly to focused container, otherwise search
|
||||||
|
|
Loading…
Reference in a new issue