Commit Graph

89 Commits

Author SHA1 Message Date
Olaf Schulz 7cf5e02407 Fix issue in keysend (c function).
The issue was: Keys like XK_Backspace and XK_Enter sends the wrong keys.
Reason: gdk_keymap_get_entries_for_keyval return multiple combinations
of keycodes, i.e XK_Enter returns
(key=36, modifier=0) [Enter], [Mod4]+p,
(key=55, modifier=32) [Mod4]+p,
(key=55, modifier=33) [Mod4]+[Shift]+p

The latest version is returned, but collides with this 'bugfix':
'if( keymod.modifiers == 33 ) keymod.modifiers = 0;'

Solution:
Return first version (36, 0). Moreover the 'bugfix' is commented out,
but this had to recheck on several systems.
2017-11-17 17:19:25 +01:00
Olaf Schulz 077fc067d7 Add build target for windows. (This only build a very striped version\!) 2017-11-17 16:56:34 +01:00
Olaf Schulz 40bc020add Propagate shared asset folder from Makefile
and fix error in automatic search of asset folder.
2017-11-12 17:55:30 +01:00
Olaf Schulz f1719e90fe Replace deprecated usages of Gtk.Stock and Gtk.ImageMenuItem 2017-11-12 17:18:57 +01:00
Olaf Schulz 5d49593858 Bugfixes and remove of deprecated warnings.
- Makefile: Do not rebuild app for install target
- Show/Hide-Bug: Prevent window position at screen center in i3-wm.
- Set parent window option of about dialog.
- Switch from Gtk.VBox to Gtk.Box.
- Switch from Gdk.x11_get_default_xdisplay() to Gdk.X11.get_default_xdisplay()
- Switch from Gdk.x11_get_default_root_xwindow() to Gdk.X11.get_default_root_xwindow()
2017-11-12 12:59:17 +01:00
Olaf Schulz 93636f251e Update 2017
• Änderung des Namens der Konfigurationsdatei:
  .neo_layout_viewer.conf => neo_layout_viewer.conf
  (Da sie standardmäßig im '.config'-Verzeichnis erstellt wird, braucht
  sie nicht „doppelt“ versteckt werden.)
• Bugfix Icon-Pfad von Indicator-Applet war irrtümlich fixiert und wird
  nun aus dem Asset-Pfad abgeleitet.
• Neben ./asset wird nun auch ../asset als möglicher Standort für die
  Grafiken angenommen.
• Info-Popup: Zeigt nun an, welche Config-Datei geladen wurde.
• Makefile baut neues Binary nur noch bei geänderten Sourcen oder geänderten
  Umgebungsvariablen.
• Info-Popup: Zeigt git-commit id an.
2017-11-12 02:52:38 +01:00
Olaf Schulz 1c596d250a Fix typos. 2016-07-13 01:08:07 +02:00
Olaf Schulz fb6ddb0aaa Merge branch 'master' of github.com:YggdrasiI/NeoLayoutViewer 2015-01-10 22:07:05 +01:00
Olaf Schulz 246bd2457b Add gtk window hint. This info is useful for tiling window managers. 2015-01-10 22:06:24 +01:00
Olaf S. 0cfbd94dc5 Update README.md
Minimal readme changes.
2015-01-10 22:01:38 +01:00
Olaf Schulz 3ba5117e83 Bugfixes:
• Die virtuelle Tastatur funktioniert jetzt wieder für alle Ebenen.
 Vorher gab es ein Problem auf der ersten Ebene, bei dem als
 Modifier-Maske 33 ausgewählt wird, obwohl sie 0 sein müsste. Dieser
 Fehler tritt aber nur auf, wenn das Neo-Layout aktiviert war. Als
 Workaround wird nun die Maske 33 auf 0 gemappt.
• Die Konfigurationsdatei wurde jetzt nicht mehr mehrfach angelegt. Es gibt drei
Standardpfade unter denen die Konfiguration gesucht wird. Durch Wahl der
falschen Vergleichsvariable wurde die Konfigurationsdatei
.neo_layout_viewer.conf aber nur im aktuellen Verzeichnis gesucht.
2014-06-08 17:36:56 +02:00
Olaf Schulz ebd8855c49 Update .gitignore 2013-12-09 14:26:34 +01:00
Olaf Schulz 68b1d82a21 Merge branch 'master' into refactoring
Conflicts:
	src/config-manager.vala
	src/main.vala
	src/neo-window.vala
	src/unique.vala
2013-12-09 14:26:02 +01:00
Olaf Schulz 6d21425b4c Swap selected build types between all and release target 2013-12-09 02:07:25 +01:00
Olaf Schulz 99c33107d2 Anpassung des READMEs 2013-12-09 02:00:01 +01:00
Olaf Schulz 95b8c9a708 Add install and unistall option to Makefile 2013-12-09 00:32:12 +01:00
Olaf Schulz ce2b307cae Add system wide search for config file and asset folder. This is
a preparation for the install option in Makefile.
2013-12-08 02:35:03 +01:00
Olaf Schulz 883b24176d • Change startup beheaviour of the application:
If a second instance will be started the window of the first instance
	will be toggled (and not shown). Now, it's possible to map the
	toggle-window shortcut on the same key binding as the
	(external) application start.
• Add new config file option: show_on_startup
2013-12-08 01:09:00 +01:00
Olaf Schulz 012c3277fc Change some annotations 2013-12-07 14:19:54 +01:00
Olaf S. feb21acabc Update Spelling in Readme.md 2013-11-20 19:21:52 +01:00
rixx da8a5a20ca formatting all the way 2013-09-18 20:32:40 +02:00
rixx a332a40df7 added gitignore to exclude swap files and files generated by make 2013-09-18 10:16:14 +02:00
rixx 95acba5ec5 updated Readme so it looks better in Markdown 2013-09-18 00:19:53 +02:00
rixx 59bf6188b7 removed unused code 2013-09-18 00:16:37 +02:00
Olaf Schulz e0b870e32f Update README and install instructions. Fix compiling error for older vala versions <0.16 2013-09-17 22:59:44 +02:00
Olaf S. 876b20e77b Merge pull request #2 from rixx/master
Fix für Workaround, plus Archlinux-Bugfix
2013-09-17 13:02:48 -07:00
rixx 2e2b68e197 Merge branch 'master' of github.com:rixx/NeoLayoutViewer
Conflicts:
	Makefile
2013-09-14 09:58:54 +02:00
rixx de08ec4738 Updated readme to exclude old workaround 2013-09-13 20:41:37 +02:00
rixx 5325595aa4 removed commented code from neo-window.vala 2013-09-13 20:22:53 +02:00
rixx aaf64e2287 added myself to authors 2013-09-13 20:14:48 +02:00
rixx 543d7df500 added Arch Linux bugfix and includes for gcc to replace workaround requiring changes in /usr/include/…
workaround for Arch Linux error - libgee-1.0 has its header still in /usr/include/gee-0.8
2013-09-13 20:12:27 +02:00
rixx 202e795644 fixed makefile syntax 2013-09-13 19:36:07 +02:00
rixx d694b2be77 workaround for Arch Linux error - libgee-1.0 has its header still in /usr/include/gee-0.8 2013-09-13 19:32:12 +02:00
rixx 50aa1e3711 removed now superflous config.h 2013-09-13 19:24:46 +02:00
rixx caae88381f next try, giving the necessary defines to gcc directly 2013-09-13 19:19:09 +02:00
rixx 42708d2458 put definitions in separate header file 2013-09-13 19:13:05 +02:00
rixx 2832020464 hopefully removing the XK_* workaround forcing you to change things in /usr/include/… 2013-09-13 19:05:43 +02:00
Olaf Schulz c4b8397f37 Fix spelling errors 2012-11-02 21:29:49 +01:00
Olaf Schulz 54971f58ab Add missing file. 2012-11-02 18:56:29 +01:00
Olaf Schulz 7c2aa5d4ef Add indicator menu for gnome 3. The Makefile contains now
a flag to select the desired icon type: none, tray (for gnome 2.x) or
indicator (for gnome 3.x).
2012-11-02 18:53:56 +01:00
Olaf Schulz c0e4b6c1f8 Switch to Gdk-3.0. Virtual keyboard functionality does not work anymore. 2012-11-01 22:40:54 +01:00
Olaf Schulz 8d4e988f39 Fix KeybindingManager issues after update on gdk 3.0 2012-11-01 20:41:15 +01:00
Olaf Schulz d62c9fb9fd Update dependencies list 2012-11-01 14:40:50 +01:00
Olaf Schulz 7b836018c5 Update to gtk 3.0. 2012-11-01 13:57:52 +01:00
Olaf Schulz 9bb3f14dfe It compiles under gtk3.0 but global shortcuts does not work. 2012-11-01 12:34:07 +01:00
Olaf Schulz d6a7a90644 Add -lm to compiler options. This and the previous commit
fixes the issues of
https://github.com/YggdrasiI/NeoLayoutViewer/issues/1
.
2012-08-14 15:55:37 +02:00
Olaf Schulz c1de4f1e16 Fix bugs for new vala version (not finished). 2012-08-14 15:29:57 +02:00
YggdrasiI bd6d28b993 Update README 2011-11-17 23:06:18 +01:00
YggdrasiI 38e5f24021 Update README 2011-10-31 22:03:42 +01:00
Olaf Schulz 64620df692 Limit number of application instances to one. Show first application window, if second instance is started. 2011-10-23 03:48:20 +02:00