Commit Graph

216 Commits (ff1c19e0766946ff0b9b3ce4141eab0e9033d26c)
 

Author SHA1 Message Date
yo_waka 0a9372fc96 guard segfault 7 years ago
Timofey Lagutin 10ad0bc553
Fix event handling lag
On KDE 4 switching between virtual desktops results in a flood of `PropertyNotify` event: cef2ca36ee/tools/xremap/main.c (L56)

Coupled with the specified delay of 100ms in this file, and the fact that `KeyPress` event is handled last, it results in a 1+ second lag.

I don't know whether there's a justification for the existing, specific 100ms delay, but 1ms seem to be ok for me.
7 years ago
Takashi Kokubun f6918d8dde Explicitly specify Type=Simple 7 years ago
Takashi Kokubun 31491dd055 Drop unintentional setting from systemd example 7 years ago
Takashi Kokubun e1273c8158 Fix WantedBy to default.target
It should be so, if you use systemctl --user.
7 years ago
Takashi Kokubun 86399b3b12 Fix DISPLAY to be xenial's default 7 years ago
Takashi Kokubun cef2ca36ee Merge pull request #21 from hanachin/debug
Better error logging
7 years ago
Seiei Miyagi d0cc032922
Better logging
The error codes is defined in X11/X.h,
and request code is defined in X11/Xproto.h
7 years ago
Seiei Miyagi f1ece680c2
Output ClientMessage to help debug
In my environment, detected unexpected event is only ClientMessage.

```
% journalctl | grep 'unexpected event detected' | cut -d! -f2 | sort | uniq
 (33)
```
7 years ago
Takashi Kokubun 64eef405a6 Merge pull request #19 from hanachin/follow_parent
Make fetch_window_class look up the parent window if get WM_CLASS failed
7 years ago
Seiei Miyagi a9d8c0c7e7
Avoid goto loop 7 years ago
Seiei Miyagi df6194880f
Make fetch_window_class look up the parent window if get WM_CLASS failed
Some applications have the window without name, such as Firefox.

c.f.
> XGetInputFocus() returns an unnamed child window
> that every instance of Firefox has.
https://burrows.svbtle.com/universal-copy-paste-in-linux
8 years ago
Takashi Kokubun 2d3eefbf1e Merge pull request #17 from acro5piano/master
Fix cannot remap_keys when using "window focus follows the mouse"
8 years ago
gosho-kazuya beefa31976 add delay before fetch_active_window 8 years ago
Takashi Kokubun a1b6e10aa6 Update build information
I migrated from Arch to Ubuntu. Dropping Arch support for now.
8 years ago
Takashi Kokubun 6e8e1f2128 Rename xkremap to xremap 8 years ago
Takashi Kokubun ea34e7504e Improve window switcher example 8 years ago
Takashi Kokubun 0b5d09f5ab Version 0.0.3 8 years ago
Takashi Kokubun a393665b19 Add mruby-env to write config easily 8 years ago
Takashi Kokubun 668215b43f Don't kill children 8 years ago
Takashi Kokubun 2da50e2d68 Actually bison is used to build mruby too 8 years ago
Takashi Kokubun a3b99f1d0c Fix typo 8 years ago
Takashi Kokubun 1cc0ec2b3e Add CHANGELOG.md 8 years ago
Takashi Kokubun 2881a0cee9 Add include_config directive 8 years ago
Takashi Kokubun 167276f901 Allow building xkremap on darwin 8 years ago
Takashi Kokubun 11459966c7 Tiny refactoring around cflags 8 years ago
Takashi Kokubun 0121b84436 Note about build dependency 8 years ago
Takashi Kokubun 47fbcb8863 Fix typo in systemd service example 8 years ago
Takashi Kokubun 05a94a99df Merge pull request #3 from yaa/support-modifier-super
Support Super (Win) modifier key
8 years ago
YAA 7c6531508b Support Super (Win) modifier key 8 years ago
Takashi Kokubun d5ee4991c1 Merge pull request #1 from hanachin/patch-1
Fix typo
8 years ago
Seiei Miyagi 14c5eb6676 Update README.md 8 years ago
Takashi Kokubun 9347a6c34e Add documents for Arch Linux 8 years ago
Takashi Kokubun 4a506529fa Rejet flags properly 8 years ago
Takashi Kokubun a35f91fa27 Add make install 8 years ago
Takashi Kokubun f591242342 Write documentation 8 years ago
Takashi Kokubun f939c9020c Add macos example 8 years ago
Takashi Kokubun 668c553006 Refactor window switcher example 8 years ago
Takashi Kokubun 9ff4723693 Better logging to detect window class 8 years ago
Takashi Kokubun ea07739f6c Add shorthand for define_method 8 years ago
Takashi Kokubun 55e172e895 Allow shell command execution 8 years ago
Takashi Kokubun cb4f9b5cc4 Add Alt-n to slack example 8 years ago
Takashi Kokubun a158408826 Add emacs_like example 8 years ago
Takashi Kokubun 0b9600d1ea Experimentally add press and release DSL 8 years ago
Takashi Kokubun a37f2924a2 Compile modifiers more flexibly 8 years ago
Takashi Kokubun 58fd901c76 Add example of emacs binding 8 years ago
Takashi Kokubun de6aab92fd Implement window-specific remaps 8 years ago
Takashi Kokubun adb27362c7 Complete basic remap implementation 8 years ago
Takashi Kokubun a8de68d52a Define constants in X.h 8 years ago
Takashi Kokubun 560e51efb5 Define X11 keysym constants 8 years ago