Mercurial > dwindows
annotate dwindows1.pc.in @ 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 | 5f0e4ca14dcd |
children |
rev | line source |
---|---|
1850
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
1 prefix=@prefix@ |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
2 exec_prefix=${prefix} |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
3 libdir=${exec_prefix}/lib |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
4 includedir=${exec_prefix}/include |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
5 |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
6 Name: dwindows |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
7 Description: Dynamic Windows Cross platform UI Toolkit |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
8 Version: @VERSION@ |
1852
5f0e4ca14dcd
Whoops missing some vital parts from the dwindows1.pc.in file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
9 Libs: -L${prefix}/lib -ldwindows @LIBS@ |
5f0e4ca14dcd
Whoops missing some vital parts from the dwindows1.pc.in file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
10 Cflags: -I${prefix}/include @CFLAGS@ -D@DW_DEFINE@ |