Newer
Older
Merge: 86bbd39 a7f5dbb
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-20
Merge upstream
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-20
Bump VERSION to reflect temporary release
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-20
Fix stray .reset ()
Merge: 1be316e 126f2a2
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-20
Merge upstream
Merge: 1852f86 1852f86
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-20
Merge upstream
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-20
Bump VERSION
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-20
Update NEWS for 0.9.5.92
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
Merge: 8495379 825d16b
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-19
Merge upstream
Merge: 825d16b c9b0a19
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-19
Merge in lp:~compiz-team/compiz-core/compiz-core.add_doc_for_decor
Merge: 41f088c c12c848
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-19
Merge lp:~compiz-team/compiz-core/compiz-core.distortion_fixes
Merge: b0a1b5e 3504586
Tim Penhey <tim.penhey@canonical.com> 2011-08-19
Merge lp:~thumper/compiz-core/fix-crash-on-event-source-cleanup
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-19
Fix some other places we were using priv->attrib incorrectly
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-19
Added comment explaining why we can't do that
Merge: 01d92ab b0a1b5e
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-19
Merge trunk
Tim Penhey <tim.penhey@canonical.com> 2011-08-19
Don't have a wrapped CompEventSource as there is a bug in the destruction code.
Tim Penhey <tim.penhey@canonical.com> 2011-08-19
Explicit constructors only make a difference when there is the ability to pass in a single argument.
Tim Penhey <tim.penhey@canonical.com> 2011-08-19
Header now says to create an unwrapped event source.
Tim Penhey <tim.penhey@canonical.com> 2011-08-19
Create an unwrapped CompEventSource.
Merge: ab71bc8 9f4cdd6
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-19
Merge
Merge: 9f4cdd6 a8d1bcd
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-19
Merge in ICCCM 4.1.4 support
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-18
Correctly support ICCCM Section 4.1.4
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-13
Don't damage the paint rectangle in normal resize mode (fixed valgrind warning)
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-13
Use priv->geometry rather than priv->attrib, since priv->attrib could be updated by XGetWindowAttributes
which is a synchronous operation
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-13
Don't check against the XWindowAttributes that are stored when sending resize
notfications, since they could have been updated synchronously with XGetWindowAttributes
and could be out of sync with the geometry last received from the server which is what
we need to process requests based on.
Fixes cases where plugins didn't get that geometry update because of this condition,
which caused bugs like distorted windows in opengl since the window matrices were
wrong
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-12
memset the active window history so that we aren't jumping on unitialized garbage
in the array of windows
Time Penhey <tim.penhey@canonical.com> 2011-08-12
Merge in flags change for dlopen () on debug builds (dlclosing () with valgrind
is a bit useless)
Time Penhey <tim.penhey@canonical.com> 2011-08-12
Merge in source reset change
Merge: 28cab1d e6cb461
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-12
Merge in GSettings CMake file change
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-10
Disable core-settings-schema too
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-08-10
Add option to disable GSettings schema generation
Ville Syrjala <syrjala@sci.fi> 2011-08-02
[PATCH] Don't unredirect overlay windows until we have set the new
bounding shape for the output window.
Unredirecting them before this time meant that they were stacked
underneath the overlay window and changing the bounding shape of
the output window would cause an expose event to be sent to
the overlay window causing a breif flicker as it redraws.
Unredirecting after this means that no expose event is sent because
the backing store is only set again after the bounding shape of the
output window has been changed
Merge: ceab806 f2b2dc4
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-29
Merge trunk
Merge: f2b2dc4 c9b0a19
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-29
Merge in doc for decor
Merge: 7347a7c 3bdb2ef
Andrea Azzarone <azzaronea@gmail.com> 2011-07-28
Merge in lp:~andyrock/compiz-core/fix-1309
Andrea Azzarone <azzaronea@gmail.com> 2011-07-27
If an argument to a strcmp function has an invalid value (null pointer, etc.) the behavior is undefined.
Merge: 3264985 4217940
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-27
Merge
Merge: a44844f 4bb1f70
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-27
Merge in gsettings schema generation
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-26
Use relocatable keys
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-26
Merge in gsettings schema generation
Scott Moreau <oreaus@gmail.com> 2011-07-14
Merge in default value change for obs
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Fix typo, also add files that are being copied into staging
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Bump VERSION
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Update NEWS for 0.9.5.0
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Revert "Update NEWS for 0.9.5.0"
This reverts commit a6e2ea3adf61e57bdcd4c5c957ce8e7223a9fb0b.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Revert "Bump VERSION"
This reverts commit bedeff5d74a2786dd2751fab9e48bf3f96b7790e.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Revert "Update NEWS for 0.9.5.0"
This reverts commit f37eda58232743ce28eb780075c1a4b73545a209.
Merge: 2804807 bedeff5
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Merge branch 'master' of git+ssh://git.compiz.org/git/compiz/core
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Bump VERSION
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Update NEWS for 0.9.5.0
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Bump VERSION
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Update NEWS for 0.9.5.0
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-14
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-13
Disable BUILD_KDE4 in the distcheck target for now as upstream KDE has moved
some header files around and this is breaking the build check
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-08
Merge: ee98496 e43159f
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-08
Merge in lp:~smspillaz/compiz-core/compiz-core.dist-buildsystem and turn
CTest on by default for everything
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-08
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-08
Drop support for bz2, add targets for release uploads, cleanup
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Add various fixes for distcheck, source distributions without a VCS
and non-C sources (eg python bindings where we can't do try_compile
because C and CXX are not in the enabled languages)
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Add a proper set of a release targets in the CMake buildsystem for all compiz
projects to use
make release-prep: generates NEWS ChangeLog and AUTHORS file
make distcheck: generates a tarball
make release-signoff: signs the tarball using the key in RELEASE_KEY and if
in a git repository, creates tags and branches for that
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Merge: 0550e09 b9d6583
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Merge in lp:~unity-team/compiz-core/compiz-core.fix_706918 and hook
PluginClassHandler tests into make test
Merge: a1268e2 7844ea3
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Merge in lp:~unity-team/compiz-core/compiz-core.fix_722830
Merge: f914d15 ab21ddc
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Merge in lp:~unity-team/compiz-core/compiz-core.fix_802373
Merge: faf527f 82a73b8
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Merge in lp:~smpillaz/compiz-core/compiz-core.fix_804683
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Revamp the unit tests, split into four separate tests, one for
implicit creation on get, one for construction, one for type names
and one for index sanity checking
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-07
Initialize index even if allocating the plugin class failed due to a buggy
base class
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-06
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-06
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-06
Split tests up into files, poke timer.cpp, make test-timer link to the tests
and enable CTest
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-06
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-05
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-05
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-05
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-05
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-05
Break the dependency between CompTimeoutSource and CompTimer
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-05
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-05
Further break the dependency of timers on screen
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-04
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-04
Avoid useless calls to ::stop (). Also put ::get_time after ::attach
because the source must always be attached before the monotonic
time can be retreived
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-07-04
Don't use clock_getttime () directly, as there are some cases where
that clock can run backwards and cause our timers to mess up. GLib
handles this case for us, use Glib::Source::get_time in that case
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-29
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-29
Add a more comprehensive dist target which detects running in
bzr, git, git with submodules and in no vcs and makes a tarball
no matter what and the right way
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-27
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-25
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-25
Abstract out CompPrivate storage from CompScreen so we can make it testable
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-24
Use priv->border instead of priv->input as the EWMH says that applications
which request to move their windows (through a normal ConfigureRequest)
should take into account the decoration extents and not the border extents.
Fixes LP#722830
Merge: d0f83cc 4d0f3bb
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-23
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-23
Fix double call to ::updateAttributes where raise on click is enabled and
grabbing a window to move it would also raise the window
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-23
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-23
Fix typo which caused docks to be stacked relative to override redirect windows
and unmapped windows or other docks when shuffling stacking to be below
fullscreen windows that are active
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-18
Add documentation for the decor plugin
Merge: 291627c 40849c0
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-18
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-18
Fix typo which caused decorations to be updated recursively because
CompWindow::resize () would always send fake resize notify events to
core which would then cause CompWindow::resize () to be called again
with no geometry change etc etc
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-17
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-17
Make ::get () return a new class instance and initialize the index
if it hasn't been done already for this particular kind of class.
Fixes LP#706918
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-16
Fix typo which caused decorations to be updated recursively because
CompWindow::resize () would always send fake resize notify events to
core which would then cause CompWindow::resize () to be called again
with no geometry change etc etc
Merge: 6fc939d 9dfc108
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-09
Fixes LP#795065
------------- This line and the following will be ignored --------------
modified:
src/window.cpp
unknown:
build/
po/compiz.pot
pending merges:
Sam Spilsbury 2011-05-25 Fix events going to frame windows when they sho...
Merge: 9e6c11d a282aba
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-09
Fixes LP#761616
------------ This line and the following will be ignored --------------
modified:
src/screen.cpp
src/window.cpp
unknown:
build/
po/compiz.pot
pending merges:
Sam Spilsbury 2011-05-25 Restore selected event masks already rather tha...
Merge: 79fe2cd 08828ed
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-09
Merge in lp:~unity-team/compiz-core/compiz-core.one_property_decor
Merge: 901d4a1 c6291da
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-09
Merge in ~unity-team/compiz-core/compiz-core.bits_and_pieces_2011_05_21
Merge: 2e57966 0545c16
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-09
Merge: 67e833c 32affe0
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-09
Merge: c6f456e a02b427
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-09
Merge: f3a1776 f3a1776
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-09
Redetect devices unconditionally when handling ConfigureNotify event. This fixes the case where an output was moved but outputChangeNotify is not called.
Merge: 2550d7e e6afcfd
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-01
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-06-01
Fix typo in initBellValue which stopped bell actions from working
Merge: 17a6530 b4d9e29
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-31
Merge: 763acbb 6e4da8c
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-31
Merge: b4d9e29 a9ac70d
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-31
Merge: 698db76 dd8ec2a
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-31
Fix some tray icons appearing at 1px, check the override redirect state
and window parent at unreparent and reparent time.
Merge: a39f7e3 a39f7e3
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-31
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-31
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-30
Ensure the switcher window is unmapped after the switcher goes away
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-30
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-28
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-28
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-28
Read the current override redirect state as the client may have
changed it while CreateNotify is being processed and thus
we could be reparenting and override redirect window.
Also ensure that when unreparenting windows that their
parent is still the wrapper window, otherwise
don't bother to reparent them back into the root
window, this will only cause trouble.
Fixes LP#767095
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-26
XSync right after configureXWindow in cases where we
need to immediately reorder the window stack.
This isn't a real fix, but at least fixes the following situation without
breaking the API and ABI
Windows stacked A, B, C
Plugin does: C->raise (), B->raise (), A->raise ()
Window list should read at this point: ... C, B, A ... (screen->windows ())
However, the output buffer hasn't been flushed at this point
so server side we will have A, B, C.
Now if a sneaky client tries to restack A above C, we will get the
ConfigureRequest for that, and instead of getting B, C, A like the client
expects, we'll actually get C, B, A.
The real solution is to have a list of windows last sent to the server
and a list of windows last recieved by it. That way plugins can
mess with the internal stack all they want, but when recieving
events for X as to the actual state of things, they can restack relative
to the server list.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-25
Fix events going to frame windows when they shouldn't
since the client is already unmapped and there is no
reason a huge frame window should block input when
the client is animating out anyways
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-25
Restore selected event masks already rather than using hardcoded ones
Fixes LP #761616 where edge buttons wouldn't work because we'd select
for button events and then they wouldn't get restored at all
Merge: 342ad2f 3ea8ae7
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-20
Use CMAKE_PREFIX_PATH when searching for libraries.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-08
Add hack to allow the KDE4 Window decorator to work correctly with the new
decoration interface, until KDE4 Window decorator is re-written to allow
for decoration lists.
Note that this gives public access to KWD::Decorator, which is a bad thing.
The way this works is to create two separate frames for inactive and active
decoration, and when one property is written to update the other.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-08
Remove setting of "_COMPIZ_WINDOW_DECOR_NORMAL" put decorations with
state == ~DECOR_WINDOW_FOCUS in the default decorations list instead
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-08
Remove DECOR_NORMAL, just read all default decorations from a property
and match the state
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-08
Remove DECOR_NORMAL_ATOM_NAME, the API is now to put all default decorations
in a list in one property
Respect CMAKE_PREFIX_PATH and CMAKE_INCLUDE_PATH when searching for headers.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-08
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-08
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-08
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-07
Clean up type detection code, move into its own function
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-07
Check the actual decor properties on the window and not the default ones
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-07
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-07
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-07
Support different frame types, states and actions in frame properties
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-07
Support multiple frames and frames of different types, states, etc
in the decor plugin
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-07
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-07
Update API to allow multiple frames in one property (frame caching,
multiple default frame styles) and also to allow decorators to specify
in the frame property which window types, states and actions the frames
should apply to
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-04
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-04
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-04
Restack docks primarily when the focus changes to support cases where we
change viewports and dock windows need to be restacked even though the
window that we switched to wasn't restacked. Also support always-on-top
and fullscreen windows.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-03
Send a fake configure notify event when the window size doesn't change
on frame update since other plugins need to know when the client window
changed geometry.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-05-01
Fix stupid porting bug that allowed windows like emacs to resize themselves
off the edge of the screen
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Use premultiplied alpha in resize outline and border
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Check if ancestor to transient is allowed to have focus before granting focus
to it.
Some stupid apps like thunderbird unmap the transient parent before unmapping
the child, so compiz will get all confused and try to give focus to the
unmapped window
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Track windows on CreateNotify again, don't rely on trying to beat the race
condition by putting that on MapRequest, instead check at reparent time
if the window has already been reparented server-side and don't reparent it
again.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Set correct DISPLAY env when launching commands. Do not force :0
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Also take into account server border geometry when positioning
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Always take into account border geometry when calculating actual window size
since we make an XGetGeometry call and take into account the border when
comparing sizes there. Fixes resize bugs with xterm
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Release implicit grabs as soon as we handle events.
Implicit keyboard grabs which are created by the pressing and holding of a key
that was passively grabbed by XGrabKey are evil for a number of reasons.First
of all, there isn't any way to track them or to track which window they are
grabbed on so if a plugin makes an active grab and then releases it, the
passive grab is released on release, which means there is an inconsistency
between holding the key and having the grab. Secondly, if plugins actually
need a grab on all keys, they are better switching to an active grab
rather than relying on the passive one. Finally, if there is a passive grab by
another application by a key-modifier combo which has the same modifier mask
as the currently activated passive grab, then it means that this application
won't get its grab activated as long as the modifier is held down.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Also check match options before defaulting to global option
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Don't ignore the match value when setting centered on xkbevent
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-04-30
Always monitor key events even when window isn't grabbed
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-23
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-23
Don't treat synthetic UnmapNotify the same as the real UnmapNotify
ICCCM section 4.1.4 says that applications need to send us a synthetic
UnmapNotify to tell us that the window has been withdrawn in all cases
to cover the case where a window is already unmapped and then withdrawn.
In this case we should handle the UnmapNotify as a request to withdraw
the window, but we should only handle the *real* UnmapNotify request
as a request to actually process the window being unmapped and withdraw
it there, rather than processing both twice and withdrawing the window
twice
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-22
Revert "If an unexpected window gets focus (e.g. by a client calling XSetInputFocus directly), make sure that moving the input focus to a default window still works when that window is closed."
This reverts commit 1fb701594b78e950c031974d83c3566d1d648156.
There are some problems created by this commit, reverting for now until they
can be evauluated
Conflicts:
src/event.cpp
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-18
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-18
Only set w->unmanaging if the window was actually managed
84a27e08e8e2f6c3a70ee7966624411e0e330db4 to master Forward port
Merge: 0b2ed28 08ba72d
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-18
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-18
If the root window gets focus, unset activeWindow before calling focusDefaultWindow to make sure the latter really focusses another window.
Forward port 33f695e7c6e4fb8ac627df0978fea7771fe1b3d5 to master
If an unexpected window gets focus (e.g. by a client calling XSetInputFocus directly), make sure that moving the input focus to a default window still works when that window is closed.
556b681adaab3fe27fa456037be82e902dd371be to master Forward port
Don't grant focus to override_redirect windows. Most other window managers don't even track override_redirect windows, so applications relying on the focus being granted to override_redirect windows are broken anyway.
Forward port 30a92d8a060d79181a28840d7c66428ef431200c to master
Don't let focus stay on the root window. It may happen that the root window is focussed, e.g. by some client calling XSetInputFocus with the root window as target. As that most likely isn't what the user wants, focus the default window instead.
Forward port a9a35b6034517404b0c3ed4296f0c33d7d8d1d11 to master
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-18
Make sure that window has the correct parent on unmanagement.
Reparenting the window will cause an UnmapNotify to be sent whcih will cause
us to unreparent the window and reparent it into the root window. In the case
where the application wanted to reparent a toplevel window we need to make
sure that we put the window back in the parent where the client actually requested it to go when we get the ReparentNotify
Rob Taylor <rob.taylor@codethink.co.uk> 2011-03-16
If there's a sesion manager, ask it to always restart compiz.
Rob Taylor <rob.taylor@codethink.co.uk> 2011-03-16
CompOption::Class had virtual functions without a virtual destructor. That's usually bad.
Rob Taylor <rob.taylor@codethink.co.uk> 2011-03-16
Region type in x is typedef struct _XRegion *Region. That means returning a const Regsion makes no sense - that's setting the returned pointer to const.
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-16
Also remove windows from createdWindows list if they were reparented into
something else
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-15
Reflect difference between actual input frame geometry and border extents
in the core API
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-13
Process changes to edge windows when skipping events on pointer warp
There's a condition that can happen where we skip the events generated by
XWarpPointer and this causes the edge window reference to stay on the same
window, which is a problem when using edges since certain button bindings
would stop working. The new behaviour is to always update the edge window
reference whenever processing enter and leave events caused by pointer
warps
Merge: f777234 011a611
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-12
Merge branch 'master' of git+ssh://git.compiz.org/git/compiz/core
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-12
Add support for a "focus on switch" option which toggles whether or not
the window should appear focused when switching between windows
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-12
Don't trash the pixmaps of windows that were hidden but don't have mapNum == 0 since that case only
happens where windows are actually closed or unmanaged
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-12
Don't need to modify priv->width, priv->height since those are representative of the server side
window and not the pixmap size
Sam Spilsbury <sam.spilsbury@canonical.com> 2011-03-11
Don't unreparent the window until plugins are finished with animations
and such (eg, not while an unmap reference is held) and don't dump
the pixmap of the window if it is resized and unreparented and the plugins
hold a reference to it