Commit Graph

51 Commits

Author SHA1 Message Date
vcaesar
90f41269da Update: update gomod and fixed warning 2023-09-03 12:12:56 -07:00
Jean Raby
8e7a413ec6
Fix x11 display leak (#590)
* Call XCloseDisplay in all return paths

Add test to confirm XOpenDisplay leak is plugged

* whitespace
2023-06-11 10:17:26 -07:00
vcaesar
6313e52156 Update: Optimize window hand code 2022-11-28 14:21:03 -08:00
vcaesar
469cd4da5e Update & Add: unified use the int to replace int32;
unified name and add more func;
Update gomod and CI
2022-11-27 17:55:45 -08:00
vcaesar
e9b5a9251e Update: Unified pid and xid name, Update godoc, fixed typo 2022-09-13 15:49:21 -07:00
vcaesar
b543a49322 Add clear scroll API and Update examples 2022-02-04 00:02:34 -08:00
vcaesar
d82ca8cee4 Refactor some mouse and window C code to Go 2022-02-03 03:03:32 -08:00
vcaesar
76abeff3ff add GetClient bounds support 2022-01-26 09:41:06 -08:00
vcaesar
bafa051f92 Update x11 alert() code and remove ScaleY() 2022-01-23 14:17:15 -04:00
vcaesar
caf3fbb982 Fixed CI build 2022-01-21 16:21:09 -04:00
vcaesar
481fbb72a5 Add more multi screen support, update go mod, remove some code 2022-01-21 15:58:02 -04:00
vcaesar
ce0972d699 Close window X11 display fixed #438 2022-01-19 12:43:26 -04:00
Sean E. Russell
a38bb946c1 Fixes #258: char* arrays in C not being copied correctly 2021-08-19 13:28:02 -05:00
vcaesar
fb2d6f2720 update error return and print 2020-10-27 10:46:17 -04:00
vcaesar
f7c0fa2441 add Is64Bit() c function 2019-05-06 10:33:10 -04:00
vcaesar
3d4f723800 update code style 2019-03-19 11:15:33 -04:00
vcaesar
022e79d6d3 update code style 2019-03-19 11:05:32 -04:00
vcaesar
a3aa5c000f update examples and update code style 2018-10-21 13:39:07 -04:00
vcaesar
f7ea916b21 update pkg to newest fixed ci 2018-09-17 14:23:05 -04:00
vcaesar
3447822f65 fixed return address of local variable and not use ternary operator 2018-09-17 12:54:56 -04:00
vcaesar
c4e7fbb392 update set handle by pid and add get handle mdata by pid 2018-08-28 09:16:25 -04:00
vcaesar
a6799263b5 add close window example and add set handle by pid func 2018-08-25 09:51:38 -04:00
vcaesar
338a8b9292 refactoring close_window() allow by pid, window.h [ci skip] 2018-08-23 12:03:55 -04:00
vcaesar
de0ebaaf3c add get main title check isValid() 2018-08-23 10:42:23 -04:00
vcaesar
1bb08731d1 add set_hand_pid and add return 2018-08-21 13:04:23 -04:00
vcaesar
873e9d30dc update getTitle func and .h name 2018-08-21 12:47:31 -04:00
vcaesar
e565e4feb7 refactoring get_title() allow by pid, window.h [ci skip] 2018-08-21 12:18:43 -04:00
vcaesar
e1769c70dc update set handle return and add getBounds func [ci skip] 2018-08-13 09:11:45 -04:00
vcaesar
fa1051211b Fixed error and update code style 2018-08-13 08:53:49 -04:00
vcaesar
4ac4864a61 move public mdata to pub 2018-08-12 08:58:12 -04:00
vcaesar
8a91b0e572 move some pub method and rename some c_func 2018-08-12 08:51:36 -04:00
vcaesar
ec82b0fd15 add get primary display DPI scale factor fix #129, #135 2018-07-09 22:52:55 +08:00
vcaesar
22fbae18dd update window code style 2018-07-09 20:10:22 +08:00
vcaesar
e7f841be68 update window.h code style 2018-07-09 19:55:37 +08:00
vcaesar
722b2b07e0 update godoc and deprecated GetBHandle 2018-04-11 21:14:57 +08:00
vcaesar
15233120e0 update code style 2018-02-11 19:03:35 +08:00
vcaesar
ae548fca8f fix windows active by pid and change some style 2018-01-25 19:00:56 +08:00
vcaesar
a8e57bc169 change some code style 2018-01-21 22:21:16 +08:00
vcaesar
065d1acc2b change some code style 2018-01-21 21:56:33 +08:00
vcaesar
77ce3b91d7 fix mac set active and active by pid 2018-01-04 19:39:58 +08:00
vcaesar
ac648bde74 update and fmt code 2017-11-23 23:44:41 +08:00
vcaesar
453375cb59 update and fmt code 2017-11-20 22:03:30 +08:00
duzib
d375050592 return local address 2017-11-18 23:36:29 +08:00
vCaesar
bbc0c8e2a7 Add Getpid 2017-01-18 20:34:35 +08:00
vCaesar
7e40b96d51 Add SetKeyDelay and Update Doc 2016-12-11 17:14:14 +08:00
vCaesar
743aca739d Add window SetActive 2016-11-23 20:40:28 +08:00
vCaesar
2096f5d482 Add Process 2016-11-21 17:08:11 +08:00
vCaesar
b344bd56d8 Update window 2016-11-10 18:59:37 +08:00
vCaesar
10c31a3b0b Add LICENSE 2016-11-10 14:34:13 +08:00
vCaesar
f354b32945 Update test 2016-11-07 22:36:28 +08:00