• src/conio/x_cio.c x_events.c x_events.h

    From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, June 02, 2023 10:58:01
    https://gitlab.synchro.net/main/sbbs/-/commit/2714bdd5e12de663bdc2e47f
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    Create a Pixmap for the icon rather than _NET_WM_ICON

    It seems whatever WM XWayland uses doesn't actually use _NET_WM_ICON
    like pretty much everything else for the last 30 years does, so we
    need to go old-school or settle for the default pengion icon, which
    offends me personally.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Sunday, June 04, 2023 16:02:38
    https://gitlab.synchro.net/main/sbbs/-/commit/90c9245526efb68c67f22bc8
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    Add X11 fullscreen and do a bunch of other fixes

    Just use _NET_WM_STATE protocol for fullscreen... messing around
    with the methods is pretty painful.

    Because we're not messing with other stuff, we can likely remove
    all the code I added to prepare for this. :D

    Testing this really highlighted other broken bits, so a bunch of
    that has been fixed as well... including the bug that Ragnorok
    hadn't reported yet as of last time I looked (corrupted screen when
    maximixed).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, June 07, 2023 12:21:42
    https://gitlab.synchro.net/main/sbbs/-/commit/4bd7abd0dbd750da4feb1b1b
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    Fixes after testing on marco

    Don't always start with _NET_WM_STATE containing
    _NET_WM_STATE_FULLSCREEN

    Enable PropertyChange events

    Adjust x_cvstat.win* when _NET_WM_STATE gets
    _NET_WM_STATE_FULLSCREEN added

    Don't disable fullscreen in ConfigureNotify handler when
    fullscreen is still pending

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 29, 2024 14:28:58
    https://gitlab.synchro.net/main/sbbs/-/commit/aff8feb7c59044017c8d1b73
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    Have the IC focus follow the X11 focus

    Basically, If we get a FocusOut, call XUnsetICFocus(), and if we
    get a FocusIn, call XSetICFocus(). Since we're doing this, don't
    call XSetICFocus() unconditionally at start, wait for the server
    to send us the initial FocusIn instead.

    The only bit I'm not sure of is if I got the times to ignor
    messages right... see here: https://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html
    If you want to check my work.

    May fix the focus follows mouse issue reported by Cyan.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net