mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 01:40:13 +01:00
Merge branch 'disable-xtest-on-xwayland' into 'master'
WIP: xwayland: Disable the XTEST extension by default See merge request xorg/xserver!452
This commit is contained in:
commit
61b72d5346
1 changed files with 16 additions and 0 deletions
|
|
@ -477,3 +477,19 @@ InitOutput(ScreenInfo * screen_info, int argc, char **argv)
|
|||
listen_on_fds();
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc, char *argv[], char *envp[])
|
||||
{
|
||||
#ifdef XTEST
|
||||
/* Most features from the XTEST extension cannot work on Wayland,
|
||||
* disable the XTEST extension so apps aren't tempted to use it.
|
||||
*
|
||||
* Using the standard command line option "+extension XTEST"
|
||||
* can re-enable it at runtime, if really needed.
|
||||
*/
|
||||
noTestExtensions = TRUE;
|
||||
#endif
|
||||
|
||||
return dix_main(argc, argv, envp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue