Commit Graph

6846 Commits

Author SHA1 Message Date
Albert Safin c6b56b09ab Floating move drag: use threshold 2019-10-03 06:09:57 +00:00
Albert Safin 551ec20941 drag_pointer(): add use_treshold parameter 2019-10-03 06:09:57 +00:00
Albert Safin 2795c51d4b drag_pointer(): drop unused parameter `border` 2019-10-03 06:05:34 +00:00
Albert Safin 454473ac6c Move drag_pointer() to its own source file
Move drag_pointer() and related definitions from floating.c to new file
drag_pointer.c since it's applicable not only to floating windows but
also to resizing of tiled windows.
2019-10-03 06:05:34 +00:00
Orestis d22f0342b2
Merge pull request #3809 from xzfc/3606-floating-xterm
Fix regression: floating xterm created partially off screen
2019-10-02 10:52:40 +03:00
Albert Safin 67217822b8 do not try to center floating window on itself
Some apps including XTerm start with a WM_CLIENT_LEADER property
containing their own window ID.  Before this commit, i3 tried to center
such windows onto itself and did it wrong since
`leader->rect == {0,0,0,0}` at this moment.

The first affected commit is 128122e766,
however, before it such windows already was misplaced, but got sanitized
afterward [1].

[1]: 8a3ef3a81b/src/floating.c (L329-L335)

Fixes #3606
2019-10-02 04:00:05 +00:00
Orestis 94fdb92d7c
Merge pull request #3799 from xzfc/3527-workspace-number
extract_workspace_names_from_bindings: handle optional flags
2019-09-28 08:41:27 +03:00
acheronfail 46cf9fb91b feat: add window_type to ipc response 2019-09-27 15:44:13 +10:00
Albert Safin ff73ddeeee extract_workspace_names_from_bindings: handle optional flags
fixes #3527
2019-09-23 08:21:30 +00:00
Ingo Bürk 7db0d179a3
Merge pull request #3784 from Iskustvo/next
Added documentation for "fullscreen_mode" in GET_TREE reply.
2019-09-20 23:23:31 +02:00
Orestis cfb74c01ff
Merge pull request #3783 from erwinvaneijk/fix_lcov_version
fix lcov support
2019-09-03 11:52:20 +03:00
Ingo Bürk 0e73396d28
Merge pull request #3787 from orestisfl/rect
Remove packed attribute from Rect
2019-09-03 09:59:34 +02:00
Orestis Floros a73510026f
Remove packed attribute from Rect
Fixes #3785 -- the issue where the Travis build failed because of gcc's
-Werror=address-of-packed-member.

Adds an equality function to avoid relying on memcmp().
2019-09-03 10:43:36 +03:00
Iskustvo 148bdeefdc Added documentation for "fullscreen_mode" in GET_TREE reply. 2019-09-02 19:58:22 +02:00
Erwin J. van Eijk 1e4ffcafaa fix lcov support
Ubuntu 18.10 comes with lcov 1.13, which is now added.
2019-09-01 19:19:12 +02:00
Michael Stapelberg 39a65166c4 update debian/changelog 2019-08-30 23:46:42 +02:00
Michael Stapelberg 225ebb0d58 Merge branch 'release-4.17.1' 2019-08-30 23:06:59 +02:00
Michael Stapelberg c0f987fd66 Update debian/changelog 2019-08-30 23:06:59 +02:00
Michael Stapelberg 942a33d0ec Set non-git version to 4.17.1-non-git. 2019-08-30 23:06:59 +02:00
Michael Stapelberg 2ec14630fd Merge branch 'master' into next 2019-08-30 23:06:59 +02:00
Michael Stapelberg f0f3821ff0 release i3 4.17.1 2019-08-30 23:06:47 +02:00
Michael Stapelberg e6662df114 default config: use workspace number, not just workspace
This is strictly better: if the configured name does not match the current name,
the correct workspace will still be used.

When creating a new workspace, the configured name is still used.
2019-08-30 18:06:11 +02:00
Michael Stapelberg 1059277f28 default config: mention loginctl lock-session alongside xss-lock 2019-08-30 18:05:58 +02:00
Michael Stapelberg 3d7b25a857 default config: add XF86AudioMicMute 2019-08-30 18:05:55 +02:00
Michael Stapelberg fced643980 default config: immediately refresh i3status after volume changes 2019-08-30 18:05:52 +02:00
Ingo Bürk c6b0c61e25
Merge pull request #3747 from stapelberg/default-config-numbers
default config: use workspace number, not just workspace
2019-08-28 08:58:44 +02:00
David Shen 482f9e0ba7 Unset _I3_RESTART_FD after restart (#3775)
Closes #3764
Closes #3765
2019-08-28 08:54:33 +02:00
David Shen efe84764b0 Unset _I3_RESTART_FD after restart (#3775)
Closes #3764
Closes #3765
2019-08-28 08:54:10 +02:00
Orestis 7b33e06b9d
Merge pull request #3776 from RedSoxFan/move-mark-scratchpad-hidden
cmd_move_to_mark: fix move to scratchpad hidden
2019-08-22 09:45:51 +03:00
Brian Ashworth 741e94ae4f cmd_move_to_mark: fix move to scratchpad hidden
This fixes the case where moving a container to a scratchpad hidden
container via a mark would cause the container to be tiling on the
__i3_scratch workspace. This still moves the container to the
__i3_scratch workspace, but properly adds it to the scratchpad so that
it becomes usable instead of requiring criteria to regain access to.
2019-08-21 19:58:49 -04:00
Ingo Bürk a4b5deed73
Merge pull request #3771 from stapelberg/lock
default config: mention loginctl lock-session alongside xss-lock
2019-08-15 22:02:16 +02:00
Michael Stapelberg 61ae2f17df default config: mention loginctl lock-session alongside xss-lock 2019-08-15 21:16:12 +02:00
Ingo Bürk 81c90895ef
Merge pull request #3770 from stapelberg/mic
default config: add XF86AudioMicMute
2019-08-15 21:12:02 +02:00
Michael Stapelberg 31fd13aa1b default config: add XF86AudioMicMute 2019-08-15 20:57:34 +02:00
Ingo Bürk 9e2f00e297
Merge pull request #3769 from stapelberg/refresh
default config: immediately refresh i3status after volume changes
2019-08-15 20:53:49 +02:00
Michael Stapelberg 98b50d7dd0 default config: immediately refresh i3status after volume changes 2019-08-15 20:33:33 +02:00
Ingo Bürk ac9e55caa5
Merge pull request #3768 from orestisfl/get_first_output
get_first_output changes
2019-08-15 17:23:41 +02:00
Orestis Floros 14d2a4c7f6
Correctly select output when pointer query fails 2019-08-13 16:54:55 +03:00
Orestis Floros fd7e51927d
get_first_output: prefer primary output
Used in two cases:
- When the pointer location can't be found but some initial container
needs to be focused
- When moving disabled outputs
2019-08-13 16:44:45 +03:00
izzel 0845d7b264 Remanage window after property updates (like titles) (#3759) 2019-08-13 08:50:48 +02:00
Antoine 3b88e41dd8 move workspace to output: don’t create duplicatively numbered workspaces (#3746)
fixes #3745
2019-08-08 07:43:01 +02:00
Michael Stapelberg 840d9202d1 release.sh changes for v4.17 2019-08-03 15:29:04 +02:00
Michael Stapelberg c36311f614 debian: update changelog 2019-08-03 15:22:06 +02:00
Michael Stapelberg cddaa2c57b Update debian/changelog 2019-08-03 15:14:53 +02:00
Michael Stapelberg f2b612d271 Merge branch 'release-4.17' 2019-08-03 15:14:52 +02:00
Michael Stapelberg ea00565ad3 Merge branch 'next' into master 2019-08-03 15:14:52 +02:00
Michael Stapelberg 18f50893f6 Set non-git version to 4.17-non-git. 2019-08-03 15:14:52 +02:00
Michael Stapelberg 79c690248a release i3 4.17 2019-08-03 15:14:38 +02:00
Iskustvo ac100e36d9 Updated the documentation for COMMAND reply. (#3754) 2019-08-02 14:56:48 -07:00
Ingo Bürk 8cc2743bd6
Merge pull request #3748 from stapelberg/default-config
default config: start xss-lock+i3lock, nm-applet, pactl (volume key)
2019-07-31 15:20:46 +02:00