Jasper St. Pierre
cac660a5bc
frames: Remove shape_applied
...
It's also unused.
2015-01-01 11:42:20 -08:00
Jasper St. Pierre
dcce4e64bc
frames: We don't need to pass in the frame rect to get_bounds either
...
The MetaFrameGeometry already has this information.
2015-01-01 11:42:13 -08:00
Emmanuele Bassi
847e3a2c55
build: Drop ad hoc gitignore generation rules
...
Instead, include Makefile.am.gitignore.
2015-01-01 19:40:18 +00:00
Emmanuele Bassi
7bfd62f755
build: Fix up gitignore generation rules
...
Use more sources, and allow adding files to the ignore list when
including Makefile.am.gitignore.
2015-01-01 19:39:33 +00:00
Jasper St. Pierre
4d3511649b
frames: Don't pass the frame rect into get_mask
...
We can query it directly.
2015-01-01 11:19:35 -08:00
Jasper St. Pierre
d4ea2bbd9c
frames: Don't pass the width/height as separate args to get_client_rect
...
We already have them in the fgeom.
2015-01-01 11:04:11 -08:00
Jasper St. Pierre
f303ec2eaa
core: Remove META_CORE_GET_FRAME_WIDTH / HEIGHT from documentation
...
It messes up my autocomplete.
2015-01-01 09:23:03 -08:00
Emmanuele Bassi
8d6cab0e71
Ignore automake droppings
2015-01-01 15:18:43 +00:00
Emmanuele Bassi
506f2c4431
Remove unused pointer
...
The PangoContext has been moved into ClutterActor.
2015-01-01 15:16:40 +00:00
Emmanuele Bassi
1b9650da38
Remove global "actor id"
...
It's absolutely, positively pointless. Every surviving call has long
since been deprecated, and should have not been public in the first
place.
2015-01-01 15:10:54 +00:00
Emmanuele Bassi
abda3ee4ce
Improve debugging notes for main loop start/stop
...
This way, we can track when we quit the main loop.
2015-01-01 15:09:23 +00:00
Emmanuele Bassi
5b9c6f49c4
Improve the warning message in clutter_main_quit()
...
If you call clutter_main_quit() without calling clutter_main()
[ South Park ski instructor]
You're going to have a bad time.
2015-01-01 15:07:19 +00:00
Emmanuele Bassi
eb51f6cf10
actor: Do not restore the easing state in finalize()
...
The easing state is part of the AnimationInfo structure, which is stored
inside the GObject's datalist. Each instance frees the data stored there
during finalization, so there is no point for us to restore an easing
state (which may or may not be the last one) just to have everything
cleared out once we chain up to GObject's own finalize() implementation.
2015-01-01 12:48:39 +00:00
Emmanuele Bassi
d930bdf3fc
stage: Use the symbolic constant for event handled
...
Clarifies the intent for everybody.
2015-01-01 12:45:11 +00:00
Emmanuele Bassi
2034e75658
Use the proper debug category
...
Backend-related notes should use the `BACKEND` category, not `MISC`.
2015-01-01 12:44:19 +00:00
Jasper St. Pierre
2ca4ed6b04
frames: Rename meta_frames_* to meta_ui_frame_* where appropriate
2014-12-31 22:52:50 -08:00
Jasper St. Pierre
a5ad89dd65
frames: Remove last_motion_frame
...
Nothing cares about it.
2014-12-31 22:46:48 -08:00
Jasper St. Pierre
4a4d724e59
frames: Remove dead declaration
2014-12-31 22:46:06 -08:00
Jasper St. Pierre
8fdbae192a
frame: Start converting over to direct usage of MetaUIFrame
2014-12-31 22:44:20 -08:00
Jasper St. Pierre
2413e672c8
frame: Put a MetaUIFrame* in our MetaFrame
...
This is a small start, but it lets us start to clean up this
UI split mess.
2014-12-31 22:43:00 -08:00
Jasper St. Pierre
c8432cc430
frames: Use an early return
...
To be more consistent with the rest of the code.
2014-12-31 22:43:00 -08:00
Jasper St. Pierre
015864da09
frames: Embed a pointer to MetaFrames inside MetaUIFrame
...
This removes the MetaFrames argument from our internal APIs.
2014-12-31 22:35:35 -08:00
Jasper St. Pierre
669c9da2a4
frames: Fix astonishing accidental pointer trickery
...
Whenever we added a frame to the GHashTable, we added the frame itself
as the value, and a pointer to its storage of the frame window XID,
as the key.
When we iterated over the hash table, we actually looked up the
MetaUIFrame in the key, which might seem extraordinarily wrong, but
eagle-eyed viewers might notice that the XID is the first field in
MetaUIFrame, so the key and value are actually the same pointer.
Changing the layout of MetaUIFrame at all causes this to go haywire,
so let's not do this and simply put the MetaUIFrame in the value,
as expected.
2014-12-31 22:35:35 -08:00
Jasper St. Pierre
4d1d8e831e
frames: Revert the logic here when the frame type updates
...
When the frame type updates, we were doing something funky that
caused us to reset the title used for the text layout here. I can't
really think of any place that it would trigger, and in testing I
haven't hit this either, so let's just remove the fancy logic and
assert this.
2014-12-31 22:35:30 -08:00
Jasper St. Pierre
9e199e6350
frames: Pass MetaFrameType into ensure_layout
...
All the callers already have it, so don't make us fetch it again.
2014-12-31 22:35:29 -08:00
Jasper St. Pierre
4673d8f245
theme: Remove flags argument from get_frame_layout
...
It's unused.
2014-12-31 22:35:29 -08:00
Jasper St. Pierre
90111c03a1
Only poke the frames UI code from inside frame.c
...
Add frame.c wrappers for the missing calls, then adapt.
2014-12-31 22:35:29 -08:00
Jasper St. Pierre
23681800d9
frame: Remove extra argument from sync_to_window
2014-12-31 22:35:29 -08:00
Jasper St. Pierre
b47afe89d3
ui: We now always have a theme
2014-12-31 22:35:29 -08:00
Jasper St. Pierre
af7f51b992
x11: Change the iconcache / window icons to being cairo surfaces
...
This simplifies the drawing codepath and makes us able to delete
a bunch of GdkPixbuf manipulation.
2014-12-31 21:11:21 -08:00
Jasper St. Pierre
f3d30d897f
window: Refactor the default image lookup
2014-12-31 20:48:32 -08:00
Jasper St. Pierre
dcc4ce4ff4
core: Remove META_CORE_GET_ICON
...
It's unused.
2014-12-31 20:06:17 -08:00
Jasper St. Pierre
b9fb4a5887
backend: Use a GHashTable for device monitors
...
The array code has been tricky to maintain and leaky. Let's just use a
GHashTable to simplify our lives.
2014-12-31 08:53:57 -08:00
Jasper St. Pierre
d9985cd9bc
libmutter: Only export meta_* symbols in the library
...
We also need ag_* symbols for testasyncgetprop.
2014-12-29 17:59:37 -08:00
Jasper St. Pierre
6e3f7b7ddc
Update POTFILES.in
2014-12-29 17:47:29 -08:00
Jasper St. Pierre
2dd1f37820
Move the resizepopup to a compositor-side feature
...
This is the last big feature that requires X11 on Wayland, so let's just
trash it and make GNOME Shell reimplement it.
2014-12-29 17:44:41 -08:00
Jasper St. Pierre
57af975154
monitor-manager-dummy: Fill in connector_type
2014-12-29 17:15:23 -08:00
Jasper St. Pierre
c5940580ed
monitor-manager: Use connector_type instead of name sniffing
2014-12-29 17:15:23 -08:00
Jasper St. Pierre
8296d4cdce
monitor-config: Fix build
2014-12-29 17:15:23 -08:00
Piotr Drąg
bf9a00d5c9
Updated POTFILES.in
2014-12-30 02:12:24 +01:00
Jasper St. Pierre
c1db9d9181
monitor-config: Replace output name heuristics with connector_type
...
It's more difficult to replace the MetaOutputKey usage, so just
do this for now.
2014-12-29 16:46:06 -08:00
Jasper St. Pierre
9d2cd8ff87
monitor-config: Use existing key_is_laptop
...
We already have this code elsewhere.
2014-12-29 16:41:13 -08:00
Jasper St. Pierre
d514e8ab41
monitor-manager: Add a connector-type property
...
This is so gnome-settings-daemon
2014-12-29 16:30:54 -08:00
Rico Tzschichholz
44a60eb7e9
doc: Fix make dist
2014-12-29 19:38:49 +01:00
Florian Müllner
6b92b45021
theme: Move the layout we save closer to GTK+'s model
...
With support for the old metacity theme format gone, there's no
reason to keep storing theme information in terms of the old theme
properties. Just store the padding/border information for each
element directly.
https://bugzilla.gnome.org/show_bug.cgi?id=741917
2014-12-29 08:55:08 -08:00
Florian Müllner
ee461b5495
theme: Remove MetaFrameStyle/MetaFrameStyleSet
...
MetaFrameStyle now only holds a MetaFrameLayout, so we can cut out
the middle man and use the layout directly. And as we are already
using a single style/layout per frame set and handle frame state
and focus by setting appropriate style flags, MetaFrameStyleSet
is pointless too - just store one MetaFrameLayout per frame type
directly in the theme.
https://bugzilla.gnome.org/show_bug.cgi?id=741917
2014-12-29 08:55:08 -08:00
Florian Müllner
46f3eb0b71
theme: Remove MetaFrameResize
...
Really, styling windows differently based on how they can be resized
is over the top ...
https://bugzilla.gnome.org/show_bug.cgi?id=741917
2014-12-29 08:54:57 -08:00
Florian Müllner
ef32899b4d
frames: Rename layout to text_layout
...
... to differentiate PangoLayout from MetaFrameLayout.
https://bugzilla.gnome.org/show_bug.cgi?id=741917
2014-12-29 08:46:37 -08:00
Florian Müllner
5e9db422c9
Remove all support for the metacity format
...
Rest in peace you magnificent format, love-child of arcane X11 drawing
API and markup craze, you will not be missed.
We do remember however the bravery of a many men and women, who fearlessly
descended into the guts of your intrinsics and turned ugliness into beauty;
their work will still be spoken of when you will long have been forgotten.
https://bugzilla.gnome.org/show_bug.cgi?id=741917
2014-12-29 08:46:37 -08:00
Florian Müllner
662dd6a289
theme: Use a singleton theme
...
Different themes don't make sense when we are always using the current
GTK+ theme for everything, so adapt the MetaTheme API to use a singleton.
https://bugzilla.gnome.org/show_bug.cgi?id=741917
2014-12-29 08:46:37 -08:00