Julian Schuler
2daabfa0e9
Add 'exact' option for 'splitratio' ( #1245 )
...
* Simplify getPlusMinusKeywordResult()
* Add an 'exact' option for 'splitratio'
2022-12-17 22:37:44 +00:00
Julian Schuler
11ba6afdd3
Fix cycleprev bug introduced in 46891b12cf
( #1213 ) ( #1242 )
2022-12-17 14:37:10 +00:00
vaxerski
2076905d6e
remember size and pos on fullscreen 1
2022-12-17 12:14:43 +00:00
vaxerski
deb8d3d82e
ignore self in candidate floating
2022-12-16 20:07:44 +00:00
Vaxry
98a4fa2b0d
Added clang format ( #1239 )
...
* clang-format stuff and format files
2022-12-16 17:17:31 +00:00
vaxerski
20899b597e
log more in group creation
2022-12-16 00:22:23 +00:00
vaxerski
1a9ee959dd
static-ize master opt
2022-12-12 14:37:49 +00:00
Maarten van Gompel
46891b12cf
Master layout: lose or inherit fullscreen on deliberate window switching ( #1213 )
...
* Master layout: Lose fullscreen status when deliberately switching away from a fullscreen window
* Master layout: implemented inherit_fullscreen config parameter
When set, if you are on a fullscreen window and you cycle to the next,
swap master, etc, it will be automatically fullscreened.
2022-12-12 14:34:52 +00:00
vaxerski
0c1bec023f
unset cursor image on end drag if it gets destroyed
2022-12-12 14:32:23 +00:00
vaxerski
06e6c6021e
fix memory read-after-free in master layout
2022-12-12 14:18:43 +00:00
Maarten van Gompel
6381b6474f
Implement orientation (placement of master area) for master layout ( #1202 )
...
* Implemented choosing placement of master area (#1059 )
This implement a per workspace 'orientation' that can be set
to left, right, top or bottom. Reflecting placement of the master area.
Left (default) and right are horizontal layouts, top and bottom produce vertical
layouts. Orientation can be switched with: 'hyprctl dispatch layoutmsg orientationleft'
2022-12-10 21:59:16 +00:00
vaxerski
bf78dcecf0
add changefloatingmode event
2022-12-09 18:51:44 +00:00
vaxerski
fd43d2bea7
fix drag resizing on special ws-es
2022-12-09 17:08:04 +00:00
vaxerski
b9812f8bc0
use anim callbacks and don't spam config resets in drag
2022-12-09 15:00:58 +00:00
vaxerski
6e3bd440ba
do not reject drags on visible windows over fullscreen
2022-12-08 17:45:25 +00:00
vaxerski
e1d7a13333
unset fullscreen in onWindowRemoved
2022-12-07 18:57:02 +00:00
vaxerski
bf5844d607
add failsafe for dwindle windows
2022-12-07 18:57:02 +00:00
Eric_Luo
afe12dc90b
Fix a compiler warning ( #1124 )
...
Co-authored-by: hnboy <hnboy@users.noreply.github.com>
2022-11-28 19:04:24 +00:00
vaxerski
0a302901d2
Added handling more special workspaces
2022-11-27 22:42:22 +00:00
vaxerski
49063f949d
find floating windows below closed one
2022-11-27 12:11:45 +00:00
vaxerski
493fc00953
fix decorations missing after no_gaps_when_only toggle floating
2022-11-26 18:48:16 +00:00
vaxerski
75b7e661e7
damage windows after switch
2022-11-25 19:52:23 +00:00
vaxerski
e15a9f3d7d
damage monitor on group switch
2022-11-22 23:47:00 +00:00
vaxerski
d504c1e5ab
fix master resizes all
2022-11-21 18:14:25 +00:00
vaxerski
f8b9138383
make focus/swap master layoutmsgs two-way
2022-11-20 11:55:50 +00:00
vaxerski
5530cf6e79
respect no_gaps_when_only in fullscreen 1
2022-11-19 17:35:37 +00:00
d5eafe1926
set cursor to hand1 when moving a window
2022-11-15 10:39:05 +00:00
vaxerski
884fc4f89c
fix master window finding on closed
2022-11-13 14:31:12 +00:00
vaxerski
0208dff574
fix invalid master slave pos calc on y != 0
2022-11-10 19:39:16 +00:00
vaxerski
34b145ee65
Added resizing individual master windows
2022-11-10 12:05:22 +00:00
vaxerski
7ff1fd9d69
use goal values in changeWindowFloatingMode
2022-11-09 22:02:02 +00:00
vaxerski
1cf829c889
minor loose focus fixes
2022-11-08 20:28:41 +00:00
c545ab4993
Added multiple master layoutmsgs
2022-11-08 12:39:52 +00:00
vaxerski
6553fb5a40
fix fullscreen maximize size
2022-11-05 18:25:32 +00:00
vaxerski
206360177f
Multiple animation optimization and xwayland wine fixes
2022-11-04 15:56:31 +00:00
vaxerski
349afa0e7a
guard header windows in layout messages
2022-11-03 22:55:44 +00:00
abbadanor
61b950d942
Add focusmaster dispatcher ( #942 )
...
* added focusmaster dispatcher
* format
Co-authored-by: Adam Nord <adam.nord@abbgymnasiet.se>
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
2022-11-02 10:15:11 +00:00
vaxerski
077c1491a8
respect nofocus in candidate searching
2022-10-24 12:28:41 +01:00
vaxerski
c04563734e
Rework candidate finding on close window
2022-10-24 12:25:36 +01:00
vaxerski
da8be82c9a
Fix self-noding in changeWindowFloatingMode
2022-10-19 21:32:30 +01:00
vaxerski
8ffd244ef6
fix animate_manual_resizes with moves
2022-10-19 21:17:49 +01:00
vaxerski
34cd8b125a
rework focus system to be more safe and faster
2022-10-14 20:46:32 +01:00
vaxerski
ff5843bd85
anchor to proper quad in floating resize
2022-10-03 22:41:12 +01:00
Vaxry
45fe185cb9
Merge pull request #736 from Dickby/fix_bordersize_again
...
Scale the border size, revert the window scaling according to border
2022-09-29 22:01:06 +01:00
vaxerski
da40bf823f
apply new node data to all group windows on close
2022-09-29 19:46:33 +01:00
vaxerski
caeb0636fa
fix crash on dwindle splitratio alter on single group
2022-09-29 19:41:49 +01:00
Felix Dick
a1319e5110
Merge branch 'main' into fix_bordersize_again
2022-09-29 01:42:28 +02:00
Felix Dick
11ee78f88b
Use double literals, don't cast a integer literal to double.
2022-09-28 20:08:41 +02:00
Felix Dick
87afc8c250
Replace clamp with max if there is no upper bound.
2022-09-26 21:10:24 +02:00
Felix Dick
cd2b2c4fba
Scale the border size, revert the window scaling according to border
2022-09-26 17:38:08 +02:00