Commit Graph

1434 Commits

Author SHA1 Message Date
Vaxry 32e8eda40a
Merge pull request #787 from fufexan/libinput
Add accel profile and scroll method
2022-10-05 21:58:40 +01:00
Mihai Fufezan 477ad2dd82
Add accel profile and scroll method 2022-10-05 23:51:08 +03:00
vaxerski e90c5c6347 fix tty switch freeze 2022-10-05 21:41:27 +01:00
vaxerski 11ce468996 add dpms status info in hyprctl 2022-10-05 18:14:11 +01:00
vaxerski 9c5023ab1a monitor desc improvements 2022-10-05 17:38:36 +01:00
Vaxry 0e4a894edb add dpms per output 2022-10-05 10:31:47 +01:00
Vaxry 71e2562a41 add desc: to monitor rules 2022-10-05 10:22:33 +01:00
Felix Dick 0d7f6eac9e Merge branch 'make_TTY_unsigned' into fix_left_handed 2022-10-05 04:51:48 +02:00
Felix Dick 6d46ed4011 Fix getDeviceInt string arg "input:left_handed" 2022-10-05 04:25:26 +02:00
Felix Dick f825b87c2a Fix compiler warnig comparing signed and unsigned integers. 2022-10-05 02:42:51 +02:00
Vaxry 934f81c93d
Merge pull request #777 from Dickby/fix_shader_error
Remove texcoord from QUADFRAGSRC.
2022-10-04 23:20:52 +01:00
Felix Dick e8be1507ef Remove texcoord from QUADFRAGSRC.
texcoord is unused in the rounding part of the textureshaders.
QUADFRAGSRC isn't using that variable inside the non rounding code.
Because of that opengl optimizes that variable out, and is complaining
if glGetAttribLocation is called on it.
2022-10-05 00:04:32 +02:00
vaxerski 60c414ccad add left_handed config for input 2022-10-04 21:46:41 +01:00
vaxerski 0d702b556d Add switch device handling and binds 2022-10-04 20:07:21 +01:00
vaxerski 9bbae5b8e2 ignore VT switches to current vt 2022-10-04 16:53:09 +01:00
vaxerski 719a5b4f0b use vectorToWindowIdeal in mouse binds 2022-10-04 16:08:55 +01:00
Vaxry 7bdfdaa28a
Merge pull request #742 from Dickby/rework_rounding_shader
Rework rounding shader
2022-10-04 14:17:16 +01:00
Vaxry a80e0cecfe fixes to window swallowing with same pid 2022-10-04 11:16:49 +01:00
Vaxry 3e3f6aef5e additional logic for identical pid swallowing 2022-10-04 10:17:10 +01:00
lylac f9325b1655
focusedmon event check change
Compare PLASTWINDOW & PWINDOWTOCHANGETO m_iMonitorID's instead of PWINDOWTOCHANGETO->m_iMonitorID & g_pCompositor->m_pLastMonitor->ID
2022-10-04 18:19:14 +13:00
vaxerski 63dfe305dd log GPU info for debugging 2022-10-03 23:10:15 +01:00
vaxerski ff5843bd85 anchor to proper quad in floating resize 2022-10-03 22:41:12 +01:00
vaxerski ab82c4806d allow one less arg in bind 2022-10-03 21:01:08 +01:00
vaxerski 49ab3890aa remove polling from socket2, fully event based 2022-10-03 20:47:15 +01:00
Vaxry 85eea70be4 fix commas in free binds 2022-10-03 16:38:05 +01:00
vaxerski 174b593438 optimize removing trailing spaces 2022-10-03 14:36:56 +01:00
vaxerski 0a08830375 Unify arg lists, allow for trailing spaces in args 2022-10-03 14:29:45 +01:00
vaxerski a97621b1cb Added window swallowing 2022-10-01 19:19:15 +01:00
vaxerski 355366714e minor OR XWayland fixes 2022-10-01 18:25:02 +01:00
vaxerski 590fbf808b send a focusedmon event on focus change mon 2022-10-01 10:38:53 +01:00
Vaxry bbeed21e62 fix crash 2022-10-01 08:54:43 +01:00
Felix Dick c6333ba796 Remove unused ignoreCorners variable from texture shaders. 2022-10-01 03:30:58 +02:00
Felix Dick 6fe103cf06 Cut the number of pixels that call length() in half. 2022-10-01 03:14:13 +02:00
Felix Dick 71733f68ef Merge branch 'fix_rounding_in_size_changing_windows' into rework_rounding_shader 2022-10-01 01:35:13 +02:00
vaxerski e6c9e3f81d add case for empty strings in isNumber 2022-09-30 21:54:13 +01:00
vaxerski 7579e03b64 include shaders only in opengl.cpp 2022-09-30 18:38:10 +01:00
vaxerski 1ef23a304a remove redundant attrib setting 2022-09-30 17:04:33 +01:00
vaxerski 3c27d1ab13 optimize vector config value setting 2022-09-30 17:03:14 +01:00
Vaxry 59a3c43913 guard event in maximize request 2022-09-30 10:37:09 +01:00
Felix Dick d867d42366 Merge branch 'main' into fix_rounding_in_size_changing_windows 2022-09-30 01:38:50 +02:00
Felix Dick 6eb7d00386 Send absolute screen coordinates to texture shaders. 2022-09-29 23:19:56 +02:00
vaxerski 2d73da1a79 enter outputs for non-interactive ls-es too 2022-09-29 22:16:43 +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
Felix Dick 09268d756f Merge branch 'main' into rework_rounding_shader 2022-09-29 21:15:08 +02:00
Felix Dick e5dced8b3f Merge branch 'main' into fix_rounding_in_size_changing_windows 2022-09-29 21:13:48 +02:00
Felix Dick b38e7b596f Don't pass bottomRight to textureShaders compute it within. 2022-09-29 21:10:05 +02: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 1424539e4d Merge branch 'main' into rework_rounding_shader 2022-09-29 20:41:39 +02:00
vaxerski bdd9680adf fix ipc event missing on silent movetoworkspace 2022-09-29 19:33:43 +01:00
vaxerski ff4c22ca90 add fullscreen info to clients request 2022-09-29 19:30:49 +01:00
vaxerski 9f9129e536 focusable checks in nextWindow calls 2022-09-29 16:53:31 +01:00
Felix Dick ab42e4bccf Merge branch 'main' into fix_bordersize_again 2022-09-29 14:29:03 +02:00
Felix Dick 425b07d1e5 Merge branch 'main' into rework_rounding_shader 2022-09-29 14:24:59 +02:00
Vaxry 2636abca2d use the event data for determining maximize status in requests 2022-09-29 10:24:54 +01:00
Vaxry ead0e74471 handle maximize toplevel request 2022-09-29 10:20:17 +01:00
Vaxry dcf5e34bfa
Merge pull request #735 from Dickby/fix_splash_position
Splash position fix
2022-09-29 10:07:27 +01:00
Felix Dick 65fb526d5c Even less branching (taken more or less from the border shader). 2022-09-29 06:56:17 +02:00
Felix Dick 10c4f4ba35 Shift splash up if monitor has wider ratio than bgTexture. 2022-09-29 05:29:03 +02:00
Felix Dick a1319e5110 Merge branch 'main' into fix_bordersize_again 2022-09-29 01:42:28 +02:00
Felix Dick 5233746ac5 Change scaledBorderSize to int. 2022-09-29 01:40:19 +02:00
Felix Dick 0549aa193f fixing your shit. 2022-09-28 23:33:18 +02:00
Felix Dick 168a326609 Merge branch 'main' into rework_rounding_shader 2022-09-28 23:11:11 +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 7edbaea23d Make the rounding texture shaders smaller and more efficient. 2022-09-28 18:40:04 +02:00
vaxerski ec5ffe8839 rewrite isNumber 2022-09-28 15:32:53 +01:00
vaxerski e3b1d3c3c5 allow for pure workspace names in dispatchers 2022-09-28 15:26:41 +01:00
vaxerski 458ba3237b use goalv in movetoworkspace 2022-09-28 15:12:15 +01:00
Felix Dick 5ff44467d7 Avoid 38 files to compile every time a shader is modified. 2022-09-28 14:48:05 +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
Felix Dick c48336aac3 Scale the cairo matrix to fit the monitor dimensions. 2022-09-26 06:35:00 +02:00
Felix Dick bf3f519eb7 Remove trailing whitespace. 2022-09-25 20:07:48 +02:00
Dickby e476382d08 scale border size in dwindle layout window sizes. 2022-09-25 18:12:42 +02:00
Dickby c885afcbc6
Scale border size in calculations of windows 2022-09-25 12:42:39 +02:00
Vaxry fad5fc587d guard kb settings in xkb translation state 2022-09-24 21:07:18 +01:00
Vaxry 73dbacd16d overwrite wsbind rules on existing 2022-09-24 13:42:18 +01:00
Vaxry 65fb0cf0f6 fix custom rules on null modelist 2022-09-24 13:10:11 +01:00
Vaxry 5101ddeff1 fix oopsies in rule code 2022-09-24 11:30:41 +01:00
Dickby bccc81d306
Fixing my last change
It wasn't a problem with the bug i tried to fix.
But there  would be a problem if some function would dereference pPreviousGroupMember from the node that was PHEAD->pNextGroupMember.
Please don't be mean!
2022-09-23 19:13:05 +02:00
Vaxry 718de0d9fa
Merge pull request #715 from Dickby/main
fix crash
2022-09-23 17:05:04 +01:00
Vaxry fd6116c0cd style 2022-09-23 17:01:27 +01:00
Dickby 00b16888bf
style fix 2022-09-23 17:59:33 +02:00
Vaxry abee2da5bd
Merge pull request #706 from DashieTM/main
Add "highest" mode to Monitor for autoconfiguration.
2022-09-23 16:50:24 +01:00
Vaxry 695411f1bd don't decorate on only no gaps 2022-09-23 16:47:58 +01:00
Dickby f9d8b3096a
fix crash
Fixes #711
2022-09-23 17:01:46 +02:00
Vaxry e5d143b238 support more wlr_cursor events 2022-09-22 21:14:02 +01:00
Vaxry 37f2e1ddbe don't recalc pseudo on fullscreen 2022-09-22 20:57:09 +01:00
Vaxry ef3eb37c7f support max in size rules 2022-09-22 18:13:23 +01:00
Vaxry c08218301b disallow pinning fullscreen 2022-09-22 16:48:40 +01:00
Vaxry 75aaf11a9c default pass_mouse_when_bound to 0 2022-09-22 16:33:45 +01:00
Fabio Lenherr c4e782ca5d remove more silly mistakes 2022-09-22 00:50:23 +02:00
Fabio Lenherr da2c2ddc21 remove empty line 2022-09-22 00:47:09 +02:00
Fabio Lenherr 5272588270 fix silly mistakes 2022-09-22 00:45:56 +02:00
Fabio Lenherr 215125bd66 add refreshrate or resolution preference 2022-09-22 00:22:39 +02:00
Fabio Lenherr 30d16373d0 fix Hz Log 2022-09-21 22:40:01 +02:00
Fabio Lenherr c1feb683ce added high to monitor resolution 2022-09-21 22:29:52 +02:00
Vaxry d3ffccd45f accept any case in binds 2022-09-21 17:41:26 +01:00
Vaxry 8b46d0b5a9 simplify some local vars 2022-09-21 15:11:09 +01:00
Vaxry 79c645f8cd handle touch devices internally as objects 2022-09-21 14:39:34 +01:00