[WebOS Software and Hacking General] y=fx:
the application is not suspended, it is always running, but it does not control the display, we say "resized" as seen in the video

for example strace

[pid 3786] 14:08:28 gettimeofday({1522238908, 367954}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 338450289}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.367954Z][11"..., 93) = 93
[pid 3786] 14:08:28 gettimeofday({1522238908, 374727}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 345503851}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.374727Z][11"..., 102) = 102
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 ioctl(10, 0x40089100, 0x7e65df98) = 0
[pid 3786] 14:08:28 ioctl(10, 0x40089101, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(8, 0x40089008, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(8, 0x400c9009, 0x7e65df88) = 0
[pid 3786] 14:08:28 ioctl(8, 0x40089008, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(9, 0xc0188404, 0x7e65dfa8) = 0
[pid 3786] 14:08:28 gettid( <unfinished ...>
[pid 3788] 14:08:28 <... ioctl resumed> , 0x74cc1db0) = 0
[pid 3786] 14:08:28 <... gettid resumed> ) = 3786
[pid 3788] 14:08:28 ioctl(9, 0xc0688202 <unfinished ...>
[pid 3786] 14:08:28 ioctl(9, 0xc030820b <unfinished ...>
[pid 3788] 14:08:28 <... ioctl resumed> , 0x74cc1db0) = 0
[pid 3786] 14:08:28 <... ioctl resumed> , 0x7e65e030) = 0
[pid 3788] 14:08:28 ioctl(10, 0x40089102 <unfinished ...>
[pid 3786] 14:08:28 ioctl(9, 0xc0208209 <unfinished ...>
[pid 3788] 14:08:28 <... ioctl resumed> , 0x74cc1cf0) = 0
[pid 3786] 14:08:28 <... ioctl resumed> , 0x7e65e040) = 0
[pid 3788] 14:08:28 ioctl(9, 0xc0688202 <unfinished ...>
[pid 3786] 14:08:28 gettimeofday( <unfinished ...>
[pid 3788] 14:08:28 <... ioctl resumed> , 0x74cc1db0) = 0
[pid 3788] 14:08:28 futex(0x311cc, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x311c8, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
[pid 3788] 14:08:28 ioctl(9, 0xc0688202 <unfinished ...>
[pid 3787] 14:08:28 <... futex resumed> ) = 0
[pid 3786] 14:08:28 <... gettimeofday resumed> {1522238908, 386775}, NULL) = 0
[pid 3787] 14:08:28 futex(0x311ac, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 3787] 14:08:28 futex(0x311cc, FUTEX_WAIT_PRIVATE, 14681, NULL <unfinished ...>
[pid 3786] 14:08:28 <... clock_gettime resumed> {1170, 359400829}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.386775Z][11"..., 117) = 117
[pid 3786] 14:08:28 gettimeofday({1522238908, 391285}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 361980035}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.391285Z][11"..., 115) = 115
[pid 3786] 14:08:28 gettimeofday({1522238908, 392925}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 363732997}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.392925Z][11"..., 111) = 111
[pid 3786] 14:08:28 gettimeofday({1522238908, 394945}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 365554635}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.394945Z][11"..., 97) = 97
[pid 3786] 14:08:28 sendmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\n\0\0\0\4\0\f\0\0\0\0\0\n\0\0\0\3\0\f\0\25\0\0\0\n\0\0\0\3\0\f\0"..., 88}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 88
[pid 3786] 14:08:28 poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
[pid 3786] 14:08:28 recvmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"\16\0\0\0\0\0\10\0\24\0\0\0\0\0\f\0\360g\202l\1\0\0\0\1\0\f\0\24\0\0\0"..., 1040}, {"", 3056}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 56
[pid 3786] 14:08:28 gettimeofday({1522238908, 402866}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 373701418}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.402866Z][11"..., 97) = 97
[pid 3786] 14:08:28 gettimeofday({1522238908, 404725}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 375416896}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.404725Z][11"..., 97) = 97
[pid 3786] 14:08:28 gettimeofday({1522238908, 406697}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 377166184}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.406697Z][11"..., 102) = 102
[pid 3786] 14:08:28 ioctl(9, 0xc0208309, 0x7e65ddb8) = 0
[pid 3786] 14:08:28 ioctl(9, 0xc0208309, 0x7e65ddb8) = 0
[pid 3786] 14:08:28 gettimeofday({1522238908, 410010}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 381047728}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.410010Z][11"..., 111) = 111
[pid 3786] 14:08:28 gettimeofday({1522238908, 413299}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 384362583}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.413299Z][11"..., 117) = 117
[pid 3786] 14:08:28 gettimeofday({1522238908, 416142}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 386590012}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.416142Z][11"..., 93) = 93
[pid 3786] 14:08:28 gettimeofday({1522238908, 418111}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 388695960}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.418111Z][11"..., 102) = 102
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 ioctl(10, 0x40089100, 0x7e65df98) = 0
[pid 3786] 14:08:28 ioctl(10, 0x40089101, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(8, 0x40089008, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(8, 0x400c9009, 0x7e65df88) = 0
[pid 3786] 14:08:28 ioctl(8, 0x40089008, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(9, 0xc0188404, 0x7e65dfa8) = 0
[pid 3788] 14:08:28 <... ioctl resumed> , 0x74cc1db0) = 0
[pid 3788] 14:08:28 ioctl(9, 0xc0688202, 0x74cc1db0) = 0
[pid 3788] 14:08:28 ioctl(10, 0x40089102, 0x74cc1cf0) = 0
[pid 3788] 14:08:28 ioctl(9, 0xc0688202 <unfinished ...>
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 ioctl(9, 0xc030820b <unfinished ...>
[pid 3788] 14:08:28 <... ioctl resumed> , 0x74cc1db0) = 0
[pid 3788] 14:08:28 futex(0x311cc, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x311c8, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
[pid 3788] 14:08:28 ioctl(9, 0xc0688202 <unfinished ...>
[pid 3787] 14:08:28 <... futex resumed> ) = 0
[pid 3787] 14:08:28 futex(0x311ac, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 3787] 14:08:28 futex(0x311cc, FUTEX_WAIT_PRIVATE, 14683, NULL <unfinished ...>
[pid 3786] 14:08:28 <... ioctl resumed> , 0x7e65e030) = 0
[pid 3786] 14:08:28 ioctl(9, 0xc0208209, 0x7e65e040) = 0
[pid 3786] 14:08:28 gettimeofday({1522238908, 441498}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 412561578}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.441498Z][11"..., 117) = 117
[pid 3786] 14:08:28 gettimeofday({1522238908, 443834}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 415101374}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.443834Z][11"..., 115) = 115
[pid 3786] 14:08:28 gettimeofday({1522238908, 447046}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 417798369}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.447046Z][11"..., 111) = 111
[pid 3786] 14:08:28 gettimeofday({1522238908, 449168}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 419893021}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.449168Z][11"..., 97) = 97
[pid 3786] 14:08:28 sendmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\n\0\0\0\4\0\f\0\0\0\0\0\n\0\0\0\3\0\f\0\25\0\0\0\n\0\0\0\3\0\f\0"..., 88}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 88
[pid 3786] 14:08:28 poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
[pid 3786] 14:08:28 recvmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"\17\0\0\0\0\0\10\0\24\0\0\0\0\0\f\0)h\202l\1\0\0\0\1\0\f\0\24\0\0\0"..., 984}, {"", 3112}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 56
[pid 3786] 14:08:28 gettimeofday({1522238908, 459461}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 430156899}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.459461Z][11"..., 97) = 97
[pid 3786] 14:08:28 gettimeofday({1522238908, 462191}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 433012658}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.462191Z][11"..., 97) = 97
[pid 3786] 14:08:28 gettimeofday({1522238908, 464500}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 435115857}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.464500Z][11"..., 102) = 102
[pid 3786] 14:08:28 ioctl(9, 0xc0208309, 0x7e65ddb8) = 0
[pid 3786] 14:08:28 ioctl(9, 0xc0208309, 0x7e65ddb8) = 0
[pid 3786] 14:08:28 gettimeofday({1522238908, 468613}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 439823457}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.468613Z][11"..., 111) = 111
[pid 3786] 14:08:28 gettimeofday({1522238908, 471154}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 442373565}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.471154Z][11"..., 117) = 117
[pid 3786] 14:08:28 gettimeofday({1522238908, 473364}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 443802808}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.473364Z][11"..., 93) = 93
[pid 3786] 14:08:28 gettimeofday({1522238908, 475504}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 446003939}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.475504Z][11"..., 102) = 102
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 ioctl(10, 0x40089100, 0x7e65df98) = 0
[pid 3786] 14:08:28 ioctl(10, 0x40089101, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(8, 0x40089008, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(8, 0x400c9009, 0x7e65df88) = 0
[pid 3786] 14:08:28 ioctl(8, 0x40089008, 0x7e65df90) = 0
[pid 3786] 14:08:28 ioctl(9, 0xc0188404, 0x7e65dfa8) = 0
[pid 3788] 14:08:28 <... ioctl resumed> , 0x74cc1db0) = 0
[pid 3788] 14:08:28 ioctl(9, 0xc0688202, 0x74cc1db0) = 0
[pid 3788] 14:08:28 ioctl(10, 0x40089102, 0x74cc1cf0) = 0
[pid 3788] 14:08:28 ioctl(9, 0xc0688202 <unfinished ...>
[pid 3786] 14:08:28 gettid() = 3786
[pid 3786] 14:08:28 ioctl(9, 0xc030820b <unfinished ...>
[pid 3788] 14:08:28 <... ioctl resumed> , 0x74cc1db0) = 0
[pid 3788] 14:08:28 futex(0x311cc, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x311c8, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
[pid 3788] 14:08:28 ioctl(9, 0xc0688202 <unfinished ...>
[pid 3787] 14:08:28 <... futex resumed> ) = 0
[pid 3787] 14:08:28 futex(0x311ac, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 3787] 14:08:28 futex(0x311cc, FUTEX_WAIT_PRIVATE, 14685, NULL <unfinished ...>
[pid 3786] 14:08:28 <... ioctl resumed> , 0x7e65e030) = 0
[pid 3786] 14:08:28 ioctl(9, 0xc0208209, 0x7e65e040) = 0
[pid 3786] 14:08:28 gettimeofday({1522238908, 493845}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 465159310}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.493845Z][11"..., 117) = 117
[pid 3786] 14:08:28 gettimeofday({1522238908, 496194}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 466609241}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.496194Z][11"..., 115) = 115
[pid 3786] 14:08:28 gettimeofday({1522238908, 498239}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 469541649}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.498239Z][11"..., 111) = 111
[pid 3786] 14:08:28 gettimeofday({1522238908, 500457}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 471607852}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.500457Z][11"..., 97) = 97
[pid 3786] 14:08:28 sendmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\n\0\0\0\4\0\f\0\0\0\0\0\n\0\0\0\3\0\f\0\25\0\0\0\n\0\0\0\3\0\f\0"..., 88}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 88
[pid 3786] 14:08:28 poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
[pid 3786] 14:08:28 recvmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"\16\0\0\0\0\0\10\0\24\0\0\0\0\0\f\0Yh\202l\1\0\0\0\1\0\f\0\24\0\0\0"..., 928}, {"", 3168}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 56
[pid 3786] 14:08:28 gettimeofday({1522238908, 508668}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 479146099}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.508668Z][11"..., 97) = 97
[pid 3786] 14:08:28 gettimeofday({1522238908, 510152}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 480631096}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.510152Z][11"..., 97) = 97
[pid 3786] 14:08:28 gettimeofday({1522238908, 511616}, NULL) = 0
[pid 3786] 14:08:28 clock_gettime(CLOCK_MONOTONIC, {1170, 482117677}) = 0
[pid 3786] 14:08:28 write(5, "[2018-03-28T12:08:28.511616Z][11"..., 102) = 102

ecc

^CProcess 3786 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
47.97 0.012000 81 148 poll
34.94 0.008741 6 1470 ioctl
16.15 0.004040 2 1620 write
0.54 0.000135 0 588 gettid
0.40 0.000101 0 1620 gettimeofday
0.00 0.000000 0 7 1 futex
0.00 0.000000 0 1620 clock_gettime
0.00 0.000000 0 146 sendmsg
0.00 0.000000 0 148 recvmsg
------ ----------- ----------- --------- --------- ----------------
100.00 0.025017 7367 1 total

WAYLAND_DEBUG=1 not work