Commit Graph

1631 Commits

Author SHA1 Message Date
vaxerski cfbab453e8 move no_direct_scanout to misc 2022-11-05 13:22:18 +00:00
vaxerski 6a59b57ef8 remove spammy logs for DS 2022-11-05 13:06:48 +00:00
vaxerski f50c786640 Added direct scanout 2022-11-05 12:50:47 +00:00
vaxerski 70aece8522 constraint focus simplifications 2022-11-04 18:09:40 +00:00
vaxerski c9eb0f3aab fix missing stub for xwayland 2022-11-04 16:10:10 +00:00
vaxerski 206360177f Multiple animation optimization and xwayland wine fixes 2022-11-04 15:56:31 +00:00
vaxerski 34ad837fd9 don't update the env in session-less hl 2022-11-04 11:30:25 +00:00
vaxerski e796157672 fix passing input to constrained windows without relative 2022-11-04 11:09:34 +00:00
vaxerski b51222c004 fix ordering in mouse connect 2022-11-04 10:48:42 +00:00
vaxerski 9aad352789 automatically update dbus environment on start 2022-11-04 10:37:14 +00:00
vaxerski ce8c20c1ed fix raw exec in configmanager 2022-11-04 10:33:05 +00:00
vaxerski 349afa0e7a guard header windows in layout messages 2022-11-03 22:55:44 +00:00
vaxerski 748a6965ca include utility in defines 2022-11-03 19:55:20 +00:00
vaxerski 97af7c416e added unset rules 2022-11-03 19:52:43 +00:00
vaxerski 47512dd6db remove redundant includes 2022-11-03 19:52:34 +00:00
vaxerski 653b9ed0e4 Fix missing focusedmon event on focusmonitor dispatcher 2022-11-03 19:34:26 +00:00
Vaxry d0e47d9fe0 added workspace_swipe_forever 2022-11-03 13:35:34 +00:00
Vaxry c47581fc5a handle transforming displays in outputMgr 2022-11-03 09:06:44 +00:00
Vaxry 31aa357c17 fix safety over ls outputs 2022-11-03 08:56:47 +00:00
vaxerski 6ddfae0a07 remove ensureFDsValid, legacy 2022-11-02 21:28:08 +00:00
vaxerski c1542da18a fix typo in focus 2022-11-02 18:54:41 +00:00
vaxerski 5b548f5bc3 update window values after map finish 2022-11-02 15:15:39 +00:00
vaxerski 5ac2005318 remove old comments 2022-11-02 14:52:36 +00:00
Vaxry a2b8e3b34e fix the damageBox in damageMonitor 2022-11-02 11:04:17 +00:00
Vaxry d78b53968f render the debug overlay only on visible monitors 2022-11-02 10:24:43 +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
Vaxry a16073a87b deprecate general:damage_tracking 2022-11-02 10:12:33 +00:00
Vaxry 603a90886f fix swipe on 2 detached workspaces 2022-11-02 10:01:13 +00:00
vaxerski 95bbac8791 remove redundant check in CShader 2022-11-01 18:46:51 +00:00
vaxerski a69fd21a1a Add an idleinhibit windowrule 2022-10-31 12:26:07 +00:00
wael 2c67c1c4f8 meson: use gl instead of GL
`/usr/lib/pkgconfig/gl.pc`
2022-10-31 12:39:04 +02:00
vaxerski 989deafd5e use lld instead of i in hyprctl getopt for accurate int reads 2022-10-30 22:45:03 +00:00
vaxerski 9f1d7f7fc7 properly scan for subsurfaces in fullscreen input refocus 2022-10-30 12:28:37 +00:00
vaxerski 6245c92bd0 avoid creating bound WS-es in moveWorkspaceToMonitor 2022-10-30 12:14:12 +00:00
vaxerski 2e32e202e9 set lastmonitor in onDisconnect 2022-10-29 22:45:01 +01:00
vaxerski d994ad75e8 revert output smart layout reporting 2022-10-29 17:32:03 +01:00
vaxerski 2caebb3b10 fix default 0 in box passing test 2022-10-29 14:37:33 +01:00
vaxerski 05f3eebd96 avoid layout changes when unnecessary in applyMonitorRule 2022-10-29 12:24:44 +01:00
vaxerski 74d05d0adc ensure VRR for current display only in onConnect 2022-10-28 23:48:48 +01:00
vaxerski 341a0616aa avoid applying offset twice in onConnect 2022-10-28 23:23:23 +01:00
vaxerski ea7f617df6 remove redundant check 2022-10-28 22:33:47 +01:00
vaxerski 644c64d79d lower IME errors to WARNs 2022-10-28 21:47:08 +01:00
vaxerski d193d70ecf guard primaryFB tex in end() 2022-10-28 21:46:19 +01:00
vaxerski 9e227a52c0 allow cyclenext on null focus 2022-10-28 21:31:39 +01:00
vaxerski 1a767b021b fix minor focus oopsie 2022-10-28 20:12:17 +01:00
vaxerski 83e4006b16 properly find the constraint window 2022-10-28 19:35:02 +01:00
vaxerski 1759b0483c constrain mouse on focus change 2022-10-28 19:20:12 +01:00
vaxerski f7174acc48 minor fixes for xwayland refocus 2022-10-28 19:18:10 +01:00
vaxerski c2cd718e89 ignore pointer constraints in touch 2022-10-27 23:44:23 +01:00
Hilton Chain c21808dd2d meson: Fallback to 'opengl' when 'GL' is not found.
This patch adds 'opengl' as a fallback to 'GL' for dependency lookup, to
link with libglvnd configured without X11 support.

For OpenGL, libglvnd provides two pkg-config files: `gl.pc' with GLX
support while `opengl.pc' not.  When building without X11 support, the
former won't be installed.
2022-10-28 00:50:58 +03:00
Vaxry 7d6ccca695 add 10bit support to displays 2022-10-27 13:26:47 +01:00
Vaxry 28c81fc71e add disabling pointer devices 2022-10-27 12:58:10 +01:00
Vaxry d5a0610ea2
No xwayland overhaul (#920) 2022-10-27 11:26:35 +01:00
vaxerski 4aebb73de0 Added hyprctl cursorpos 2022-10-26 13:19:37 +01:00
vaxerski 83ad59fae7 Allow 100%- for move rule 2022-10-26 12:34:26 +01:00
vaxerski f9a7b6bf26 default focus_on_activate to false 2022-10-25 18:53:18 +01:00
Vaxry cdb331076a allow # escaping in config 2022-10-25 14:32:25 +01:00
Vaxry ba9a8a9ded unify LS unmap focus 2022-10-25 14:19:24 +01:00
vaxerski 34bd2cf803 respect wsbind in workspace silent rules 2022-10-25 10:30:25 +01:00
vaxerski 69f1d7b360 Rework workspace rules 2022-10-24 18:36:31 +01:00
vaxerski e0bc952c83 minor fix to silent ws rules 2022-10-24 17:00:08 +01:00
vaxerski cf869d9636 allow nofocus + workspace silent 2022-10-24 12:37:07 +01: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 1d0d350fc3 fix silent + size windowrules 2022-10-24 12:03:15 +01:00
vaxerski d55338a3f5 fix debug nest black screen 2022-10-24 11:58:07 +01:00
vaxerski c6a3092b45 more safety around shutting down and mouse movements 2022-10-24 00:14:42 +01:00
vaxerski 10303259f7 always report sizes after a window unmap 2022-10-22 22:10:34 +01:00
vaxerski 47eac4be1c disable adaptive sync with no_vfr off 2022-10-22 21:45:17 +01:00
vaxerski 2995867760 Transpose matrices on LEGACY_RENDERER 2022-10-22 21:10:49 +01:00
vaxerski 44cee0f5f8 more safety for focus requests 2022-10-22 16:45:33 +01:00
vaxerski 2c714eace5 handle activate requests 2022-10-22 16:43:47 +01:00
vaxerski 0d7d7a970d fix crash in event manager on hangup 2022-10-22 16:15:52 +01:00
vaxerski b71d7c9007 minor workspace rule parsing fixes 2022-10-21 10:45:12 +01:00
vaxerski ce5f025428 T1C: window dance compat 2022-10-20 22:38:49 +01:00
vaxerski 6df6aea1ba fix swipe with fullscreen maximized 2022-10-20 20:37:37 +01:00
Kainoa Kanter ca2d2db0ef
Add windowrules for noblur and noshadow (#884) 2022-10-20 20:36:27 +01:00
vaxerski 1ccb0b5f96 bump xdg ver to 5 2022-10-20 18:04:21 +01:00
vaxerski c2545b3ae6 fix refocus on last window 2022-10-20 18:00:29 +01:00
Vaxry dada872981 minor swipe on new fixes 2022-10-20 17:52:17 +01:00
Vaxry 1eec5161bd minor fix for swipes from empty workspaces 2022-10-20 15:47:35 +01:00
Vaxry 53c3644c29 fix minor anim issue with swipe new 2022-10-20 15:02:46 +01:00
Vaxry 6d66dde208 added swipe create new 2022-10-20 14:54:32 +01:00
vaxerski 1b349f79ac don't set custom mode in change 2022-10-19 22:12:02 +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 bf9d31ce49 fix maximized windows not hiding tiled 2022-10-19 15:17:35 +01:00
Vaxry 98a32f5e52 render layer snapshot without blur 2022-10-19 11:00:59 +01:00
vaxerski dc1737f128 allow glob wildcard in addreserved 2022-10-17 23:23:07 +01:00
vaxerski ecf0cdaba4 a bit more default config nice addons 2022-10-17 16:59:52 +01:00
vaxerski 286cb90c48 ignore OR windows' size hints 2022-10-17 14:26:18 +01:00
vaxerski 3f77cde50e set XCURSOR_SIZE if not set in init 2022-10-17 14:01:04 +01:00
vaxerski 1145654987 default & example config overhaul 2022-10-17 13:48:21 +01:00
vaxerski da4cfb9c32 use size hints when available in xwayland default geom 2022-10-17 11:18:45 +01:00
vaxerski 58375bc87a Add support for rgba() and rgb() colors in the config 2022-10-16 22:26:02 +01:00
K1llf0rce dca30815b0
add maxsize window rule 2022-10-15 17:04:57 +02:00
vaxerski edeb759bb1 add loose focus behavior 2022-10-15 14:13:21 +01:00
vaxerski 34cd8b125a rework focus system to be more safe and faster 2022-10-14 20:46:32 +01:00
Vaxry b0544dbfff remove old log 2022-10-14 14:25:28 +01:00
Vaxry a7bdfc06ca added bringactivetotop dispatcher 2022-10-14 14:22:31 +01:00
Vaxry 724fa4a7d4 add touch binding to output 2022-10-14 12:38:44 +01:00
Vaxry cee0645fd1
Merge pull request #813 from histausse/touch_dev_rotation
Add input:touchdevice:transform config
2022-10-14 12:26:31 +01:00
Vaxry df9409b8a2 rename transform in DC to touch_transform 2022-10-14 12:23:11 +01:00
vaxerski 670d6ce8f4 fix windowsOut disabled with fadeOut enabled 2022-10-13 21:32:28 +01:00
Brodi 5d6e56b67c
fix invalid json output by adding a missing comma 2022-10-13 16:21:58 +02:00
Vaxry 624303bfb9 check for same workspace in workspace rule 2022-10-13 15:19:30 +01:00
Vaxry eb3c132fc5 set workspace name in previous 2022-10-13 15:17:16 +01:00
vaxerski 170def35d7 simplify shouldRenderWindow and fix one cond 2022-10-12 18:37:11 +01:00
vaxerski 2ee9fb0675 don't recalc offset on monitor reload offset auto 2022-10-12 15:16:31 +01:00
vaxerski 1396d2a39b fix crash in renderWorkspaceWithFullscreenWindow 2022-10-11 20:29:51 +01:00
Vaxry 7ecc41db9c unsetenv on no XWayland 2022-10-11 12:00:06 +01:00
Histausse 6287f2b71b
use static for transformation matrices 2022-10-10 12:52:12 +02:00
Felix Dick 7e781f24c5 Merge branch 'main' into simplify_matrix_calculations 2022-10-10 02:45:40 +02:00
Felix Dick 3bf7c5aea1 Change matrixProjection function stop use matrixFlip180 everywhere. 2022-10-10 01:35:42 +02:00
Felix Dick 092dbda88a Let openGL transpose the matrixes for us. 2022-10-10 01:32:04 +02:00
vaxerski 881f828250 better subsurface handling on unmaps 2022-10-09 17:40:30 +01:00
vaxerski 0743dab3f0 use popup base surface instead of subsurface for addPopupGlobalCoords 2022-10-09 17:10:20 +01:00
vaxerski 496e37d044 ensure texture safety in clearWithTex() 2022-10-09 17:02:39 +01:00
Felix Dick 9ee78b1a92 inverse_transform the box in renderRectWithDamage. 2022-10-09 01:58:00 +02:00
Histausse 406b2fe6dc
Add additionnal matrices and rename config var 2022-10-09 00:45:34 +02:00
Histausse 32ae0c51f0
Add input:touchdevice:td_rotation config
Add support for touch device roation. The rotation is
set globally with `input:touchdevice:td_rotation config` and by
device with `td_rotation` in a device block.
2022-10-08 15:25:46 +02:00
Felix Dick 2f3528c076 Check earlier if pixman regions are empty. 2022-10-08 11:20:04 +02:00
vaxerski 1964bcb13f add open/close layer events 2022-10-07 22:25:00 +01:00
Vaxry 4b779ac142
Merge pull request #811 from Dickby/add_missing_pixman_region32_fini
Add missing pixman_region32_fini.
2022-10-07 22:20:35 +01:00
vaxerski abc2d442dd fix a VRAM leak in destroyMonitorResources 2022-10-07 22:19:23 +01:00
Felix Dick b64f1fc5c4 Add missing pixman_region32_fini. 2022-10-07 23:11:20 +02:00
vaxerski 33d264eaa7 release all fbs in destroyMonitorResources 2022-10-07 21:13:28 +01:00
Vaxry 5e3b8c3233
Merge pull request #807 from Dickby/fix_monitor_transforms
Transform the box data send to texture shaders.
2022-10-07 20:12:28 +01:00
Felix Dick bbdfb7853d Transform the box data send to texture shaders. 2022-10-07 20:55:41 +02:00
Vaxry a19b152e4a make swipe respect slidevert 2022-10-07 16:52:53 +01:00
Vaxry 1468001d3b offset floating windows out of bounds on ws anims 2022-10-07 12:34:54 +01:00
Vaxry 7faa3c367d Added clipping support, clip windows on slide anim 2022-10-07 10:43:51 +01:00
Vaxry fd379db846 swallow improvements 2022-10-07 09:46:01 +01:00
Vaxry c4487534d2
Merge pull request #801 from fufexan/scrollfactor
Add input:touchpad:scroll_factor
2022-10-06 21:26:11 +01:00
Mihai Fufezan e4820d1c71
Add input:touchpad:scroll_factor 2022-10-06 22:47:05 +03:00
vaxerski b4a8efc1a7 fix naming when workspace back and forth 2022-10-06 20:40:58 +01:00
vaxerski 9480c0fb90 fix workspace previous with multi-mon ws moves 2022-10-06 20:18:49 +01:00
vaxerski f901c60da5 return true on vt switch keysyms to avoid printing stuff 2022-10-06 19:31:32 +01:00
vaxerski 922e978f56 reset sigmask on fork 2022-10-06 19:02:03 +01:00
vaxerski 0508c7d384 more monitor checks for shutdown: 2022-10-06 18:43:50 +01:00
vaxerski ee3b770cfd more checks in pid gathering 2022-10-06 17:58:38 +01:00
Felix Dick 552c4b7361 Fix compiler warnings. 2022-10-06 13:42:52 +02:00
Vaxry d7ef19e2e7 map touch to the correct output 2022-10-06 09:26:05 +01:00
Vaxry 190ddb5697 added a noanim rule 2022-10-06 09:16:40 +01:00
Vaxry 095688712d add minsize rule 2022-10-06 09:09:58 +01:00
Vaxry d264fbd36a fix string corruption in hyprctl monitors -j 2022-10-06 09:04:46 +01:00
Vaxry e4527c6b60 use goalv in clientsRequest 2022-10-06 08:54:09 +01:00
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