Commit Graph

206 Commits (master)

Author SHA1 Message Date
Marius Petcu 2d8908a3f6 Show cursor again when window not in focus 2019-09-27 10:21:52 +03:00
Marius Petcu 24f146d240 Remove invisible cursor 2019-09-27 09:13:46 +03:00
Marius Petcu 4196ff9565 Fix apply_cursor logic when hiding the cursor 2019-09-27 09:11:15 +03:00
Alex 1abb33c18b
Merge branch 'master' into cursor_visible 2019-09-26 15:33:35 -07:00
GreenDimond 4572fe61bc Use XFixes instead of XGrabPointer 2019-09-26 15:26:26 -07:00
Marius Petcu c87e4538b8 Fix get_bundle_root() on Linux 2019-09-26 09:47:12 +03:00
Marius Petcu 818809d6e1 Set the mouse cursor in a single place 2019-09-26 09:41:46 +03:00
GreenDimond 70e0af4524 Fix cursor visibility on Linux (XFCE) 2019-09-25 10:41:32 -07:00
Marius Petcu 74fe628e86 Prevent preprocessor warnings 2019-08-13 16:26:54 +03:00
Josh Grams 5d19688a7a Windows: update mouse clip on WM_WINDOWPOSCHANGED. 2019-05-05 08:15:01 -04:00
Marius Petcu 89963ba111 Fix HiDPI cursors on Linux 2019-03-28 18:23:06 +02:00
Marius Petcu 6586cbca30 Fix Windows crash 2018-12-31 13:07:22 +02:00
Marius Petcu 4844d05f00 Fix Linux crash 2018-12-31 13:07:22 +02:00
Marius Petcu 37e2ce7f10 Implement reusable cursors on Linux 2018-12-31 13:07:22 +02:00
Marius Petcu aeb184516d Implement reusable cursors on Windows 2018-12-31 13:07:22 +02:00
Marius Petcu 145ca62bf7 Implement reusable cursors on HTML5 2018-12-31 13:07:22 +02:00
Marius Petcu 3d501ef57e Implement reusable cursors on macOS 2018-12-31 13:07:22 +02:00
Marius Petcu b2a7836339 Log warnings instead of info for method unimplemented warnings 2018-10-22 16:59:51 +03:00
Marius Petcu 0667c010d3 Update Linux TODO list 2018-10-22 16:13:06 +03:00
Marius Petcu 9c7e13d09d Fix Linux build 2018-10-22 10:46:23 +03:00
Marius Petcu 7378ec75e4 Make x, y = nil, nil center in the middle of the current screen on Winows 2018-10-22 10:44:00 +03:00
Marius Petcu 5c75ac63e5 Allow only one of x, y to be nil when setting size on Linux 2018-10-22 10:36:15 +03:00
Marius Petcu e2f24312d2 Ensure consistent handling and reporting of orientations across platforms 2018-10-22 13:16:51 +03:00
Marius Petcu 38f2b61acd Report correct scaling factor in get_display_modes() on Windows 2018-10-22 11:14:11 +03:00
Marius Petcu d7a70e0327 Rename get_parameters to get_arguments 2018-10-21 23:15:37 +03:00
Marius Petcu 1764b29d6b Implement get_parameters() on Linux 2018-10-21 22:50:46 +03:00
Marius Petcu d758259a7a Fix always on top not toggling back on Linux 2018-10-21 22:35:00 +03:00
Marius Petcu c9ce6a1d65 Fix view cursor coordinates on macOS 2018-10-21 22:21:52 +03:00
Marius Petcu 64a6579402 Implement getters for the cursor position
Closes #82
2018-10-21 22:08:59 +03:00
Marius Petcu 3a227f5f05 Rename move_cursor_to to set_cursor_pos_view 2018-10-21 21:04:54 +03:00
Marius Petcu 511fb7b2d8 Implement keeping window always on top
Closes #83
2018-10-21 21:00:55 +03:00
Marius Petcu 82b7d20a53 Implement minimize function
Closes #86
2018-10-21 20:26:27 +03:00
Marius Petcu 52026b2267 Restore clipping and locking when window is not focused on Windows
Closes #80
2018-10-21 19:49:02 +03:00
Marius Petcu 70604608e0 Fix defos.get_window_size() reporting wrongly when window is maximixed
Closes #68
2018-10-21 19:26:54 +03:00
Marius Petcu 22dcad083a Implement display functions on Windows 2018-10-21 18:17:24 +03:00
Marius Petcu fc390911c7 Add missing XFlush() calls 2018-10-20 20:18:08 +03:00
Marius Petcu f48d069a7a Add missing Linux features TODO list 2018-10-20 20:17:49 +03:00
Marius Petcu fb238ad114 Implement cursor hiding on Linux 2018-10-20 19:32:20 +03:00
Marius Petcu acb33688ba Implement disable_minimize_button and disable_maximize_button on Linux
(providing the window manager supports it)
2018-10-20 19:18:37 +03:00
Marius Petcu 7739f1956e Implement disable_window_resize() on Linux 2018-10-20 18:39:48 +03:00
Marius Petcu b052993d4c Implement is_mouse_in_view() on Linux 2018-10-20 17:56:35 +03:00
Marius Petcu 3b61b9c64b Implement get_bundle_root for Linux 2018-10-20 17:44:21 +03:00
Marius Petcu 30ee2164d5 Query window hint state from system 2018-10-20 17:28:33 +03:00
Marius Petcu 0ce309f7d2 Center window on current display in set_view_size and set_window_size 2018-10-20 16:48:32 +03:00
Marius Petcu 9219d65127 Implement get_current_screen_id correctly on Linux 2018-10-20 16:36:30 +03:00
Marius Petcu ec7ba99d48 Implement get_window_size on Linux 2018-10-20 16:36:02 +03:00
Marius Petcu 9a60cc014b Account for screen rotation 2018-10-20 14:42:39 +03:00
Marius Petcu b666ffd69e Fix some indentation 2018-10-20 14:26:49 +03:00
Marius Petcu 2c71b00c65 Ignore duplicate displays when mirroring 2018-10-20 14:25:22 +03:00
Marius Petcu be94b64cee Stick to DisplayID == RRCrtc convention 2018-10-20 14:22:27 +03:00