Replace http:// with https:// where applicable
The testcases will be updated automatically in a separate commit.
This commit is contained in:
@ -321,7 +321,7 @@ Binding *get_binding_from_xcb_event(xcb_generic_event_t *event) {
|
||||
* XCB_XKB_PER_CLIENT_FLAG_GRABS_USE_XKB_STATE and
|
||||
* XCB_XKB_PER_CLIENT_FLAG_LOOKUP_STATE_WHEN_GRABBED. See also doc/kbproto
|
||||
* section 2.2.2:
|
||||
* http://www.x.org/releases/X11R7.7/doc/kbproto/xkbproto.html#Computing_A_State_Field_from_an_XKB_State */
|
||||
* https://www.x.org/releases/X11R7.7/doc/kbproto/xkbproto.html#Computing_A_State_Field_from_an_XKB_State */
|
||||
switch ((event_state & 0x6000) >> 13) {
|
||||
case XCB_XKB_GROUP_1:
|
||||
state_filtered |= (I3_XKB_GROUP_MASK_1 << 16);
|
||||
|
@ -222,9 +222,9 @@ void ewmh_update_visible_name(xcb_window_t window, const char *name) {
|
||||
/*
|
||||
* i3 currently does not support _NET_WORKAREA, because it does not correspond
|
||||
* to i3’s concept of workspaces. See also:
|
||||
* http://bugs.i3wm.org/539
|
||||
* http://bugs.i3wm.org/301
|
||||
* http://bugs.i3wm.org/1038
|
||||
* https://bugs.i3wm.org/539
|
||||
* https://bugs.i3wm.org/301
|
||||
* https://bugs.i3wm.org/1038
|
||||
*
|
||||
* We need to actively delete this property because some display managers (e.g.
|
||||
* LightDM) set it.
|
||||
|
@ -847,7 +847,7 @@ static void handle_client_message(xcb_client_message_event_t *event) {
|
||||
/* This request is used by pagers and bars to change the current
|
||||
* desktop likely as a result of some user action. We interpret this as
|
||||
* a request to focus the given workspace. See
|
||||
* http://standards.freedesktop.org/wm-spec/latest/ar01s03.html#idm140251368135008
|
||||
* https://standards.freedesktop.org/wm-spec/latest/ar01s03.html#idm140251368135008
|
||||
* */
|
||||
DLOG("Request to change current desktop to index %d\n", event->data.data32[0]);
|
||||
Con *ws = ewmh_get_workspace_by_index(event->data.data32[0]);
|
||||
@ -895,7 +895,7 @@ static void handle_client_message(xcb_client_message_event_t *event) {
|
||||
/*
|
||||
* Pagers wanting to close a window MUST send a _NET_CLOSE_WINDOW
|
||||
* client message request to the root window.
|
||||
* http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472668896
|
||||
* https://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472668896
|
||||
*/
|
||||
Con *con = con_by_window_id(event->window);
|
||||
if (con) {
|
||||
|
@ -602,7 +602,7 @@ int main(int argc, char *argv[]) {
|
||||
xcb_xkb_per_client_flags_reply_t *pcf_reply;
|
||||
/* The last three parameters are unset because they are only relevant
|
||||
* when using a feature called “automatic reset of boolean controls”:
|
||||
* http://www.x.org/releases/X11R7.7/doc/kbproto/xkbproto.html#Automatic_Reset_of_Boolean_Controls
|
||||
* https://www.x.org/releases/X11R7.7/doc/kbproto/xkbproto.html#Automatic_Reset_of_Boolean_Controls
|
||||
* */
|
||||
pcf_reply = xcb_xkb_per_client_flags_reply(
|
||||
conn,
|
||||
|
@ -5,7 +5,7 @@
|
||||
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
|
||||
*
|
||||
* For more information on RandR, please see the X.org RandR specification at
|
||||
* http://cgit.freedesktop.org/xorg/proto/randrproto/tree/randrproto.txt
|
||||
* https://cgit.freedesktop.org/xorg/proto/randrproto/tree/randrproto.txt
|
||||
* (take your time to read it completely, it answers all questions).
|
||||
*
|
||||
*/
|
||||
|
@ -69,10 +69,10 @@ void render_con(Con *con, bool render_fullscreen) {
|
||||
* The spec isn’t explicit on whether the aspect ratio hints should be
|
||||
* respected during fullscreen mode. Other WMs such as Openbox don’t do
|
||||
* that, and this post suggests that this is the correct way to do it:
|
||||
* http://mail.gnome.org/archives/wm-spec-list/2003-May/msg00007.html
|
||||
* https://mail.gnome.org/archives/wm-spec-list/2003-May/msg00007.html
|
||||
*
|
||||
* Ignoring aspect ratio during fullscreen was necessary to fix MPlayer
|
||||
* subtitle rendering, see http://bugs.i3wm.org/594 */
|
||||
* subtitle rendering, see https://bugs.i3wm.org/594 */
|
||||
if (!render_fullscreen && con->window->aspect_ratio > 0.0) {
|
||||
DLOG("aspect_ratio = %f, current width/height are %d/%d\n",
|
||||
con->window->aspect_ratio, inset->width, inset->height);
|
||||
@ -97,7 +97,7 @@ void render_con(Con *con, bool render_fullscreen) {
|
||||
* windows up until commit 0db93d9 here. However, since all terminal
|
||||
* emulators cope with ignoring the size hints in a better way than we
|
||||
* can (by providing their fake-transparency or background color), this
|
||||
* code was removed. See also http://bugs.i3wm.org/540 */
|
||||
* code was removed. See also https://bugs.i3wm.org/540 */
|
||||
|
||||
DLOG("child will be at %dx%d with size %dx%d\n", inset->x, inset->y, inset->width, inset->height);
|
||||
}
|
||||
@ -116,7 +116,7 @@ void render_con(Con *con, bool render_fullscreen) {
|
||||
* global fullscreen containers, we cannot abort rendering here yet,
|
||||
* because the floating windows (with popup_during_fullscreen smart)
|
||||
* have not yet been rendered (see the CT_ROOT code path below). See
|
||||
* also http://bugs.i3wm.org/1393 */
|
||||
* also https://bugs.i3wm.org/1393 */
|
||||
if (con->type != CT_ROOT) {
|
||||
return;
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ void restore_connect(void) {
|
||||
|
||||
/* xcb_disconnect leaks memory in libxcb versions earlier than 1.11,
|
||||
* but it’s the right function to call. See
|
||||
* http://cgit.freedesktop.org/xcb/libxcb/commit/src/xcb_conn.c?id=4dcbfd77b
|
||||
* https://cgit.freedesktop.org/xcb/libxcb/commit/src/xcb_conn.c?id=4dcbfd77b
|
||||
*/
|
||||
xcb_disconnect(restore_conn);
|
||||
free(xcb_watcher);
|
||||
|
@ -98,7 +98,7 @@ static int sighandler_backtrace(void) {
|
||||
|
||||
/* We provide pipe file descriptors for stdin/stdout because gdb < 7.5
|
||||
* crashes otherwise, see
|
||||
* http://sourceware.org/bugzilla/show_bug.cgi?id=14114 */
|
||||
* https://sourceware.org/bugzilla/show_bug.cgi?id=14114 */
|
||||
dup2(stdin_pipe[0], STDIN_FILENO);
|
||||
dup2(stdout_pipe[1], STDOUT_FILENO);
|
||||
|
||||
|
@ -266,7 +266,7 @@ bool tree_close_internal(Con *con, kill_window_t kill_window, bool dont_kill_par
|
||||
* will be mapped when i3 closes its connection (e.g. when
|
||||
* restarting). This is not what we want, since some apps keep
|
||||
* unmapped windows around and don’t expect them to suddenly be
|
||||
* mapped. See http://bugs.i3wm.org/1617 */
|
||||
* mapped. See https://bugs.i3wm.org/1617 */
|
||||
xcb_change_save_set(conn, XCB_SET_MODE_DELETE, con->window->id);
|
||||
|
||||
/* Ignore X11 errors for the ReparentWindow request.
|
||||
|
@ -316,7 +316,7 @@ void window_update_motif_hints(i3Window *win, xcb_get_property_reply_t *prop, bo
|
||||
* documentation of this hint is nowhere to be found.
|
||||
* For more information see:
|
||||
* https://people.gnome.org/~tthurman/docs/metacity/xprops_8h-source.html
|
||||
* http://stackoverflow.com/questions/13787553/detect-if-a-x11-window-has-decorations
|
||||
* https://stackoverflow.com/questions/13787553/detect-if-a-x11-window-has-decorations
|
||||
*/
|
||||
#define MWM_HINTS_FLAGS_FIELD 0
|
||||
#define MWM_HINTS_DECORATIONS_FIELD 2
|
||||
|
2
src/x.c
2
src/x.c
@ -127,7 +127,7 @@ void x_con_init(Con *con) {
|
||||
/* We explicitly set a background color and border color (even though we
|
||||
* don’t even have a border) because the X11 server requires us to when
|
||||
* using 32 bit color depths, see
|
||||
* http://stackoverflow.com/questions/3645632 */
|
||||
* https://stackoverflow.com/questions/3645632 */
|
||||
mask |= XCB_CW_BACK_PIXEL;
|
||||
values[0] = root_screen->black_pixel;
|
||||
|
||||
|
Reference in New Issue
Block a user