diff options
author | Ingo Bürk <admin@airblader.de> | 2021-09-10 08:09:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 08:09:32 +0200 |
commit | 3686cef63c649b7d5c5871579168dcdd2c84b08c (patch) | |
tree | 3a3aca17a1c065c77fb5b131cff86c02a3d15934 | |
parent | 3d2a1ef80acd9e0f37050b219acc7dbdb91276ac (diff) | |
parent | 381d7e6a98964d58a6a744944677d8d416e31fee (diff) | |
download | i3-3686cef63c649b7d5c5871579168dcdd2c84b08c.tar.gz i3-3686cef63c649b7d5c5871579168dcdd2c84b08c.zip |
Merge pull request #4469 from vincentbernat/fix/handler-xrandr
handlers.c: send an "output" event on monitor configuration change
-rw-r--r-- | RELEASE-NOTES-next | 3 | ||||
-rw-r--r-- | src/handlers.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/RELEASE-NOTES-next b/RELEASE-NOTES-next index ef8103df..9b7f41ea 100644 --- a/RELEASE-NOTES-next +++ b/RELEASE-NOTES-next @@ -3,7 +3,7 @@ │ Release notes for i3 v4.20 │ └──────────────────────────────┘ -This is i3 v4.19. This version is considered stable. All users of i3 are +This is i3 v4.20. This version is considered stable. All users of i3 are strongly encouraged to upgrade. Background/wallpaper workaround: @@ -62,3 +62,4 @@ option is enabled and only then sets a screenshot as background. • ipc: return proper signed int for container positions: negative values were returned as large 32 bits integers • fix crash with "layout default" + • send an "output" event on XRandR 1.5 monitor configuration change diff --git a/src/handlers.c b/src/handlers.c index 60064392..c5b09d7e 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -1074,6 +1074,8 @@ static void handle_configure_notify(xcb_configure_notify_event_t *event) { return; } randr_query_outputs(); + + ipc_send_event("output", I3_IPC_EVENT_OUTPUT, "{\"change\":\"unspecified\"}"); } /* |