Mercurial > dwindows
view makefile.wpm @ 2759:cd6a306800f5
GTK4: New way of querying the mouse pointer position.
The old code was completely bogus and did not work at all.
Since there doesn't seem to be a way to actually query the position...
Plus with wayland there are no global coordinates... instead...
Any event we handle that has pointer coordinates... we convert them to be
window relative and save them. When querying the pointer location,
we return the latest coordinates that we had handled.
I removed the thread safety since there are no API calls, but we may want to
put it back so that the data doesn't get changed during the call...
although that may not be the most tragic thing.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 03 Jan 2022 16:23:51 +0000 |
parents | e113f9e46fbd |
children | 1660b4ecb92f |
line wrap: on
line source
#=================================================================== # # Auto-dependency information # #=================================================================== OS22_H = $(%WATCOM)\h\os2 CFLAGS = -i=os2 -i=$(OS22_H) -DUNICODE -bm -bt=OS2 -zq -d2 -bd -sg TKPATH=C:\Toolkit TLKTLIB = $(TKPATH)\LIB .SUFFIXES: .SUFFIXES: .obj .c .c.obj: .AUTODEPEND wcc386 $(CFLAGS) $*.c all: dw.dll dwcompat.dll dwtest.exe dwcompat.dll: dirent.obj dwcompat.obj wlink @os2\dwcompat.lnk name dwcompat.dll system os2v2_dll d a library $(TLKTLIB)\so32dll,$(TLKTLIB)\tcp32dll option implib=dwcompat option map option symf f $[@ f dwcompat copy dwcompat.lib lib copy dwcompat.dll dll dirent.obj: wcc386 $(CFLAGS) os2\dirent.c dw.dll: dw.obj wlink @os2\dw.lnk name dw.dll system os2v2_dll d a library $(TLKTLIB)\libuls,$(TLKTLIB)\libconv,$(TLKTLIB)\unikbd option implib=dw option map option symf f $[@ copy dw.lib lib copy dw.dll dll dw.obj: os2\dw.c wcc386 $(CFLAGS) os2\dw.c dwtest.exe: dwtest.obj wlink name dwtest.exe system os2v2_pm d a library lib\dw.lib option map option symf f $[@ dwtest.obj: wcc386 /DOS2 -i=os2 -i=$(OS22_H) -bm -bt=OS2 -zq -d2 -sg dwtest.c clean: @if exist *.obj del *.obj @if exist *.sym del *.sym @if exist *.map del *.map @if exist *.lib del *.lib @if exist *.dll del *.dll @if exist *.exe del *.exe @if exist lib\*.lib del lib\*.lib