• src/conio/x_events.c

    From Deuc¨@VERT to Git commit to main/sbbs/master on Tuesday, May 04, 2021 18:02:29
    https://gitlab.synchro.net/main/sbbs/-/commit/2e41ce253c9ee33ae32f5732
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Optimize pixel calculations.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Friday, May 14, 2021 17:43:55
    https://gitlab.synchro.net/main/sbbs/-/commit/b41875882ed704448e5cd439
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Clear the entire window when the xim size is potentially changed.

    This fixes issues where "leftovers" from the previous mode would
    remain in a new screen mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Friday, May 14, 2021 17:50:59
    https://gitlab.synchro.net/main/sbbs/-/commit/62b34c6173d9962581a6792e
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Support ALT-Left/ALR-Right for scaling adjustment in X11 mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Friday, May 14, 2021 21:57:22
    https://gitlab.synchro.net/main/sbbs/-/commit/ca22bd6d57b9c2b6ce5293ba
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix issue where X11 window would be blank on an Expose event.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Monday, May 17, 2021 21:52:16
    https://gitlab.synchro.net/main/sbbs/-/commit/30921159174c7a59fe366d57
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Add a function to translate event coordinates to screen

    Fixes issue 56

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, May 19, 2021 18:08:44
    https://gitlab.synchro.net/main/sbbs/-/commit/0748cc1e70b9361fb311b931
    Modified Files:
    src/conio/x_events.c
    Log Message:
    No need to resize window just because it moved.

    Fixes X11 window dragging blinkiness.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, May 20, 2021 00:38:49
    https://gitlab.synchro.net/main/sbbs/-/commit/99eec30f33a00c0f80daeb44
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Eliminate unused variable that I guess clang doesn't warn about but gcc does.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Friday, May 21, 2021 16:23:13
    https://gitlab.synchro.net/main/sbbs/-/commit/a7a1c2689791e8e721946f8f
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix newly-introduced memory leak...

    I was going to start keeping the old rect around again, but that
    idea didn't pan out. This massive memory leak is what I get for
    not doing more commits while tuning.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, June 02, 2021 23:08:27
    https://gitlab.synchro.net/main/sbbs/-/commit/4c89829e0d5f7aaa9153b364
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Avoid directly manipulating XImage data for now.

    The previous tests to detect RGB8 appear to have been insufficient.
    This may have resulted in various artifacts such as transparency with
    some drivers on some hardware in X11 mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, June 02, 2021 23:08:27
    https://gitlab.synchro.net/main/sbbs/-/commit/c38a9758a15a7f51d41f0cce
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Remove debug output introduced in last commit

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 23:16:48
    https://gitlab.synchro.net/main/sbbs/-/commit/bb9b789ca8fc185fcdfda32d
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Bow to GCC harder.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, February 14, 2024 21:38:28
    https://gitlab.synchro.net/main/sbbs/-/commit/57283c51fac9860dd350e639
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix pasting in X11 mode... pastebuf should be UTF-8, not ISO-Latin1.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Friday, February 16, 2024 01:19:43
    https://gitlab.synchro.net/main/sbbs/-/commit/b9c51d8b9f5aab7f368c5c76
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix warning.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Friday, February 16, 2024 01:52:13
    https://gitlab.synchro.net/main/sbbs/-/commit/36d37a5184d5263f8d1de3f4
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Move saved_scaling inside vstatlock.

    This shouldn't be necessary, but Coverity thinks it's a good idea,
    and it's simple enough to do without hurting anything.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Monday, February 19, 2024 16:27:34
    https://gitlab.synchro.net/main/sbbs/-/commit/904d202aa2b0c906cf5ef25b
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Call map_window() to update size hints when resizing the window.

    This way, WMs that enforce aspect ratio etc, won't get potentially
    block the update.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Tuesday, February 20, 2024 21:14:06
    https://gitlab.synchro.net/main/sbbs/-/commit/375bdb7806d6ef2996a6a7b7
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Use max when we have it, only restore size/scaling in fullscreen mode

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, February 21, 2024 09:14:06
    https://gitlab.synchro.net/main/sbbs/-/commit/f616a09a6bf5bdd88e247850
    Modified Files:
    src/conio/x_events.c
    Log Message:
    First attempt to fix "black bars" startup issue.

    The first time we receive a MapNotify or ConfigureNotify that sets
    the width and height, resize the window instead of accepting the
    current window size.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Wednesday, February 21, 2024 09:30:24
    https://gitlab.synchro.net/main/sbbs/-/commit/129dd7db9d00fe4be9f9b93a
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Only count it as the "first resize" if it's not from SendEvent()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, February 21, 2024 10:54:09
    https://gitlab.synchro.net/main/sbbs/-/commit/bd1c91e6bf0a98cb6f3ef43c
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Always base scaling on size, and alwayse resize xim.

    Fixes issue with possible corrupt display when "weird" scaling
    changes occured.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to main/sbbs/master on Wednesday, February 21, 2024 12:17:18
    https://gitlab.synchro.net/main/sbbs/-/commit/37c79a65585b06197c219697
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Count flushes to disable resize hack.

    Instead of strictly using "first resize", also count flushes and
    assume the hack isn't needed after five. Experimentation on my
    ChromeBook shows 3 to be sufficient, so I'm sing five for now.

    Odds are that this will still mess with tiling WMs, but I don't use
    one, so I don't mind yet. I expect this will be better, but likely
    still not great.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, February 21, 2024 13:00:02
    https://gitlab.synchro.net/main/sbbs/-/commit/a130c61289d7bc2217d61665
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Lower flush count to 3.

    This is my happy place on the desktop system running xfce4... any
    higher, and it interferes with how I manage my windows.

    Hopefully, this value convers the initialization portion perfectly
    on all systems (hah!).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Thursday, February 22, 2024 05:37:17
    https://gitlab.synchro.net/main/sbbs/-/commit/fd0b6150ce3fb8c64b9ec0e3
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix some weirdness around window sizing.

    This should fix the recent issue when a larger or smaller version
    is painted inside the window after resize, as well as fix ALT-
    when the current size is not an integer multiple.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Monday, September 23, 2024 11:02:55
    https://gitlab.synchro.net/main/sbbs/-/commit/f5160b014413cbfee9c8ec7c
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix build when XRandR is available, but Xinerama isn't.

    ---
    þ 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:39:53
    https://gitlab.synchro.net/main/sbbs/-/commit/f2257585720b4972280f48da
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Actually don't call XSetICFocus() at start. :(

    ---
    þ 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 18:45:17
    https://gitlab.synchro.net/main/sbbs/-/commit/235ce71a6a01a20d6b3801a5
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Never call XMapWindow() in response to a _NET_FRAME_EXTENTS change

    This breaks at least herbstluftwm's focus-follows-mouse, and rustles
    Cyan's jimmies.

    It's also a terrible idea.

    ---
    þ 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 19:03:34
    https://gitlab.synchro.net/main/sbbs/-/commit/56c269ffc22dde02df5df429
    Modified Files:
    src/conio/x_events.c
    Log Message:
    If we're not mapping, only XSetWMNormalHints() if it's different.

    ---
    þ 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 19:16:10
    https://gitlab.synchro.net/main/sbbs/-/commit/d58c1bba6f02c14d23fe06c9
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Refine last commit...

    Add a comment explaining why we do what we do, and verify the aspect
    is unchanged as well since we could change only the aspect and need
    to set new hints in some cases.

    ---
    þ 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 19:24:11
    https://gitlab.synchro.net/main/sbbs/-/commit/ea0e1c4999f98b8804ece464
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix warnings in last commit.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Monday, September 30, 2024 16:03:41
    https://gitlab.synchro.net/main/sbbs/-/commit/63434549e82588a0cac2404a
    Modified Files:
    src/conio/x_events.c
    Log Message:
    Fix some more warnings when not using optional features.

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