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

    From deuce@VERT to CVS commit on Tue Apr 14 13:19:16 2020
    src/conio x_cio.c 1.52 1.53 x_events.c 1.63 1.64 x_events.h 1.15 1.16
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv8155

    Modified Files:
    x_cio.c x_events.c x_events.h
    Log Message:
    When an X11 window is force to a non-integer scale size (ie: maximized, etc), center the xim in the resulting window and fill the rest with black.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Fri Apr 17 12:49:29 2020
    src/conio x_cio.c 1.53 1.54 x_events.c 1.67 1.68 x_events.h 1.16 1.17
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv11165

    Modified Files:
    x_cio.c x_events.c x_events.h
    Log Message:
    Support unicode input on X11.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Jun 2 10:58:01 2023
    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 Sun Jun 4 16:02:38 2023
    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 Wed Jun 7 12:21:42 2023
    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 Sun Sep 29 14:28:58 2024
    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