gxalpha
fc6bbb73f2
mac-capture: Fix wrong CFString to NSNumber cast
2023-06-17 16:35:13 +02:00
PatTheMav
f8e00d6071
clang-format: Update formatting of all ObjC and ObjC++ files
2023-06-11 14:56:45 +02:00
PatTheMav
f98c2d2514
mac-capture: Fix compiler warnings
...
CMake build framework 3.0 introduces more strict typing checks, which
require additional code fixes to silence.
* Fixes warnings about multi-character assignments
* Fixes warnings about implicit casts
* Fixes warnings about shadowing variables
2023-02-18 15:22:33 -08:00
jp9000
51050b3075
Revert "mac-capture: Improve window capture performance"
...
This reverts commit 257715d31f .
Was merged prematurely by mistake (clicked the merge button on the wrong
tab).
2021-12-20 14:02:58 -08:00
Dossy Shiobara
257715d31f
mac-capture: Improve window capture performance
2021-12-20 09:05:36 -08:00
Jim
149550392b
Revert "mac-capture: show actual windows in Window Capture sources"
2020-10-03 14:23:54 -07:00
Tim Vaca
f694f94b14
mac-capture: Filter non-trivial windows
...
Filter the window list provided by the OS to prevent listing icons and
system windows as possible window capture targets.
Fixes #3146 .
2020-09-02 11:13:33 -04:00
David Bieber
46979536a1
mac-capture: update owner_pid in update_window
2020-04-07 13:30:53 -04:00
David Bieber
4718e5ecf5
mac-capture: Use int in place of NSNumber for owner_pid
2020-04-07 13:26:46 -04:00
David Bieber
ebbe856d83
mac-capture: Only find window by window id when owner name and pid match
2020-04-05 22:10:36 -04:00
David Bieber
239cad00e4
mac-capture: Use window id to identify windows on MacOS
...
Use a window's window id in init_window in the mac window capture plugin.
2020-04-05 22:09:49 -04:00
Colin Edwards
ad85a9fa25
Apply clang-format to objective c code
2019-07-09 13:39:13 -05:00
jp9000
c9df41c1e2
(API Change) Remove pointers from all typedefs
...
Typedef pointers are unsafe. If you do:
typedef struct bla *bla_t;
then you cannot use it as a constant, such as: const bla_t, because
that constant will be to the pointer itself rather than to the
underlying data. I admit this was a fundamental mistake that must
be corrected.
All typedefs that were pointer types will now have their pointers
removed from the type itself, and the pointers will be used when they
are actually used as variables/parameters/returns instead.
This does not break ABI though, which is pretty nice.
2014-09-25 21:48:11 -07:00
Palana
bc64fa97a0
Add CoreGraphics window utilities
2014-08-20 00:42:56 +02:00