Jump to content
View in the app

A better way to browse. Learn more.

Obsidian Forum Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

damien

Initiates
  • Joined

  • Last visited

Everything posted by damien

  1. I made a quick hack that will force the game to grab the pointer and lock it to the window. To try it out, save this C code to a file (e.g. grab_pointer.c): #define _GNU_SOURCE #include <dlfcn.h> #include <stdbool.h> #include <X11/Xlib.h> typedef int (*real_XNextEvent_t)(Display *display, XEvent *event_return); real_XNextEvent_t real_XNextEvent; int XNextEvent(Display *display, XEvent *event_return) { static bool first_expose_done = false; XExposeEvent *ev; int ret; ret = real_XNextEvent(display, event_return); if (!first_expose_done && event_return->type == Expose) { ev = (XExposeEvent *)event_return; XGrabPointer(ev->display, ev->window, True, 0, GrabModeAsync, GrabModeAsync, ev->window, None, CurrentTime); first_expose_done = true; } return ret; } __attribute__((constructor)) void init(void) { real_XNextEvent = dlsym(RTLD_NEXT, "XNextEvent"); } Compile the file like this: gcc -shared -fPIC -O3 -march=native -lX11 grab_pointer.c -o grab_pointer.so This will create the shared object file grab_pointer.so. Now you just need to "preload" this code when you run the game. At the command line, try this (changing the paths to the approriate locations): LD_PRELOAD=/absolute/path/to/grab_pointer.so /path/to/Pillars\ of\ Eternity/start.sh Or if you don't want to have to run that at the command line each time, you can edit the game's start.sh and add this line at the top (but after #!/bin/bash): export LD_PRELOAD=/absolute/path/to/grab_pointer.so Hope that works for you until Obsidian fixes the issue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.