54b0f59935
Always create a new widget for a keyboard and update it if already visible
2019-07-20 17:25:55 +02:00
dbc8cc14bc
Generate config.h
...
This allows us to remove a lot of #ifdef's. Either we want to use
a config.h or we don't. Since we'll want it for e.g. optional gsound
support later on let's have it.
2019-07-17 19:50:53 +02:00
373713ba54
ServerContextService: Don't destroy widget all the time
...
This avoids icon theme lookups and lots of other stuff down the road.
Closes : #60
2019-07-17 17:16:35 +02:00
07d6e3a0f2
ServerContextService: Don't use gtk_widget_show_all
...
This gives children more flexibility without using `no_show_all`.
2019-07-17 17:14:42 +02:00
8dafad80b1
ServerContextService: Check for mapped/unmapped
...
Visible does not tell us if the widget is actually visible on the
screen.
2019-07-17 00:44:00 +02:00
93e9b2dde9
ServerContextService: Hide the widget instead of destroying it
...
This is quicker and makes sure we don't stack up surfaces.
2019-07-16 18:52:53 +02:00
95ef52fe42
ServerContextService: Remove more unused code
...
The whole visible/enable logic was disfunctional all the time.
What works is show_keyboard and hide_keyboard.
2019-07-16 18:47:55 +02:00
c638c40a09
ServerContextService: Drop everything depending on self->was_visible
...
This was never used so everything depending on it was dead code.
2019-07-16 18:47:55 +02:00
83d48d24ce
ServerContextService: Really destroy the main window
...
Otherwise layer surfaces keep piling up
2019-07-16 18:47:55 +02:00
d807e43929
ServerContextService: Drop unneeded code
...
The layer shell code handles parts of this and others are just
not needed on wayland.
2019-07-16 18:47:55 +02:00
0a112be956
ServerContextService: Show keyboard when everything else is set up
...
This avoids some flickering.
2019-07-16 18:47:55 +02:00
078efa2a6e
LayerShell: Set a proper namespace
2019-07-16 18:47:55 +02:00
ce7b398f7b
LayerSurface: Make exclusive zone identical to height
...
Othewise we hide content beneath the keyboard.
Closes : #53
2019-07-15 12:49:11 +02:00
4b92f205ef
Include extra space in the window object
2019-07-12 10:30:44 +00:00
2f1c1c2fb1
Remove unused variable and remove damage from botched rebase
...
- remove bounds it is not used.
- remove the g_clear_pointer, it does the same thing as the if-block
above, the were both there as the result of the merge, and it is
apparently easily overlooked
- cleanup after myself (FIXMEs)
2019-07-11 13:24:48 +02:00
b57e1ce660
Drop now unused theme_path
2019-07-10 15:39:16 +02:00
1ff1592f24
Merge branch 'master' into 'use_gresource'
...
# Conflicts:
# src/server-context-service.c
2019-07-10 11:35:40 +00:00
89aaf05aff
Some minor cleanups
2019-07-09 13:52:23 +02:00
2f87fd46fb
Improve codeflow
2019-07-09 13:50:14 +02:00
e04276ee38
Use properly typed and named variables for user_data
2019-07-09 13:46:44 +02:00
05c3061f08
Add some FIXME hints for future work
2019-07-09 13:41:20 +02:00
c33006bcbc
use g_clear_pointer with gtk_widget_destroy
...
brief, clear, idiomatic and grep friendly
2019-07-09 13:33:49 +02:00
b3e1d84e6c
Merge branch 'mem' into 'master'
...
Fix visibility-related bugs
See merge request Librem5/squeekboard!25
2019-07-08 21:25:27 +00:00
a944bf85b8
remove stray const (-Wdiscarded-qualifiers)
2019-07-08 09:20:17 +02:00
722d3d1ad4
Cleanups: fix deprecations
...
gtk_widget_get_root_window()
gdk_screen_get_monitor_at_window()
gdk_screen_get_monitor_geometry()
2019-07-08 08:39:16 +02:00
aba242301d
Use a gresource to store the css
...
This makes build / test faster since one can skip install. It's
also more obvious which file is being used.
2019-07-04 16:16:04 +02:00
3d1133cdb5
Fix memory corruption due to a wrong assumption
2019-07-04 07:48:46 +00:00
9e5629d1e0
Enable Wayland's virtual-keyboard protocol
...
This commit includes a little restructuring necessary for keeping wayland objects properly.
It doesn't fix broken modifier functionality yet.
2019-06-25 18:12:15 +00:00
e503e35b84
Rename squeak_ to squeek_ for consitency
2019-06-23 10:30:25 +00:00
02525056d6
Removed X11 header, added some clarifications
2019-06-22 16:20:03 +00:00
765c496068
Removed more unused stuff in context
2019-06-22 15:57:48 +00:00
d6feec8010
Removed d-bus paths from service class
2019-06-22 15:40:20 +00:00
f1fbb37547
Kill connection in context service
2019-06-22 15:31:08 +00:00
862cfdb55d
Showing and hiding
2019-04-05 18:36:25 +00:00
b065b16bf1
Use layer shell
2019-04-05 15:39:57 +00:00
8f71b010cc
settings: Removed custom settings schema
2019-03-22 15:52:35 +00:00
f2a90935a3
Make "visible" property per client instead of per context.
2012-04-24 18:38:32 +09:00
cee741eca0
Fix initial window size.
2012-04-24 12:48:35 +09:00
4a346211b8
Show tooltips.
2012-04-23 16:43:06 +09:00
ee0505c100
Add keyboard selection dialog to preferences.
2012-03-28 12:54:22 +09:00
32a1d23c2a
Simplify codebase.
...
* Drop clutter support.
* Unify eek-xkb into eek-xkl.
* Generate vapi from gir instead of gi.
2012-03-16 16:32:33 +09:00
aca9a4dcb6
Fix some mistakes.
2011-09-15 17:47:38 +09:00
953c35bdac
Change window strut when monitor changed.
2011-09-15 17:47:26 +09:00
0d93f31eea
Add window size constraint option in gsettings.
2011-09-02 18:18:47 +09:00
d4a78e5dc7
Suppress compile warnings.
2011-08-24 17:44:31 +09:00
e46a3f89ed
Add theme option in gsettings.
2011-08-23 17:49:43 +09:00
b7b4d68a9a
Fix fullscreen mode and D-Bus service entry.
2011-08-22 22:24:17 +09:00
74de8e5056
Fix clutter build.
2011-08-22 16:17:58 +09:00
9d88c1c5da
Fix memleaks; add doc comments.
2011-08-22 16:12:23 +09:00
bb85885e5d
Revamp server-client API.
2011-08-20 13:17:16 +09:00