./demo_input_raw
=============================================
 Wayland raw input diagnostic demo
 No xdg_toplevel.move() is used here.
=============================================
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[wlgui] window created: "Wayland raw input test" 640x480
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 640x480 stride=2560
[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded
[raw-demo 12:23:01.777] FOCUS IN
[raw-demo 12:23:03.025] ENTER count=1 pos=0,0
[raw-demo 12:23:03.944] LEAVE count=1 down=False moves=0
[raw-demo 12:23:04.353] ENTER count=2 pos=1,249
[raw-demo 12:23:05.393] DOWN button=1 x=238 y=274 time=-413977039
[raw-demo 12:23:06.097] UP button=1 x=223 y=136 time=-413976336 moves=22
[raw-demo 12:23:06.577] DOWN button=1 x=377 y=219 time=-413975855
[raw-demo 12:23:07.009] UP button=1 x=297 y=308 time=-413975424 moves=29
[raw-demo 12:23:07.361] DOWN button=1 x=234 y=247 time=-413975071
[raw-demo 12:23:07.681] UP button=1 x=234 y=161 time=-413974752 moves=24
[raw-demo 12:23:08.001] DOWN button=1 x=350 y=184 time=-413974431
[raw-demo 12:23:08.209] UP button=1 x=439 y=220 time=-413974224 moves=19
[raw-demo 12:23:08.481] DOWN button=1 x=371 y=292 time=-413973951
[raw-demo 12:23:08.673] UP button=1 x=264 y=317 time=-413973759 moves=15
[raw-demo 12:23:08.932] DOWN button=1 x=189 y=315 time=-413973503
[raw-demo 12:23:09.107] UP button=1 x=189 y=225 time=-413973326 moves=22
[raw-demo 12:23:09.577] DOWN button=1 x=276 y=201 time=-413972855
[raw-demo 12:23:09.729] UP button=1 x=334 y=201 time=-413972703 moves=9
[raw-demo 12:23:09.930] DOWN button=1 x=375 y=213 time=-413972503
[raw-demo 12:23:10.097] UP button=1 x=375 y=241 time=-413972335 moves=12
[raw-demo 12:23:10.329] DOWN button=1 x=375 y=327 time=-413972103
[raw-demo 12:23:10.585] UP button=1 x=365 y=365 time=-413971847 moves=14
[raw-demo 12:23:11.177] DOWN button=1 x=205 y=286 time=-413971256
[raw-demo 12:23:11.473] UP button=1 x=205 y=216 time=-413970960 moves=16
[raw-demo 12:23:11.681] DOWN button=3 x=205 y=216 time=-413970751
[raw-demo 12:23:11.875] UP button=3 x=205 y=216 time=-413970559 moves=0
[raw-demo 12:23:12.225] DOWN button=1 x=188 y=269 time=-413970207
[raw-demo 12:23:12.361] UP button=1 x=188 y=269 time=-413970072 moves=0
[raw-demo 12:23:12.889] DOWN button=1 x=170 y=273 time=-413969543
[raw-demo 12:23:13.025] LEAVE count=2 down=True moves=0
[raw-demo 12:23:14.601] ENTER count=3 pos=170,273
[raw-demo 12:23:14.601] LEAVE count=3 down=True moves=0
[raw-demo 12:23:15.137] ENTER count=4 pos=170,273
[raw-demo 12:23:15.137] LEAVE count=4 down=True moves=0
[raw-demo 12:23:15.681] ENTER count=5 pos=170,273
[raw-demo 12:23:15.681] LEAVE count=5 down=True moves=0
[raw-demo 12:23:17.170] ENTER count=6 pos=170,273
[raw-demo 12:23:17.170] LEAVE count=6 down=True moves=0
[raw-demo 12:23:17.978] ENTER count=7 pos=170,273
[raw-demo 12:23:17.978] LEAVE count=7 down=True moves=0
[raw-demo 12:23:18.673] ENTER count=8 pos=170,273
[raw-demo 12:23:18.673] LEAVE count=8 down=True moves=0
[raw-demo 12:23:20.297] FOCUS OUT, mouseDown=True
^C


./demo_input_raw 2> wayland.log
first@my:/tmp$ WAYLAND_DEBUG=1 ./demo_input_raw 2> wayland_raw.log
=============================================
 Wayland raw input diagnostic demo
 No xdg_toplevel.move() is used here.
=============================================
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[wlgui] window created: "Wayland raw input test" 640x480
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 640x480 stride=2560
[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded
[raw-demo 12:25:33.591] FOCUS IN
[raw-demo 12:25:33.633] KEY UP   scancode=28 keysym=$FF0D codepoint=U+D
[raw-demo 12:25:35.633] ENTER count=1 pos=0,0
[raw-demo 12:25:36.721] DOWN button=1 x=330 y=263 time=-413825711
[raw-demo 12:25:36.865] UP button=1 x=330 y=263 time=-413825567 moves=0
[raw-demo 12:25:37.113] DOWN button=1 x=289 y=191 time=-413825319
[raw-demo 12:25:37.249] UP button=1 x=289 y=191 time=-413825183 moves=0
[raw-demo 12:25:37.665] DOWN button=1 x=196 y=191 time=-413824767
[raw-demo 12:25:37.801] UP button=1 x=196 y=191 time=-413824631 moves=0
[raw-demo 12:25:38.521] DOWN button=1 x=395 y=211 time=-413823911
[raw-demo 12:25:38.673] UP button=1 x=388 y=212 time=-413823759 moves=3
[raw-demo 12:25:38.889] DOWN button=1 x=239 y=238 time=-413823543
[raw-demo 12:25:39.001] UP button=1 x=239 y=238 time=-413823431 moves=0
[raw-demo 12:25:39.273] DOWN button=1 x=211 y=114 time=-413823159
[raw-demo 12:25:39.396] UP button=1 x=211 y=114 time=-413823039 moves=0
[raw-demo 12:25:39.705] DOWN button=1 x=409 y=209 time=-413822727
[raw-demo 12:25:39.825] UP button=1 x=409 y=209 time=-413822607 moves=0
[raw-demo 12:25:40.329] DOWN button=1 x=247 y=278 time=-413822103
[raw-demo 12:25:40.483] UP button=1 x=247 y=278 time=-413821951 moves=0
[raw-demo 12:25:40.777] DOWN button=1 x=221 y=179 time=-413821655
[raw-demo 12:25:40.906] UP button=1 x=221 y=179 time=-413821527 moves=0
[raw-demo 12:25:41.273] DOWN button=1 x=367 y=230 time=-413821159
[raw-demo 12:25:41.409] UP button=1 x=367 y=230 time=-413821023 moves=0
[raw-demo 12:25:41.753] DOWN button=1 x=213 y=176 time=-413820679
[raw-demo 12:25:41.897] UP button=1 x=213 y=176 time=-413820535 moves=0
[raw-demo 12:25:42.097] DOWN button=1 x=257 y=123 time=-413820335
[raw-demo 12:25:42.257] UP button=1 x=257 y=123 time=-413820175 moves=0
[raw-demo 12:25:42.937] DOWN button=1 x=244 y=278 time=-413819495
[raw-demo 12:25:43.114] UP button=1 x=244 y=278 time=-413819318 moves=0
[raw-demo 12:25:43.698] DOWN button=1 x=114 y=309 time=-413818735
[raw-demo 12:25:43.865] UP button=1 x=114 y=309 time=-413818567 moves=0
[raw-demo 12:25:44.289] DOWN button=1 x=184 y=142 time=-413818143
[raw-demo 12:25:44.481] UP button=1 x=184 y=142 time=-413817951 moves=0
[raw-demo 12:25:44.890] DOWN button=1 x=242 y=286 time=-413817543
[raw-demo 12:25:45.017] UP button=1 x=242 y=286 time=-413817415 moves=0
[raw-demo 12:25:45.393] DOWN button=1 x=76 y=299 time=-413817039
[raw-demo 12:25:45.561] UP button=1 x=76 y=299 time=-413816871 moves=0
[raw-demo 12:25:45.633] LEAVE count=1 down=False moves=0
[raw-demo 12:25:46.241] ENTER count=2 pos=91,293
[raw-demo 12:25:46.241] LEAVE count=2 down=False moves=0
[raw-demo 12:25:47.185] ENTER count=3 pos=91,293
[raw-demo 12:25:47.185] LEAVE count=3 down=False moves=0
[raw-demo 12:25:48.761] FOCUS OUT, mouseDown=False
^C


./demo_input_min
========================================
 Minimal Wayland input test
========================================
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[wlgui] window created: "Minimal Wayland input test" 640x480
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 640x480 stride=2560

Test window is running.
Move mouse, click buttons, type keys.
Press Ctrl+C in terminal to stop.

[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded
^C



./demo_input_min
========================================
 Minimal Wayland input test
========================================
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[wlgui] window created: "Minimal Wayland input test" 640x480
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 640x480 stride=2560
[window] CONFIGURED
[window] FIRST FRAME COMMITTED

Waiting for xdg_surface.configure...
Move mouse, click buttons and type keys.
Press Ctrl+C to stop.

[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded
[focus] IN
[window] CONFIGURED
[window] FIRST FRAME COMMITTED
[mouse] ENTER #1
[key] UP   scancode=28 keysym=$FF0D
[mouse] DOWN  button=1 pos=549,80 buttons=2
[mouse] UP    button=1 pos=549,80 buttons=0
[mouse] DOWN  button=3 pos=549,80 buttons=8
[mouse] UP    button=3 pos=549,80 buttons=0
[mouse] LEAVE #1 buttons=0 moves=7
[mouse] ENTER #2
[mouse] MOVE  pos=558,91 count=20
[mouse] LEAVE #2 buttons=0 moves=31
[mouse] ENTER #3
[mouse] MOVE  pos=439,136 count=40
[mouse] MOVE  pos=163,191 count=60
[mouse] LEAVE #3 buttons=0 moves=76
[mouse] ENTER #4
[mouse] MOVE  pos=23,390 count=80
[mouse] MOVE  pos=142,464 count=100
[mouse] LEAVE #4 buttons=0 moves=113
[mouse] ENTER #5
[mouse] MOVE  pos=172,415 count=120
[mouse] MOVE  pos=172,366 count=140
[mouse] DOWN  button=1 pos=172,360 buttons=2
[mouse] MOVE  pos=291,296 count=160
[mouse] MOVE  pos=417,237 count=180
[mouse] UP    button=1 pos=417,237 buttons=0
[mouse] MOVE  pos=310,262 count=200
[mouse] MOVE  pos=260,240 count=220
[mouse] DOWN  button=1 pos=247,229 buttons=2
[mouse] MOVE  pos=266,215 count=240
[mouse] UP    button=1 pos=291,183 buttons=0
[mouse] MOVE  pos=291,209 count=260
[mouse] DOWN  button=1 pos=284,250 buttons=2
[mouse] MOVE  pos=283,251 count=280
[mouse] UP    button=1 pos=283,251 buttons=0
[mouse] DOWN  button=1 pos=122,261 buttons=2
[mouse] UP    button=1 pos=122,261 buttons=0
[mouse] MOVE  pos=123,229 count=300
[mouse] MOVE  pos=142,124 count=320
[mouse] DOWN  button=1 pos=142,116 buttons=2
[mouse] UP    button=1 pos=142,116 buttons=0
[mouse] MOVE  pos=330,131 count=340
[mouse] MOVE  pos=365,197 count=360
[mouse] DOWN  button=1 pos=365,208 buttons=2
[mouse] UP    button=1 pos=365,210 buttons=0
[mouse] LEAVE #5 buttons=0 moves=370
[mouse] ENTER #6
[mouse] LEAVE #6 buttons=0 moves=370
[mouse] ENTER #7
[mouse] LEAVE #7 buttons=0 moves=370
[mouse] ENTER #8
[mouse] LEAVE #8 buttons=0 moves=370
[mouse] ENTER #9
[mouse] LEAVE #9 buttons=0 moves=370
[focus] OUT
[window] CONFIGURED
[window] FIRST FRAME COMMITTED
^C






./demo_input_min
========================================
 Minimal Wayland input test
========================================
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[wlgui] window created: "Minimal Wayland input test" 640x480
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 640x480 stride=2560
[window] CONFIGURED
[window] FIRST FRAME COMMITTED

Waiting for xdg_surface.configure...
Move mouse, click buttons and type keys.
Press Ctrl+C to stop.

[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded
[focus] IN
[window] CONFIGURED
[window] FIRST FRAME COMMITTED
[mouse] ENTER #1
[mouse] MOVE  pos=52,125 count=20
[mouse] MOVE  pos=196,134 count=40
[mouse] MOVE  pos=204,171 count=60
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=3 pos=200,180 buttons=8
[mouse] UP    button=3 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=3 pos=200,180 buttons=8
[mouse] UP    button=3 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=3 pos=200,180 buttons=8
[mouse] UP    button=3 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=3 pos=200,180 buttons=8
[mouse] UP    button=3 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=3 pos=200,180 buttons=8
[mouse] UP    button=3 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=3 pos=200,180 buttons=8
[mouse] UP    button=3 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] DOWN  button=3 pos=200,180 buttons=8
[mouse] UP    button=3 pos=200,180 buttons=0
[mouse] DOWN  button=1 pos=200,180 buttons=2
[mouse] UP    button=1 pos=200,180 buttons=0
[mouse] LEAVE #1 buttons=0 moves=73
[mouse] ENTER #2
[mouse] LEAVE #2 buttons=0 moves=73
[mouse] ENTER #3
[mouse] LEAVE #3 buttons=0 moves=73
[mouse] ENTER #4
[mouse] LEAVE #4 buttons=0 moves=73
[mouse] ENTER #5
[mouse] LEAVE #5 buttons=0 moves=73
[mouse] ENTER #6
[mouse] LEAVE #6 buttons=0 moves=73
[mouse] ENTER #7
[mouse] LEAVE #7 buttons=0 moves=73
[mouse] ENTER #8
[mouse] LEAVE #8 buttons=0 moves=73
[mouse] ENTER #9
[mouse] LEAVE #9 buttons=0 moves=73
[focus] OUT
[window] CONFIGURED
[window] FIRST FRAME COMMITTED
^C

[mouse] LEAVE #1 buttons=0 moves=26



WAYLAND_DEBUG=1 ./demo_input_min 2> wayland.log
========================================
 Minimal Wayland input test
========================================
[wlgui] EventManager created
[xkb] libxkbcommon loaded
[xkb] context created
[wlgui] Wayland initialized
[wlgui] window created: "Minimal Wayland input test" 640x480
[events] seat name: default
[events] seat capabilities=3
[cursor] libwayland-cursor loaded
[cursor] theme loaded: "" size=24
[cursor] cursor surface created
[events] pointer attached
[events] keyboard attached
[wlgui] 2 buffers created: 640x480 stride=2560
[window] CONFIGURED
[window] FIRST FRAME COMMITTED

Waiting for xdg_surface.configure...
Move mouse, click buttons and type keys.
Press Ctrl+C to stop.

[events] keyboard keymap format=1 size=38030
[xkb] keymap loaded
[focus] IN
[window] CONFIGURED
[window] FIRST FRAME COMMITTED
[key] UP   scancode=28 keysym=$FF0D
[mouse] ENTER #1
[mouse] MOVE  pos=420,176 count=20
[mouse] MOVE  pos=353,252 count=40
[mouse] MOVE  pos=484,249 count=60
[mouse] MOVE  pos=359,273 count=80
[mouse] MOVE  pos=339,252 count=100
[key] DOWN scancode=45 keysym=$0078 codepoint=U+0078
[key] UP   scancode=45 keysym=$0078
[mouse] DOWN  button=1 pos=369,256 buttons=2
[mouse] UP    button=1 pos=369,256 buttons=0
[mouse] DOWN  button=3 pos=369,256 buttons=8
[mouse] UP    button=3 pos=369,256 buttons=0
[mouse] DOWN  button=1 pos=369,256 buttons=2
[mouse] UP    button=1 pos=369,256 buttons=0
[mouse] DOWN  button=1 pos=377,256 buttons=2
[mouse] MOVE  pos=381,265 count=120
[mouse] UP    button=1 pos=408,305 buttons=0
[mouse] MOVE  pos=405,301 count=140
[mouse] LEAVE #1 buttons=0 moves=156
[focus] OUT
[window] CONFIGURED
[window] FIRST FRAME COMMITTED
^C
WAYLAND_DEBUG=1^C
