• 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 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
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Dec 31 15:06:54 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/a638eee661a618e0ecf33ded
    Modified Files:
    src/conio/x_cio.c x_events.c x_events.h
    Log Message:
    In X11 mode, support arbitrary character entry.

    You still cannot enter a NUL.

    Holding down ALT and entering an 8-bit decimal number on the keypad
    starting with a digit from 1-9 will pass that byte to the input
    buffer as entered.

    If you prefix the decimal number with the keypad zero, you can enter
    a Unicode codepoint to be translated and sent (if it translates).

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net