Skip to content

Commit

Permalink
fix(xserver.patch): fix detecting already running server
Browse files Browse the repository at this point in the history
  • Loading branch information
twaik committed Jan 14, 2025
1 parent cebdd4f commit a29a949
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/src/main/cpp/patches/xserver.patch
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ index f9b7b06d9..f4b2aeddc 100644
free(xkbbasedirflag);

if (!buf) {
+++ ./dix/dixutils.c 2024-12-22 07:34:35.252860515 +0200
+++ ./dix/dixutils.c
@@ -506,18 +506,25 @@

WorkQueuePtr workQueue;
Expand Down Expand Up @@ -289,3 +289,13 @@ index f9b7b06d9..f4b2aeddc 100644
return TRUE;
}

+++ ./os/connection.c
@@ -242,7 +242,7 @@
CreateWellKnownSockets(void)
{
int i;
- int partial;
+ int partial = 0;

/* display is initialized to "0" by main(). It is then set to the display
* number if specified on the command line. */

0 comments on commit a29a949

Please sign in to comment.