Marcian Lytwyn
c43e467784
Merge GNUstep back with main trunk revision 38789
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@38797 72102866-910b-0410-8b05-ffd578937521
2015-07-14 22:36:43 +00:00
Marcian Lytwyn
6fe6cb74cc
Lets try to fix the last fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37855 72102866-910b-0410-8b05-ffd578937521
2014-05-07 21:05:38 +00:00
Marcian Lytwyn
0e941b80a5
Fix 'moldy' application icon image
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37854 72102866-910b-0410-8b05-ffd578937521
2014-05-07 20:45:54 +00:00
Frank Le Grand
1b82d912b5
Merged Trunk changes from rev 35217 to TestPlant branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36952 72102866-910b-0410-8b05-ffd578937521
2013-08-09 14:21:15 +00:00
Marcian Lytwyn
aae0f7748c
Merge back with main branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35813 72102866-910b-0410-8b05-ffd578937521
2012-11-21 20:53:22 +00:00
Wolfgang Lux
074b625584
Fix the brain-dead commits I made this morning.
...
Looks like I wasn't awake then ...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34595 72102866-910b-0410-8b05-ffd578937521
2012-01-19 21:37:35 +00:00
Wolfgang Lux
fce27ac4bd
Change order of atoms in client message; at least metacity seems to
...
ignore the _NET_WM_STATE_STICKY_ATOM otherwise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34590 72102866-910b-0410-8b05-ffd578937521
2012-01-19 09:44:50 +00:00
Wolfgang Lux
cc2cffa7e8
Add GS prefix to the names of the new user defaults.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34587 72102866-910b-0410-8b05-ffd578937521
2012-01-19 09:14:57 +00:00
Wolfgang Lux
8edd54c5fb
Introduce new user defaults to respectively make app icons and mini
...
windows sticky (aka omnipresent).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34586 72102866-910b-0410-8b05-ffd578937521
2012-01-19 09:05:09 +00:00
Fred Kiefer
3cc89b962e
Protect usage of shape extension.
...
Should fix bug #34552 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34016 72102866-910b-0410-8b05-ffd578937521
2011-10-17 11:28:54 +00:00
Eric Wasylishen
337ce46bba
* Source/win32/WIN32Server.m (-resolutionForScreen:):
...
Scale the result by 0.75 so the Windows default of 96 DPI is
mapped to the GNUstep default of 72 DPI. While this sounds wrong,
72 and 96 are just "virtual" DPI's; both mean 1 point = 1 pixel,
so it's actually the right thing to do.
* Source/x11/XGServerWindow.m (-resolutionForScreen:):
Comment out the implementation and just return 72 for now,
because I'm not sure if we can trust the value the X server
gives us.
NOTE: Currently -gui ignores these methods and only looks at the
GSScaleFactor user default. I'm going to make -gui use the server
values now, because it's safe to do so on Windows (the system
DPI is set by the user, and affects all applications.)
NOTE: We might consider refactoring these methods to be called
scaleFactorForScreen: to make it clearer what they do.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33658 72102866-910b-0410-8b05-ffd578937521
2011-07-30 20:39:10 +00:00
Eric Wasylishen
726d4a0801
* Source/x11/XGServerWindow.m: Add Xcursor support (for RGBA
...
imagecursor support.) configure test is still TODO, so it isn't
compiled in at the moment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33563 72102866-910b-0410-8b05-ffd578937521
2011-07-15 19:05:44 +00:00
Eric Wasylishen
1554a718dc
* Headers/x11/XGGeneric.h
...
* Source/x11/XGServerWindow.m: Add new netwm window state atoms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33549 72102866-910b-0410-8b05-ffd578937521
2011-07-14 19:09:17 +00:00
Wolfgang Lux
938f716f55
Enlarge protocol array to make space for the _NET_WM_SYNC_REQUEST
...
protocol atom.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33224 72102866-910b-0410-8b05-ffd578937521
2011-06-01 20:56:27 +00:00
David Chisnall
7d3d3852c9
Call NSZoneFree() on pointer allocated with NSAllocateCollectable(), not free(). This is a no-op in GC mode, and will free the memory in non-GC mode.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33148 72102866-910b-0410-8b05-ffd578937521
2011-05-27 13:53:57 +00:00
David Chisnall
1b26d9be44
Use NSAllocateCollectable() for some things that store pointers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33106 72102866-910b-0410-8b05-ffd578937521
2011-05-24 16:37:26 +00:00
Eric Wasylishen
5ece9220eb
* Source/x11/XGServerWindow.m:
...
* Source/x11/XGServer.m:
* Source/x11/XGServerEvent.m:
* Headers/x11/XGGeneric.h:
* Headers/x11/XGServerWindow.h:
* Headers/x11/XGServer.h:
Implement the _NET_WM_SYNC_REQUEST protocol described here:
http://standards.freedesktop.org/wm-spec/1.3/ar01s06.html
This is supposed to make window resizing smoother when dragging
a resize handle provided by the window manager, by waiting to
change the window manager's frame until the GNUstep window is
finished repainting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33045 72102866-910b-0410-8b05-ffd578937521
2011-05-15 08:37:44 +00:00
Fred Kiefer
0f82f1a833
Fixes warnings reported by clang.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32823 72102866-910b-0410-8b05-ffd578937521
2011-04-09 17:10:49 +00:00
Fred Kiefer
80eab30de7
Extract the bitmap conversion into a local function and use it througout the file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32643 72102866-910b-0410-8b05-ffd578937521
2011-03-18 09:29:01 +00:00
Fred Kiefer
8913452ffc
Change the way the image for the cursor gets passed on to the backend.
...
The old way could only work for 8 bit data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32492 72102866-910b-0410-8b05-ffd578937521
2011-03-07 19:45:20 +00:00
Fred Kiefer
5125141980
Implement the ne cursor backend methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32180 72102866-910b-0410-8b05-ffd578937521
2011-02-15 22:54:51 +00:00
Wolfgang Lux
f85e6a7f1d
Ooops, a closing parenthesis got lost in the last commit :-(
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32167 72102866-910b-0410-8b05-ffd578937521
2011-02-14 22:44:55 +00:00
Wolfgang Lux
ed986c30f8
Omit app icons and mini windows from the pager and task bar even when
...
they are displayed at normal window level.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32166 72102866-910b-0410-8b05-ffd578937521
2011-02-14 22:40:21 +00:00
Eric Wasylishen
282a590ad5
core/back: replace objc_{malloc/free} with malloc/free
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31629 72102866-910b-0410-8b05-ffd578937521
2010-11-18 20:28:15 +00:00
Fred Kiefer
82789ff26e
Fixed problems found by sttic code analyser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31326 72102866-910b-0410-8b05-ffd578937521
2010-09-11 14:00:35 +00:00
Eric Wasylishen
39c9297595
Handle horizontal scrolling in X11
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29532 72102866-910b-0410-8b05-ffd578937521
2010-02-10 07:36:36 +00:00
Wolfgang Lux
b4aead1b19
Revise detection of window miniaturization and deminiaturization based
...
on the ICCCM WM_STATE property and use _NET_WM_STATE only to avoid
generating bogus miniaturize events when using an emwh compliant
window manager. This makes the code more portable and allows
generating reliable window deminiaturize events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29283 72102866-910b-0410-8b05-ffd578937521
2010-01-14 22:27:03 +00:00
Richard Frith-MacDonald
fc841e8186
pply fix from Doug Simons
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29062 72102866-910b-0410-8b05-ffd578937521
2009-11-26 11:15:59 +00:00
Fred Kiefer
ca51d23b97
Don't return a static variable as the window device.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28975 72102866-910b-0410-8b05-ffd578937521
2009-11-08 16:14:53 +00:00
Wolfgang Lux
20d75aac56
Partially revert the (defunct) recent window miniaturization changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28930 72102866-910b-0410-8b05-ffd578937521
2009-11-01 12:55:52 +00:00
Thomas Gamper
1f84a6a21f
TG: Implement setMouseLocation:onScreen
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28898 72102866-910b-0410-8b05-ffd578937521
2009-10-27 18:42:33 +00:00
Richard Frith-MacDonald
d7dc549a3e
code for deminiaturisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28836 72102866-910b-0410-8b05-ffd578937521
2009-10-18 06:28:50 +00:00
Xavier Glattard
7e3dbdf741
OpenGL sub-windows: prevent back-store flush, handle expose events, and small fix/improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28036 72102866-910b-0410-8b05-ffd578937521
2009-03-04 09:58:41 +00:00
Richard Frith-MacDonald
8bb746dd57
minor fixes to compile with GC
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27843 72102866-910b-0410-8b05-ffd578937521
2009-02-11 08:45:56 +00:00
Wolfgang Lux
1101ab7f8f
Add an asterisk before the window's title if its document is edited
...
and the window manager is not capable of displaying the document's
status (i.e., any window manager other than Window Maker for now).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27821 72102866-910b-0410-8b05-ffd578937521
2009-02-08 23:04:34 +00:00
Richard Frith-MacDonald
e71618164d
Fix typo in method to set parent window of a child, optimise color handling in themes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Fred Kiefer
f99e97c43e
Implement new method -setPartentWindow:forChildWindow: for X and
...
Windows.
Adjust y coordinate of point in compositeGState:... for cairo. This
solves bug #24709 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27718 72102866-910b-0410-8b05-ffd578937521
2009-01-29 09:32:32 +00:00
Wolfgang Lux
993a5d976b
Set the WM protocols supported by a window according to its style
...
mask. This fixes an issue where an application could be deactivated
under Window Maker when a submenu is closed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27623 72102866-910b-0410-8b05-ffd578937521
2009-01-17 17:48:19 +00:00
Wolfgang Lux
8dddc6afcb
Fix for bug #24707 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27101 72102866-910b-0410-8b05-ffd578937521
2008-11-20 16:51:33 +00:00
Fred Kiefer
c6c8160a30
Correct code for double parent handling.
...
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26950 72102866-910b-0410-8b05-ffd578937521
2008-10-22 07:36:10 +00:00
Fred Kiefer
fc441f9bc5
Add missing window caching for minimized check.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26809 72102866-910b-0410-8b05-ffd578937521
2008-08-14 06:33:04 +00:00
Fred Kiefer
ff0796c5d4
Patch by Hubert Chathi <hubert@uhoreg.ca> to handle window minimization
...
on EWMH systems better.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26795 72102866-910b-0410-8b05-ffd578937521
2008-07-19 21:17:42 +00:00
Fred Kiefer
865a89a647
Disable new active window handling again, as it leads to flickering
...
windows on KDE 4.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26752 72102866-910b-0410-8b05-ffd578937521
2008-07-11 07:03:22 +00:00
Fred Kiefer
97d1847e6a
Better focus setting for EWMH window managers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26749 72102866-910b-0410-8b05-ffd578937521
2008-07-07 23:02:46 +00:00
Adam Fedor
250ebdfad0
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
Gregory John Casamento
8026904d7f
* Headers/x11/XGGeneric.h:
...
* Source/x11/XGServerWindow.m: Added code to automatically make
any window which uses the NSDesktopWindowLevel also be omnipresent.
This capability will be added as a style later.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26588 72102866-910b-0410-8b05-ffd578937521
2008-06-01 22:01:08 +00:00
Fred Kiefer
bec7259309
Try to avoid value flip in window border computation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26136 72102866-910b-0410-8b05-ffd578937521
2008-02-26 00:32:33 +00:00
Fred Kiefer
0f0191c547
Rework of context window device setting. Requires corresponding change
...
in gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25981 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:12:03 +00:00
Richard Frith-MacDonald
0f9d79fc58
Find offsets using off-screen windows unless GSBackChecksOffsetsOnScreen = YES
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25932 72102866-910b-0410-8b05-ffd578937521
2008-01-11 20:09:38 +00:00
Richard Frith-MacDonald
ff99e19fe9
Fixup coordinated of cursor hotpoint for MacOS-X compatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25631 72102866-910b-0410-8b05-ffd578937521
2007-11-29 11:34:41 +00:00