Commit Graph

647 Commits

Author SHA1 Message Date
Eon S. Jeon
04eb5e6689 add install target to Makefile 2018-11-12 00:57:21 +09:00
Eon S. Jeon
abf1b0dfa2 update KWin script package entry point 2018-11-12 00:57:04 +09:00
Eon S. Jeon
576e1fcf8f code improvments without logic changes 2018-11-11 23:42:56 +09:00
Eon S. Jeon
1fed729432 Don't bind client signals if client is not managed 2018-11-11 23:31:31 +09:00
Eon S. Jeon
8acef25988 tslint.json: allow no conditional assignment 2018-11-11 23:30:42 +09:00
Eon S. Jeon
4f5e171627 add license notification to common.ts 2018-11-11 23:27:12 +09:00
Eon S. Jeon
3e910a1a1b enable TS strict checking and fix problems 2018-11-11 23:25:56 +09:00
Eon S. Jeon
4511563c6c remove unused isNew property 2018-11-11 21:45:05 +09:00
Eon S. Jeon
de84a7b364 code cleanup 2018-11-11 21:16:30 +09:00
Eon S. Jeon
8a4b81a914 floating window remembers its last floating position 2018-11-11 21:16:10 +09:00
Eon S. Jeon
5ee548a754 engine-driver separation 2018-11-11 17:47:28 +09:00
Eon S. Jeon
b4d565df3a focus cycling 2018-11-11 17:43:42 +09:00
Eon S. Jeon
80a6ee1f87 add extern.ts 2018-11-10 21:06:02 +09:00
Eon S. Jeon
708823de6a do not tile fullscreen windows 2018-11-10 21:00:08 +09:00
Eon S. Jeon
d899a1c0cf make tile layout work with numMaster = 0 2018-11-10 20:15:35 +09:00
Eon S. Jeon
284a6475fd fixed a bug caused by abusing ===
`===` also tests types, but Qt API simply doesn't convert everything into
native JS types. Thus the test was failing everytime.
2018-11-10 20:13:21 +09:00
Eon S. Jeon
58f1327538 implement floating mode 2018-11-10 19:50:32 +09:00
Eon S. Jeon
31e3f09a7d group input-related functions 2018-11-10 18:19:05 +09:00
Eon S. Jeon
2392ed123f implement per-layout input handler 2018-11-10 17:53:07 +09:00
Eon S. Jeon
2d6a4ea1c4 update Makefile
* add version to package file name
 * do NOT build package file by default
2018-11-10 17:17:27 +09:00
Eon S. Jeon
330fa9832f reformat engine.handleUserInput 2018-11-10 17:10:42 +09:00
Eon S. Jeon
1cba656922 simplify shortcut binding 2018-11-10 17:09:57 +09:00
Eon S. Jeon
f4d97de80c implement "Set Master" function 2018-11-10 16:59:18 +09:00
Eon S. Jeon
86b300748c remove unused input handler map 2018-11-10 16:45:53 +09:00
Eon S. Jeon
bab6f5cb5f removed unused maximization handling logic 2018-11-10 16:44:36 +09:00
Eon S. Jeon
3f08a45c79 independent layout implementation 2018-11-10 16:42:34 +09:00
Eon S. Jeon
bae27685bc code cleaning
alphabetically sort stuffs, if there are no other logical ways to organize them.
2018-11-10 16:28:03 +09:00
Eon S. Jeon
10fc9af348 handle maximization
Maximized windows will be forcefully resized to its intended tile size.

One little problem here is that any `client.geometryChanged` signals fired
before `workspace.clientMaximizeSet` are problematic. Any attempts to change
geometry during them will fail, and cause an infinite loop of `geometryChanged`
signal, which crashes KWin in the end.

Luckily, this problem can be avoided by simply limiting the number of
iteration.
2018-11-10 16:17:29 +09:00
Eon S. Jeon
4f34933ecf apply tslint and fix errors 2018-11-10 01:26:36 +09:00
Eon S. Jeon
38094b2861 filter out special clients in driver 2018-11-10 00:50:52 +09:00
Eon S. Jeon
69c3fd5c18 fix up/down keybinding
Up and down were reversed.
2018-11-09 23:30:36 +09:00
Eon S. Jeon
be341e1ccb convert to QML-based extension 2018-11-09 23:06:51 +09:00
Eon S. Jeon
1893b0fbe2 add Makefile and .gitignore 2018-11-09 20:45:24 +09:00
Eon S. Jeon
aed4f5d47e add metadata.desktop 2018-11-09 19:58:24 +09:00
Eon S. Jeon
3a0db8ea88 add another tutorial link to README 2018-11-09 19:29:36 +09:00
Eon S. Jeon
6bf9d78d06 implement basic key binding
- Need a lot more works
 - Untested(`KWin.registerShortcut` is unavailable in WM console)
2018-11-09 19:26:09 +09:00
Eon S. Jeon
5fd42a3880 add license notification to kwin.d.ts. 2018-11-08 14:38:16 +09:00
Eon S. Jeon
62bedd96d4 retire combine.sh 2018-11-08 00:08:41 +09:00
Eon S. Jeon
4f455d8e46 convert to typescript 2018-11-08 00:07:04 +09:00
Eon S. Jeon
77f3d34799 code organization
* alphabetically sort `engine` methods
 * renamd `engine` methods to group related methods
2018-11-07 00:43:06 +09:00
Eon S. Jeon
65372709f2 clean up debugging codes 2018-11-06 23:19:07 +09:00
Eon S. Jeon
0211db7ba1 add useful resources for development 2018-11-06 20:35:54 +09:00
Eon S. Jeon
72e4273f5d Move direct calls to KWin to driver 2018-11-06 20:29:25 +09:00
Eon S. Jeon
38340b00a3 remove unused "delayed" flag from manage 2018-11-06 17:22:29 +09:00
Eon S. Jeon
d33f647b65 connect Client signals only when the client is managed 2018-11-06 17:20:40 +09:00
Eon S. Jeon
0a4905baa2 Initial implementation 2018-11-06 15:38:22 +09:00
Eon S. Jeon
fde5461eb7
Initial commit 2018-11-06 15:35:53 +09:00